dotnet/runtime

[ARM32] Split CodeGen::instGen_Set_Reg_To_Imm into relocatable immediate/non-relocatable immediate cases

Open

#10,755 创建于 2018年7月23日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C# (5,445 fork)batch import
arch-arm32area-CodeGen-coreclrenhancementhelp wanted

仓库指标

Star
 (17,886 star)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

As suggested in https://github.com/dotnet/coreclr/pull/19013#discussion_r204171338 the next step complement to dotnet/coreclr#19013 should be splitting instGen_Set_Reg_To_Imm in src/jit/codegenarm.cpp into two separate functions:

  1. the one that accepts only relocatable immediate (as a BYTE* addr);
  2. another one that accepts non-relocatable immediate (as a target_ssize_t imm).

@BruceForstall Please feel free to add if I missed anything

category:implementation theme:emitter skill-level:beginner cost:small impact:small

贡献者指南