Searched refs:SIGNED_EXTRACT (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/powerpc/xmon/ |
H A D | spu.h | 80 #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))
|
/openbmc/qemu/target/mips/tcg/ |
H A D | msa_helper.c | 2231 #define SIGNED_EXTRACT(e, o, a, df) \ macro 2250 SIGNED_EXTRACT(even_arg1, odd_arg1, arg1, df); in msa_dotp_s_df() 2251 SIGNED_EXTRACT(even_arg2, odd_arg2, arg2, df); in msa_dotp_s_df() 2357 SIGNED_EXTRACT(even_arg1, odd_arg1, arg1, df); in msa_dpadd_s_df() 2358 SIGNED_EXTRACT(even_arg2, odd_arg2, arg2, df); in msa_dpadd_s_df() 2465 SIGNED_EXTRACT(even_arg1, odd_arg1, arg1, df); in msa_dpsub_s_df() 2466 SIGNED_EXTRACT(even_arg2, odd_arg2, arg2, df); in msa_dpsub_s_df()
|