Lines Matching refs:Src1
33 #define TestSetCC(C, Dest, IsTrue, Src0, Value0, Src1, Value1) \ in TEST_F() argument
36 "(" #C ", " #Dest ", " #IsTrue ", " #Src0 ", " #Value0 ", " #Src1 \ in TEST_F()
41 __ mov(IceType_i32, Encoded_GPR_##Src1(), Immediate(Value1)); \ in TEST_F()
42 __ cmp(IceType_i32, Encoded_GPR_##Src0(), Encoded_GPR_##Src1()); \ in TEST_F()
57 #define TestImpl(Dest, Src0, Src1) \ in TEST_F() argument
59 TestSetCC(o, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
60 TestSetCC(o, Dest, 0u, Src0, 0x1u, Src1, 0x10000000u); \ in TEST_F()
61 TestSetCC(no, Dest, 1u, Src0, 0x1u, Src1, 0x10000000u); \ in TEST_F()
62 TestSetCC(no, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
63 TestSetCC(b, Dest, 1u, Src0, 0x1, Src1, 0x80000000u); \ in TEST_F()
64 TestSetCC(b, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
65 TestSetCC(ae, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
66 TestSetCC(ae, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
67 TestSetCC(e, Dest, 1u, Src0, 0x1u, Src1, 0x1u); \ in TEST_F()
68 TestSetCC(e, Dest, 0u, Src0, 0x1u, Src1, 0x11111u); \ in TEST_F()
69 TestSetCC(ne, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
70 TestSetCC(ne, Dest, 0u, Src0, 0x1u, Src1, 0x1u); \ in TEST_F()
71 TestSetCC(be, Dest, 1u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
72 TestSetCC(be, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
73 TestSetCC(a, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
74 TestSetCC(a, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
75 TestSetCC(s, Dest, 1u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
76 TestSetCC(s, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
77 TestSetCC(ns, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
78 TestSetCC(ns, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
79 TestSetCC(p, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
80 TestSetCC(p, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
81 TestSetCC(np, Dest, 1u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
82 TestSetCC(np, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
83 TestSetCC(l, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
84 TestSetCC(l, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
85 TestSetCC(ge, Dest, 1u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
86 TestSetCC(ge, Dest, 0u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
87 TestSetCC(le, Dest, 1u, Src0, 0x80000000u, Src1, 0x1u); \ in TEST_F()
88 TestSetCC(le, Dest, 0u, Src0, 0x1u, Src1, 0x80000000u); \ in TEST_F()
709 #define TestImplRegReg(Inst0, Inst1, Dst0, Dst1, Value0, Src0, Src1, Value1, \ in TEST_F() argument
716 ", " #Src1 ", " #Value1 ", " #Op ", " #Size ")"; \ in TEST_F()
723 __ mov(IceType_i##Size, Encoded_GPR_##Src1(), \ in TEST_F()
726 __ Inst1(IceType_i##Size, Encoded_GPR_##Dst1(), Encoded_GPR_##Src1()); \ in TEST_F()
803 #define TestImplAddrReg(Inst0, Inst1, Value0, Src0, Src1, Value1, Op, Size) \ in TEST_F() argument
808 "(" #Inst0 ", " #Inst1 ", Addr, " #Value0 ", " #Src0 ", " #Src1 \ in TEST_F()
816 __ mov(IceType_i##Size, Encoded_GPR_##Src1(), \ in TEST_F()
819 __ Inst1(IceType_i##Size, dwordAddress(T1), Encoded_GPR_##Src1()); \ in TEST_F()
867 #define TestImplOp(Inst0, Inst1, Dst0, Dst1, Value0, Src0, Src1, Value1, Op, \ in TEST_F() argument
870 TestImplRegReg(Inst0, Inst1, Dst0, Dst1, Value0, Src0, Src1, Value1, Op, \ in TEST_F()
874 TestImplAddrReg(Inst0, Inst1, Value0, Src0, Src1, Value1, Op, Size); \ in TEST_F()
878 #define TestImplValues(Dst0, Dst1, Value0, Src0, Src1, Value1, Size) \ in TEST_F() argument
880 TestImplOp(add, adc, Dst0, Dst1, Value0, Src0, Src1, Value1, +, Size); \ in TEST_F()
881 TestImplOp(sub, sbb, Dst0, Dst1, Value0, Src0, Src1, Value1, -, Size); \ in TEST_F()
884 #define TestImplSize(Dst0, Dst1, Src0, Src1, Size) \ in TEST_F() argument
886 TestImplValues(Dst0, Dst1, 0xFFFFFFFFFFFFFF00ull, Src0, Src1, \ in TEST_F()
890 #define TestImpl(Dst0, Dst1, Src0, Src1) \ in TEST_F() argument
892 TestImplSize(Dst0, Dst1, Src0, Src1, 8); \ in TEST_F()
893 TestImplSize(Dst0, Dst1, Src0, Src1, 16); \ in TEST_F()
894 TestImplSize(Dst0, Dst1, Src0, Src1, 32); \ in TEST_F()