Home
last modified time | relevance | path

Searched refs:POS_OP (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlopcodes.h46 #define POS_OP 0 macro
47 #define POS_A (POS_OP + SIZE_OP)
89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
90 #define SET_OPCODE(i,o) ((i) = (((i)&MASK0(SIZE_OP,POS_OP)) | \
91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP))))
116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \
121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \
125 #define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \
/freebsd/contrib/lua/src/
H A Dlopcodes.h47 #define POS_OP 0 macro
49 #define POS_A (POS_OP + SIZE_OP)
114 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
115 #define SET_OPCODE(i,o) ((i) = (((i)&MASK0(SIZE_OP,POS_OP)) | \
116 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP))))
156 #define CREATE_ABCk(o,a,b,c,k) ((cast(Instruction, o)<<POS_OP) \
162 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \
166 #define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \
169 #define CREATE_sJ(o,j,k) ((cast(Instruction, o) << POS_OP) \