Lines Matching refs:Src0
48 #define TestSetCC(C, Src0, Value0, Src1, Value1, Dest, IsTrue) \ in TEST_F() argument
52 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src0, Immediate(Value0)); \ in TEST_F()
54 __ cmp(IceType_i32, GPRRegister::Encoded_Reg_##Src0, \ in TEST_F()
66 << "(" #C ", " #Src0 ", " #Value0 ", " #Src1 ", " #Value1 ", " #Dest \ in TEST_F()
69 << "(" #C ", " #Src0 ", " #Value0 ", " #Src1 ", " #Value1 ", " #Dest \ in TEST_F()
678 #define TestImplRegReg(Inst0, Inst1, Dst0, Dst1, Value0, Src0, Src1, Value1, \ in TEST_F() argument
684 "(" #Inst0 ", " #Inst1 ", " #Dst0 ", " #Dst1 ", " #Value0 ", " #Src0 \ in TEST_F()
690 __ mov(IceType_i##Size, GPRRegister::Encoded_Reg_##Src0, \ in TEST_F()
695 GPRRegister::Encoded_Reg_##Src0); \ in TEST_F()
776 #define TestImplAddrReg(Inst0, Inst1, Value0, Src0, Src1, Value1, Op, Size) \ in TEST_F() argument
781 "(" #Inst0 ", " #Inst1 ", Addr, " #Value0 ", " #Src0 ", " #Src1 \ in TEST_F()
787 __ mov(IceType_i##Size, GPRRegister::Encoded_Reg_##Src0, \ in TEST_F()
792 GPRRegister::Encoded_Reg_##Src0); \ in TEST_F()
842 #define TestImplOp(Inst0, Inst1, Dst0, Dst1, Value0, Src0, Src1, Value1, Op, \ in TEST_F() argument
845 TestImplRegReg(Inst0, Inst1, Dst0, Dst1, Value0, Src0, Src1, Value1, Op, \ in TEST_F()
849 TestImplAddrReg(Inst0, Inst1, Value0, Src0, Src1, Value1, Op, Size); \ in TEST_F()
853 #define TestImplValues(Dst0, Dst1, Value0, Src0, Src1, Value1, Size) \ in TEST_F() argument
855 TestImplOp(add, adc, Dst0, Dst1, Value0, Src0, Src1, Value1, +, Size); \ in TEST_F()
856 TestImplOp(sub, sbb, Dst0, Dst1, Value0, Src0, Src1, Value1, -, Size); \ in TEST_F()
859 #define TestImplSize(Dst0, Dst1, Src0, Src1, Size) \ in TEST_F() argument
861 TestImplValues(Dst0, Dst1, 0xFFFFFFFFFFFFFF00ull, Src0, Src1, \ in TEST_F()
865 #define TestImpl(Dst0, Dst1, Src0, Src1) \ in TEST_F() argument
869 GPRRegister::Encoded_Reg_##Src0 <= 3 && \ in TEST_F()
871 TestImplSize(Dst0, Dst1, Src0, Src1, 8); \ in TEST_F()
873 TestImplSize(Dst0, Dst1, Src0, Src1, 16); \ in TEST_F()
874 TestImplSize(Dst0, Dst1, Src0, Src1, 32); \ in TEST_F()