Searched refs:MASK1 (Results 1 – 1 of 1) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lopcodes.h | 71 #define MASK1(n,p) ((~((~(Instruction)0)<<n))<<p) macro 74 #define MASK0(n,p) (~MASK1(n,p)) 82 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP)))) 84 #define GETARG_A(i) (cast(int, ((i)>>POS_A) & MASK1(SIZE_A,0))) 86 ((cast(Instruction, u)<<POS_A)&MASK1(SIZE_A,POS_A)))) 88 #define GETARG_B(i) (cast(int, ((i)>>POS_B) & MASK1(SIZE_B,0))) 90 ((cast(Instruction, b)<<POS_B)&MASK1(SIZE_B,POS_B)))) 92 #define GETARG_C(i) (cast(int, ((i)>>POS_C) & MASK1(SIZE_C,0))) 94 ((cast(Instruction, b)<<POS_C)&MASK1(SIZE_C,POS_C)))) 96 #define GETARG_Bx(i) (cast(int, ((i)>>POS_Bx) & MASK1(SIZE_Bx,0))) [all …]
|