Searched refs:SIGNED_EXTRACT (Results 1 – 1 of 1) sorted by relevance
/toolchain/binutils/binutils-2.27/include/opcode/ |
D | spu.h | 90 #define SIGNED_EXTRACT(insn,size,pos) (((int)((insn) << (32-size-pos))) >> (32-size)) macro 98 #define DECODE_INSN_I10(insn) SIGNED_EXTRACT(insn,10,14) 102 #define DECODE_INSN_I16(insn) SIGNED_EXTRACT(insn,16,7) 109 #define DECODE_INSN_I18(insn) SIGNED_EXTRACT(insn,18,7) 113 #define DECODE_INSN_I7(insn) SIGNED_EXTRACT(insn,7,14) 117 #define DECODE_INSN_I8(insn) SIGNED_EXTRACT(insn,8,14) 121 #define DECODE_INSN_I9a(insn) ((SIGNED_EXTRACT(insn,2,23) << 7) | UNSIGNED_EXTRACT(insn,7,0)) 122 #define DECODE_INSN_I9b(insn) ((SIGNED_EXTRACT(insn,2,14) << 7) | UNSIGNED_EXTRACT(insn,7,0))
|