@@ -337,7 +337,7 @@ IRBuilderAsmJs::BuildSrcOpnd(Js::RegSlot srcRegSlot, IRType type)
337
337
{
338
338
StackSym * symSrc = m_func->m_symTable ->FindStackSym (BuildSrcStackSymID (srcRegSlot, type));
339
339
AssertMsg (symSrc, " Tried to use an undefined stack slot?" );
340
- IR::RegOpnd * regOpnd = IR::RegOpnd::New (symSrc, type, m_func);
340
+ IR::RegOpnd * regOpnd = IR::RegOpnd::New (symSrc, type, m_func);
341
341
342
342
return regOpnd;
343
343
}
@@ -5901,7 +5901,6 @@ IRBuilderAsmJs::BuildInt1Uint8x16_1Int1(Js::OpCodeAsmJs newOpcode, uint32 offset
5901
5901
5902
5902
void IRBuilderAsmJs::BuildUint8x16_2Int16 (Js::OpCodeAsmJs newOpcode, uint32 offset, BUILD_SIMD_ARGS_REG18)
5903
5903
{
5904
- IR::RegOpnd * dstOpnd = BuildDstOpnd (dstRegSlot, TySimd128U16);
5905
5904
IR::RegOpnd * src1Opnd = BuildSrcOpnd (src1RegSlot, TySimd128U16);
5906
5905
5907
5906
IR::RegOpnd * src2Opnd = BuildIntConstOpnd (src2RegSlot);
@@ -5921,6 +5920,8 @@ void IRBuilderAsmJs::BuildUint8x16_2Int16(Js::OpCodeAsmJs newOpcode, uint32 offs
5921
5920
IR::RegOpnd * src16Opnd = BuildIntConstOpnd (src16RegSlot);
5922
5921
IR::RegOpnd * src17Opnd = BuildIntConstOpnd (src17RegSlot);
5923
5922
5923
+ IR::RegOpnd * dstOpnd = BuildDstOpnd (dstRegSlot, TySimd128U16);
5924
+
5924
5925
IR::Instr * instr = nullptr ;
5925
5926
dstOpnd->SetValueType (ValueType::Simd);
5926
5927
src1Opnd->SetValueType (ValueType::Simd);
@@ -5959,9 +5960,9 @@ IRBuilderAsmJs::BuildAsmShuffle(Js::OpCodeAsmJs newOpcode, uint32 offset)
5959
5960
Assert (OpCodeAttrAsmJs::HasMultiSizeLayout (newOpcode) && newOpcode == Js::OpCodeAsmJs::Simd128_Shuffle_V8X16);
5960
5961
auto layout = m_jnReader.GetLayout <Js::OpLayoutT_AsmShuffle<SizePolicy>>();
5961
5962
5962
- IR::RegOpnd * dstOpnd = BuildDstOpnd (GetRegSlotFromSimd128Reg (layout->R0 ), TySimd128U16);
5963
5963
IR::RegOpnd * src1Opnd = BuildSrcOpnd (GetRegSlotFromSimd128Reg (layout->R1 ), TySimd128U16);
5964
5964
IR::RegOpnd * src2Opnd = BuildSrcOpnd (GetRegSlotFromSimd128Reg (layout->R2 ), TySimd128U16);
5965
+ IR::RegOpnd * dstOpnd = BuildDstOpnd (GetRegSlotFromSimd128Reg (layout->R0 ), TySimd128U16);
5965
5966
dstOpnd->SetValueType (ValueType::Simd);
5966
5967
src1Opnd->SetValueType (ValueType::Simd);
5967
5968
src2Opnd->SetValueType (ValueType::Simd);
@@ -5980,7 +5981,6 @@ IRBuilderAsmJs::BuildAsmShuffle(Js::OpCodeAsmJs newOpcode, uint32 offset)
5980
5981
5981
5982
void IRBuilderAsmJs::BuildUint8x16_3Int16 (Js::OpCodeAsmJs newOpcode, uint32 offset, BUILD_SIMD_ARGS_REG19)
5982
5983
{
5983
- IR::RegOpnd * dstOpnd = BuildDstOpnd (dstRegSlot, TySimd128U16);
5984
5984
IR::RegOpnd * src1Opnd = BuildSrcOpnd (src1RegSlot, TySimd128U16);
5985
5985
IR::RegOpnd * src2Opnd = BuildSrcOpnd (src2RegSlot, TySimd128U16);
5986
5986
@@ -6001,6 +6001,8 @@ void IRBuilderAsmJs::BuildUint8x16_3Int16(Js::OpCodeAsmJs newOpcode, uint32 offs
6001
6001
IR::RegOpnd * src17Opnd = BuildIntConstOpnd (src17RegSlot);
6002
6002
IR::RegOpnd * src18Opnd = BuildIntConstOpnd (src18RegSlot);
6003
6003
6004
+ IR::RegOpnd * dstOpnd = BuildDstOpnd (dstRegSlot, TySimd128U16);
6005
+
6004
6006
IR::Instr * instr = nullptr ;
6005
6007
dstOpnd->SetValueType (ValueType::Simd);
6006
6008
src1Opnd->SetValueType (ValueType::Simd);
0 commit comments