Fixing a call to emitIns_SIMD_R_R_AR_R to pass arguments in the correct order
authorTanner Gooding <tagoo@outlook.com>
Sat, 7 Jul 2018 20:02:32 +0000 (13:02 -0700)
committerTanner Gooding <tagoo@outlook.com>
Tue, 10 Jul 2018 00:12:25 +0000 (17:12 -0700)
src/jit/hwintrinsiccodegenxarch.cpp

index 8a006f8..7e5a981 100644 (file)
@@ -956,7 +956,7 @@ void CodeGen::genHWIntrinsic_R_R_RM_R(GenTreeHWIntrinsic* node, instruction ins)
         }
         else if (op2->OperIsHWIntrinsic())
         {
-            emit->emitIns_SIMD_R_R_AR_R(ins, simdSize, targetReg, op1Reg, op2->gtGetOp1()->gtRegNum, op3Reg);
+            emit->emitIns_SIMD_R_R_AR_R(ins, simdSize, targetReg, op1Reg, op3Reg, op2->gtGetOp1()->gtRegNum);
             return;
         }
         else if (op2->isIndir())