@@ -3843,7 +3843,7 @@ void CodeGen::genSIMDIntrinsic(GenTreeSIMD* simdNode)
3843
3843
}
3844
3844
}
3845
3845
3846
- insOpts CodeGen::genGetSimdInsOpt (bool is16B , var_types elementType)
3846
+ insOpts CodeGen::genGetSimdInsOpt (bool is16Byte , var_types elementType)
3847
3847
{
3848
3848
insOpts result = INS_OPTS_NONE;
3849
3849
@@ -3852,20 +3852,20 @@ insOpts CodeGen::genGetSimdInsOpt(bool is16B, var_types elementType)
3852
3852
case TYP_DOUBLE:
3853
3853
case TYP_ULONG:
3854
3854
case TYP_LONG:
3855
- result = is16B ? INS_OPTS_2D : INS_OPTS_1D;
3855
+ result = is16Byte ? INS_OPTS_2D : INS_OPTS_1D;
3856
3856
break ;
3857
3857
case TYP_FLOAT:
3858
3858
case TYP_UINT:
3859
3859
case TYP_INT:
3860
- result = is16B ? INS_OPTS_4S : INS_OPTS_2S;
3860
+ result = is16Byte ? INS_OPTS_4S : INS_OPTS_2S;
3861
3861
break ;
3862
3862
case TYP_USHORT:
3863
3863
case TYP_SHORT:
3864
- result = is16B ? INS_OPTS_8H : INS_OPTS_4H;
3864
+ result = is16Byte ? INS_OPTS_8H : INS_OPTS_4H;
3865
3865
break ;
3866
3866
case TYP_UBYTE:
3867
3867
case TYP_BYTE:
3868
- result = is16B ? INS_OPTS_16B : INS_OPTS_8B;
3868
+ result = is16Byte ? INS_OPTS_16B : INS_OPTS_8B;
3869
3869
break ;
3870
3870
default :
3871
3871
assert (!" Unsupported element type" );
@@ -4090,9 +4090,9 @@ void CodeGen::genSIMDIntrinsicInit(GenTreeSIMD* simdNode)
4090
4090
assert (genIsValidFloatReg (targetReg));
4091
4091
assert (genIsValidIntReg (op1Reg) || genIsValidFloatReg (op1Reg));
4092
4092
4093
- bool is16B = (simdNode->gtSIMDSize > 8 );
4094
- emitAttr attr = is16B ? EA_16BYTE : EA_8BYTE;
4095
- insOpts opt = genGetSimdInsOpt (is16B , baseType);
4093
+ bool is16Byte = (simdNode->gtSIMDSize > 8 );
4094
+ emitAttr attr = is16Byte ? EA_16BYTE : EA_8BYTE;
4095
+ insOpts opt = genGetSimdInsOpt (is16Byte , baseType);
4096
4096
4097
4097
if (genIsValidIntReg (op1Reg))
4098
4098
{
@@ -4218,9 +4218,9 @@ void CodeGen::genSIMDIntrinsicUnOp(GenTreeSIMD* simdNode)
4218
4218
4219
4219
instruction ins = getOpForSIMDIntrinsic (simdNode->gtSIMDIntrinsicID , baseType);
4220
4220
4221
- bool is16B = (simdNode->gtSIMDSize > 8 );
4222
- emitAttr attr = is16B ? EA_16BYTE : EA_8BYTE;
4223
- insOpts opt = (ins == INS_mov) ? INS_OPTS_NONE : genGetSimdInsOpt (is16B , baseType);
4221
+ bool is16Byte = (simdNode->gtSIMDSize > 8 );
4222
+ emitAttr attr = is16Byte ? EA_16BYTE : EA_8BYTE;
4223
+ insOpts opt = (ins == INS_mov) ? INS_OPTS_NONE : genGetSimdInsOpt (is16Byte , baseType);
4224
4224
4225
4225
getEmitter ()->emitIns_R_R (ins, attr, targetReg, op1Reg, opt);
4226
4226
@@ -4260,10 +4260,10 @@ void CodeGen::genSIMDIntrinsicWiden(GenTreeSIMD* simdNode)
4260
4260
}
4261
4261
else
4262
4262
{
4263
- bool is16B = (simdNode->gtSIMDIntrinsicID == SIMDIntrinsicWidenHi);
4264
- insOpts opt = genGetSimdInsOpt (is16B , baseType);
4263
+ bool is16Byte = (simdNode->gtSIMDIntrinsicID == SIMDIntrinsicWidenHi);
4264
+ insOpts opt = genGetSimdInsOpt (is16Byte , baseType);
4265
4265
4266
- getEmitter ()->emitIns_R_R (ins, is16B ? EA_16BYTE : EA_8BYTE, targetReg, op1Reg, opt);
4266
+ getEmitter ()->emitIns_R_R (ins, is16Byte ? EA_16BYTE : EA_8BYTE, targetReg, op1Reg, opt);
4267
4267
}
4268
4268
4269
4269
genProduceReg (simdNode);
@@ -4388,9 +4388,9 @@ void CodeGen::genSIMDIntrinsicBinOp(GenTreeSIMD* simdNode)
4388
4388
4389
4389
instruction ins = getOpForSIMDIntrinsic (simdNode->gtSIMDIntrinsicID , baseType);
4390
4390
4391
- bool is16B = (simdNode->gtSIMDSize > 8 );
4392
- emitAttr attr = is16B ? EA_16BYTE : EA_8BYTE;
4393
- insOpts opt = genGetSimdInsOpt (is16B , baseType);
4391
+ bool is16Byte = (simdNode->gtSIMDSize > 8 );
4392
+ emitAttr attr = is16Byte ? EA_16BYTE : EA_8BYTE;
4393
+ insOpts opt = genGetSimdInsOpt (is16Byte , baseType);
4394
4394
4395
4395
getEmitter ()->emitIns_R_R_R (ins, attr, targetReg, op1Reg, op2Reg, opt);
4396
4396
@@ -4425,9 +4425,9 @@ void CodeGen::genSIMDIntrinsicRelOp(GenTreeSIMD* simdNode)
4425
4425
4426
4426
instruction ins = getOpForSIMDIntrinsic (SIMDIntrinsicEqual, baseType);
4427
4427
4428
- bool is16B = (simdNode->gtSIMDSize > 8 );
4429
- emitAttr attr = is16B ? EA_16BYTE : EA_8BYTE;
4430
- insOpts opt = genGetSimdInsOpt (is16B , baseType);
4428
+ bool is16Byte = (simdNode->gtSIMDSize > 8 );
4429
+ emitAttr attr = is16Byte ? EA_16BYTE : EA_8BYTE;
4430
+ insOpts opt = genGetSimdInsOpt (is16Byte , baseType);
4431
4431
4432
4432
// TODO-ARM64-CQ Contain integer constants where posible
4433
4433
@@ -4494,9 +4494,9 @@ void CodeGen::genSIMDIntrinsicDotProduct(GenTreeSIMD* simdNode)
4494
4494
4495
4495
instruction ins = getOpForSIMDIntrinsic (SIMDIntrinsicMul, baseType);
4496
4496
4497
- bool is16B = (simdNode->gtSIMDSize > 8 );
4498
- emitAttr attr = is16B ? EA_16BYTE : EA_8BYTE;
4499
- insOpts opt = genGetSimdInsOpt (is16B , baseType);
4497
+ bool is16Byte = (simdNode->gtSIMDSize > 8 );
4498
+ emitAttr attr = is16Byte ? EA_16BYTE : EA_8BYTE;
4499
+ insOpts opt = genGetSimdInsOpt (is16Byte , baseType);
4500
4500
4501
4501
// Vector multiply
4502
4502
getEmitter ()->emitIns_R_R_R (ins, attr, tmpReg, op1Reg, op2Reg, opt);
0 commit comments