Home
last modified time | relevance | path

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

/linux/arch/powerpc/xmon/
H A Dspu.h80 #define SIGNED_EXTRACT(insn,size,pos) (((int)((insn) << (32-size-pos))) >> (32-size)) macro
88 #define DECODE_INSN_I10(insn) SIGNED_EXTRACT(insn,10,14)
92 #define DECODE_INSN_I16(insn) SIGNED_EXTRACT(insn,16,7)
99 #define DECODE_INSN_I18(insn) SIGNED_EXTRACT(insn,18,7)
103 #define DECODE_INSN_I7(insn) SIGNED_EXTRACT(insn,7,14)
107 #define DECODE_INSN_I8(insn) SIGNED_EXTRACT(insn,8,14)
111 #define DECODE_INSN_I9a(insn) ((SIGNED_EXTRACT(insn,2,23) << 7) | UNSIGNED_EXTRACT(insn,7,0))
112 #define DECODE_INSN_I9b(insn) ((SIGNED_EXTRACT(insn,2,14) << 7) | UNSIGNED_EXTRACT(insn,7,0))