Skip to content

Commit

Permalink
fix slag instruction (#107750)
Browse files Browse the repository at this point in the history
Co-authored-by: saitama951 <sanjamkumar360@gmail.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
  • Loading branch information
3 people committed Sep 12, 2024
1 parent c3cb3e3 commit c6d8192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-s390x.c
Original file line number Diff line number Diff line change
Expand Up @@ -3471,7 +3471,7 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
s390_srag (code, ins->dreg, ins->dreg, 0, 32);
break;
case OP_MOVE_I4_TO_F:
s390_slag (code, s390_r0, ins->sreg1, 0, 32);
s390_sllg (code, s390_r0, ins->sreg1, 0, 32);
s390_ldgr (code, ins->dreg, s390_r0);
break;
case OP_FCONV_TO_R4:
Expand Down

0 comments on commit c6d8192

Please sign in to comment.