Searched refs:checkopm (Results 1 – 1 of 1) sorted by relevance
| /netbsd/src/external/mit/lua/dist/src/ |
| D | lopcodes.h | 120 #define checkopm(i,m) (getOpMode(GET_OPCODE(i)) == m) macro 130 #define GETARG_B(i) check_exp(checkopm(i, iABC), getarg(i, POS_B, SIZE_B)) 134 #define GETARG_C(i) check_exp(checkopm(i, iABC), getarg(i, POS_C, SIZE_C)) 138 #define TESTARG_k(i) check_exp(checkopm(i, iABC), (cast_int(((i) & (1u << POS_k))))) 139 #define GETARG_k(i) check_exp(checkopm(i, iABC), getarg(i, POS_k, 1)) 142 #define GETARG_Bx(i) check_exp(checkopm(i, iABx), getarg(i, POS_Bx, SIZE_Bx)) 145 #define GETARG_Ax(i) check_exp(checkopm(i, iAx), getarg(i, POS_Ax, SIZE_Ax)) 149 check_exp(checkopm(i, iAsBx), getarg(i, POS_Bx, SIZE_Bx) - OFFSET_sBx) 153 check_exp(checkopm(i, isJ), getarg(i, POS_sJ, SIZE_sJ) - OFFSET_sJ)
|