@@ -2002,24 +2002,23 @@ void CodeGen::genBaseIntrinsic(GenTreeHWIntrinsic* node, insOpts instOptions)
2002
2002
2003
2003
// Store the vector to the temp location.
2004
2004
GetEmitter ()->emitIns_S_R (ins_Store (simdType, compiler->isSIMDTypeLocalAligned (simdInitTempVarNum)),
2005
- emitTypeSize (simdType), op1Reg, simdInitTempVarNum, 0 );
2005
+ emitTypeSize (simdType), op1Reg, simdInitTempVarNum, 0 );
2006
2006
2007
2007
// Set the desired element.
2008
- GetEmitter ()->emitIns_ARX_R (ins_Move_Extend (op3->TypeGet (), false ), // Store
2009
- emitTypeSize (baseType), // Of the vector baseType
2010
- valueReg, // From valueReg
2011
- (isEBPbased) ? REG_EBP : REG_ESP, // Stack-based
2012
- indexReg, // Indexed
2013
- genTypeSize (baseType), // by the size of the baseType
2014
- offs); // Offset
2015
-
2008
+ GetEmitter ()->emitIns_ARX_R (ins_Move_Extend (op3->TypeGet (), false ), // Store
2009
+ emitTypeSize (baseType), // Of the vector baseType
2010
+ valueReg, // From valueReg
2011
+ (isEBPbased) ? REG_EBP : REG_ESP, // Stack-based
2012
+ indexReg, // Indexed
2013
+ genTypeSize (baseType), // by the size of the baseType
2014
+ offs); // Offset
2015
+
2016
2016
// Write back the modified vector to the original location.
2017
2017
GetEmitter ()->emitIns_R_S (ins_Load (simdType, compiler->isSIMDTypeLocalAligned (simdInitTempVarNum)),
2018
- emitTypeSize (simdType), targetReg, simdInitTempVarNum, 0 );
2018
+ emitTypeSize (simdType), targetReg, simdInitTempVarNum, 0 );
2019
2019
break ;
2020
2020
}
2021
2021
2022
-
2023
2022
case NI_Vector128_GetElement:
2024
2023
case NI_Vector256_GetElement:
2025
2024
case NI_Vector512_GetElement:
0 commit comments