Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions src/coreclr/jit/emitarm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5614,8 +5614,6 @@ void emitter::emitIns_R_R_I(instruction ins,
isLdSt = true;
break;

case INS_ldapurb:
case INS_stlurb:
case INS_ldurb:
case INS_sturb:
// size is ignored
Expand All @@ -5633,9 +5631,7 @@ void emitter::emitIns_R_R_I(instruction ins,
break;

case INS_ldurh:
case INS_ldapurh:
case INS_sturh:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're here, could you please move these cases up to INS_ldurb/INS_sturb since they have the same behavior?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed. They indeed have the same issue but we never use them 🙂

case INS_stlurh:
// size is ignored
unscaledOp = true;
scale = 0;
Expand All @@ -5661,10 +5657,17 @@ void emitter::emitIns_R_R_I(instruction ins,
isLdrStr = true;
break;

case INS_ldur:
case INS_stur:
case INS_ldapurb:
case INS_ldapurh:
case INS_ldapur:
case INS_stlurb:
case INS_stlurh:
case INS_stlur:
fmt = IF_LS_2C;
break;

case INS_ldur:
case INS_stur:
// Is the target a vector register?
if (isVectorRegister(reg1))
{
Expand Down