File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1031,16 +1031,12 @@ let emit_reinterpret_cast (cast : Cmm.reinterpret_cast) i =
1031
1031
if distinct then (
1032
1032
DSL.check_reg Float src;
1033
1033
DSL.check_reg Float32 dst;
1034
- (* CR melse: I think this might be broken - maybe we need to do fmov dN,
1035
- dM without referring to single-precision registers? *)
1036
- DSL.ins I.FMOV [| DSL.emit_reg dst; DSL.emit_reg src |])
1034
+ DSL.ins I.FCVT [| DSL.emit_reg dst; DSL.emit_reg src |])
1037
1035
| Float_of_float32 ->
1038
1036
if distinct then (
1039
1037
DSL.check_reg Float32 src;
1040
1038
DSL.check_reg Float dst;
1041
- (* CR melse: I think this might be broken - maybe we need to do fmov dN,
1042
- dM without referring to single-precision registers? *)
1043
- DSL.ins I.FMOV [| DSL.emit_reg dst; DSL.emit_reg src |])
1039
+ DSL.ins I.FCVT [| DSL.emit_reg dst; DSL.emit_reg src |])
1044
1040
| V128_of_v128 ->
1045
1041
if distinct then (
1046
1042
DSL.check_reg Vec128 src;
You can’t perform that action at this time.
0 commit comments