[jit] Emit OP_FMOVE instead of OP_MOVE for r4 arguments in hard float mode on arm.
authorZoltan Varga <vargaz@gmail.com>
Tue, 5 Aug 2014 11:02:45 +0000 (13:02 +0200)
committerZoltan Varga <vargaz@gmail.com>
Tue, 5 Aug 2014 11:02:58 +0000 (13:02 +0200)
mono/mini/mini-arm.c

index eff7174271e83652930b6e7c3fdc9e8a5c6f6b32..7ae2f98a7ba5ad3049488f2d7ee482bbb2a34325 100644 (file)
@@ -2429,7 +2429,7 @@ mono_arch_emit_call (MonoCompile *cfg, MonoCallInst *call)
                                 */
                                float_arg->flags |= MONO_INST_VOLATILE;
 
-                               MONO_EMIT_NEW_UNALU (cfg, OP_MOVE, float_arg->dreg, in->dreg);
+                               MONO_EMIT_NEW_UNALU (cfg, OP_FMOVE, float_arg->dreg, in->dreg);
 
                                /* We use the dreg to look up the instruction later. The hreg is used to
                                 * emit the instruction that loads the value into the FP reg.