Searched refs:__MASK (Results 1 – 2 of 2) sorted by relevance
/toolchain/binutils/binutils-2.25/include/opcode/ |
D | nds32.h | 54 #define __MASK(n) (__BIT (n) - 1) macro 55 #define __MF(v, off, bs) (((v) & __MASK (bs)) << (off)) 56 #define __GF(v, off, bs) (((v) >> off) & __MASK (bs)) 81 N32_TYPE2 (BR1, rt, ra, (N32_BR1_##sub << 14) | (imm14s & __MASK (14))) 83 N32_TYPE1 (BR2, rt, (N32_BR2_##sub << 16) | (imm16s & __MASK (16))) 86 | ((imm11s & __MASK (11)) << 8) \ 87 | (imm8s & __MASK (8))) 89 N32_TYPE0 (JI, (N32_JI_##sub << 24) | (imm24s & __MASK (24))) 150 #define N32_IMMU(insn, bs) ((insn) & __MASK (bs)) 151 #define N32_IMMS(insn, bs) ((signed) __SEXT (((insn) & __MASK (bs)), bs))
|
/toolchain/binutils/binutils-2.25/opcodes/ |
D | nds32-asm.c | 2065 if (value & __MASK (fld->shift)) in parse_operand() 2094 (((value >> fld->shift) & __MASK (fld->bitsize)) << fld->bitpos); in parse_operand()
|