Home
last modified time | relevance | path

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

/linux/arch/powerpc/xmon/
H A Dspu.h81 #define UNSIGNED_EXTRACT(insn,size,pos) (((insn) >> pos) & ((1 << size)-1)) macro
89 #define DECODE_INSN_U10(insn) UNSIGNED_EXTRACT(insn,10,14)
93 #define DECODE_INSN_U16(insn) UNSIGNED_EXTRACT(insn,16,7)
96 #define DECODE_INSN_U14(insn) UNSIGNED_EXTRACT(insn,14,0)
100 #define DECODE_INSN_U18(insn) UNSIGNED_EXTRACT(insn,18,7)
104 #define DECODE_INSN_U7(insn) UNSIGNED_EXTRACT(insn,7,14)
108 #define DECODE_INSN_U8(insn) UNSIGNED_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))
113 #define DECODE_INSN_U9a(insn) ((UNSIGNED_EXTRACT(insn,2,23) << 7) | UNSIGNED_EXTRACT(insn,7,0))
[all …]