Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/xmon/
Dspu.h91 #define SIGNED_EXTRACT(insn,size,pos) (((int)((insn) << (32-size-pos))) >> (32-size)) macro
99 #define DECODE_INSN_I10(insn) SIGNED_EXTRACT(insn,10,14)
103 #define DECODE_INSN_I16(insn) SIGNED_EXTRACT(insn,16,7)
110 #define DECODE_INSN_I18(insn) SIGNED_EXTRACT(insn,18,7)
114 #define DECODE_INSN_I7(insn) SIGNED_EXTRACT(insn,7,14)
118 #define DECODE_INSN_I8(insn) SIGNED_EXTRACT(insn,8,14)
122 #define DECODE_INSN_I9a(insn) ((SIGNED_EXTRACT(insn,2,23) << 7) | UNSIGNED_EXTRACT(insn,7,0))
123 #define DECODE_INSN_I9b(insn) ((SIGNED_EXTRACT(insn,2,14) << 7) | UNSIGNED_EXTRACT(insn,7,0))