@@ -3802,14 +3802,6 @@ LowererMD::GenerateSmIntPairTest(
3802
3802
else
3803
3803
{
3804
3804
opndReg = IR::RegOpnd::New (TyMachReg, this ->m_func );
3805
- #ifdef SHIFTLOAD
3806
-
3807
- instr = IR::Instr::New (Js::OpCode::SHLD, opndReg, opndSrc1, IR::IntConstOpnd::New (16 , TyInt8, this ->m_func ), this ->m_func );
3808
- instrInsert->InsertBefore (instr);
3809
-
3810
- instr = IR::Instr::New (Js::OpCode::SHLD, opndReg, opndSrc2, IR::IntConstOpnd::New (16 , TyInt8, this ->m_func ), this ->m_func );
3811
- instrInsert->InsertBefore (instr);
3812
- #else
3813
3805
IR::Opnd * opndReg1;
3814
3806
3815
3807
// s1 = MOV src1
@@ -3845,7 +3837,7 @@ LowererMD::GenerateSmIntPairTest(
3845
3837
3846
3838
instr = IR::Instr::New (Js::OpCode::OR, opndReg, opndReg, opndReg1, this ->m_func );
3847
3839
instrInsert->InsertBefore (instr);
3848
- # endif
3840
+
3849
3841
opndReg = opndReg->UseWithNewType (TyInt32, this ->m_func )->AsRegOpnd ();
3850
3842
3851
3843
// CMP s1, AtomTag_Pair
@@ -6414,24 +6406,6 @@ void LowererMD::GenerateSmIntTest(IR::Opnd *opndSrc, IR::Instr *insertInstr, IR:
6414
6406
6415
6407
IR::Opnd * opndReg = IR::RegOpnd::New (TyMachReg, this ->m_func );
6416
6408
6417
- #ifdef SHIFTLOAD
6418
- // s1 = SHLD src1, 16 - Shift top 16-bits of src1 to s1
6419
- IR::Instr* instr = IR::Instr::New (Js::OpCode::SHLD, opndReg, opndSrc, IR::IntConstOpnd::New (16 , TyInt8, this ->m_func ), this ->m_func );
6420
- insertInstr->InsertBefore (instr);
6421
-
6422
- if (instrFirst)
6423
- {
6424
- *instrFirst = instr;
6425
- }
6426
-
6427
- // CMP s1.i16, AtomTag.i16
6428
- IR::Opnd *opndReg16 = opndReg->Copy (m_func);
6429
- opndReg16->SetType (TyInt16);
6430
- instr = IR::Instr::New (Js::OpCode::CMP, this ->m_func );
6431
- instr->SetSrc1 (opndReg16);
6432
- instr->SetSrc2 (IR::IntConstOpnd::New (Js::AtomTag, TyInt16, this ->m_func , /* dontEncode = */ true ));
6433
- insertInstr->InsertBefore (instr);
6434
- #else
6435
6409
// s1 = MOV src1 - Move to a temporary
6436
6410
IR::Instr * instr = IR::Instr::New (Js::OpCode::MOV, opndReg, opndSrc, this ->m_func );
6437
6411
insertInstr->InsertBefore (instr);
@@ -6450,7 +6424,7 @@ void LowererMD::GenerateSmIntTest(IR::Opnd *opndSrc, IR::Instr *insertInstr, IR:
6450
6424
instr->SetSrc1 (opndReg);
6451
6425
instr->SetSrc2 (IR::IntConstOpnd::New (Js::AtomTag, TyInt32, this ->m_func , /* dontEncode = */ true ));
6452
6426
insertInstr->InsertBefore (instr);
6453
- # endif
6427
+
6454
6428
if (fContinueLabel )
6455
6429
{
6456
6430
// JEQ $labelHelper
0 commit comments