Lines Matching refs:op8
705 static IROp mkSizedOp ( IRType ty, IROp op8 ) in mkSizedOp() argument
709 vassert(op8 == Iop_Add8 || op8 == Iop_Sub8 in mkSizedOp()
710 || op8 == Iop_Mul8 in mkSizedOp()
711 || op8 == Iop_Or8 || op8 == Iop_And8 || op8 == Iop_Xor8 in mkSizedOp()
712 || op8 == Iop_Shl8 || op8 == Iop_Shr8 || op8 == Iop_Sar8 in mkSizedOp()
713 || op8 == Iop_CmpEQ8 || op8 == Iop_CmpNE8 in mkSizedOp()
714 || op8 == Iop_CasCmpNE8 in mkSizedOp()
715 || op8 == Iop_ExpCmpNE8 in mkSizedOp()
716 || op8 == Iop_Not8); in mkSizedOp()
718 return adj + op8; in mkSizedOp()
857 static Bool isAddSub ( IROp op8 ) in isAddSub() argument
859 return toBool(op8 == Iop_Add8 || op8 == Iop_Sub8); in isAddSub()
862 static Bool isLogic ( IROp op8 ) in isLogic() argument
864 return toBool(op8 == Iop_And8 || op8 == Iop_Or8 || op8 == Iop_Xor8); in isLogic()
914 void setFlags_DEP1_DEP2 ( IROp op8, IRTemp dep1, IRTemp dep2, IRType ty ) in setFlags_DEP1_DEP2() argument
920 switch (op8) { in setFlags_DEP1_DEP2()
923 default: ppIROp(op8); in setFlags_DEP1_DEP2()
938 void setFlags_DEP1 ( IROp op8, IRTemp dep1, IRType ty ) in setFlags_DEP1() argument
944 switch (op8) { in setFlags_DEP1()
948 default: ppIROp(op8); in setFlags_DEP1()
1826 IROp op8, in dis_op2_E_G() argument
1844 vassert(op8 == Iop_Add8 || op8 == Iop_Sub8); in dis_op2_E_G()
1853 if ((op8 == Iop_Xor8 || (op8 == Iop_Sub8 && addSubCarry)) in dis_op2_E_G()
1860 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_E_G()
1865 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_E_G()
1870 assign( dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op2_E_G()
1871 if (isAddSub(op8)) in dis_op2_E_G()
1872 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_E_G()
1874 setFlags_DEP1(op8, dst1, ty); in dis_op2_E_G()
1889 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_E_G()
1894 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_E_G()
1899 assign( dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op2_E_G()
1900 if (isAddSub(op8)) in dis_op2_E_G()
1901 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_E_G()
1903 setFlags_DEP1(op8, dst1, ty); in dis_op2_E_G()
1939 IROp op8, in dis_op2_G_E() argument
1957 vassert(op8 == Iop_Add8 || op8 == Iop_Sub8); in dis_op2_G_E()
1966 if ((op8 == Iop_Xor8 || (op8 == Iop_Sub8 && addSubCarry)) in dis_op2_G_E()
1973 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_G_E()
1978 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_G_E()
1983 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_op2_G_E()
1984 if (isAddSub(op8)) in dis_op2_G_E()
1985 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_G_E()
1987 setFlags_DEP1(op8, dst1, ty); in dis_op2_G_E()
2004 if (addSubCarry && op8 == Iop_Add8) { in dis_op2_G_E()
2015 if (addSubCarry && op8 == Iop_Sub8) { in dis_op2_G_E()
2026 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_op2_G_E()
2038 if (isAddSub(op8)) in dis_op2_G_E()
2039 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op2_G_E()
2041 setFlags_DEP1(op8, dst1, ty); in dis_op2_G_E()
2143 IROp op8, in dis_op_imm_A() argument
2156 if (isAddSub(op8) && !carrying) { in dis_op_imm_A()
2157 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op_imm_A()
2158 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_op_imm_A()
2161 if (isLogic(op8)) { in dis_op_imm_A()
2163 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src)) ); in dis_op_imm_A()
2164 setFlags_DEP1(op8, dst1, ty); in dis_op_imm_A()
2167 if (op8 == Iop_Add8 && carrying) { in dis_op_imm_A()
2172 if (op8 == Iop_Sub8 && carrying) { in dis_op_imm_A()
2293 IROp op8 = Iop_INVALID; in dis_Grp1() local
2297 case 0: op8 = Iop_Add8; break; case 1: op8 = Iop_Or8; break; in dis_Grp1()
2300 case 4: op8 = Iop_And8; break; case 5: op8 = Iop_Sub8; break; in dis_Grp1()
2301 case 6: op8 = Iop_Xor8; break; case 7: op8 = Iop_Sub8; break; in dis_Grp1()
2320 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_Grp1()
2321 if (isAddSub(op8)) in dis_Grp1()
2322 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_Grp1()
2324 setFlags_DEP1(op8, dst1, ty); in dis_Grp1()
2361 assign(dst1, binop(mkSizedOp(ty,op8), mkexpr(dst0), mkexpr(src))); in dis_Grp1()
2371 if (isAddSub(op8)) in dis_Grp1()
2372 setFlags_DEP1_DEP2(op8, dst0, src, ty); in dis_Grp1()
2374 setFlags_DEP1(op8, dst1, ty); in dis_Grp1()