Skip to content
/ mono Public
forked from mono/mono

Commit

Permalink
Add support for OP_FCONV_TO_I to mini-arm64.c.
Browse files Browse the repository at this point in the history
Partial backport of mono#20100.

Also see:
dotnet/runtime#35008 (comment)
  • Loading branch information
imhameed committed Nov 4, 2020
1 parent a22ed3f commit 1100805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mono/mini/mini-arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -4175,6 +4175,7 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
arm_uxthw (code, dreg, dreg);
break;
case OP_FCONV_TO_I4:
case OP_FCONV_TO_I:
arm_fcvtzs_dx (code, dreg, sreg1);
arm_sxtwx (code, dreg, dreg);
break;
Expand Down

0 comments on commit 1100805

Please sign in to comment.