Searched refs:sign_extend (Results 1 – 4 of 4) sorted by relevance
/qemu/disas/ |
H A D | hppa.c | 181 static inline int sign_extend (int, int) ATTRIBUTE_UNUSED; 203 sign_extend (int x, int len) in sign_extend() function 1915 return sign_extend (word, 16); in extract_16() 1936 return sign_extend (val, 21) << 11; in extract_21() 1944 return sign_extend (GET_FIELD (word, 19, 28) in extract_12() 1955 return sign_extend (GET_FIELD (word, 19, 28) in extract_17() 1964 return sign_extend (GET_FIELD (word, 19, 28) in extract_22()
|
H A D | nanomips.c | 72 static int64 sign_extend(int64 data, int msb) in sign_extend() function 554 value = sign_extend(value, 9); in extract_s__se9_20_19_18_17_16_15_14_13_12_11() 564 value = sign_extend(value, 11); in extract_s__se11_0_10_9_8_7_6_5_4_3_2_1_0_s1() 632 value = sign_extend(value, 31); in extract_s__se31_0_11_to_2_20_to_12_s12() 642 value = sign_extend(value, 7); in extract_s__se7_0_6_5_4_3_2_1_s1() 716 value = sign_extend(value, 10); in extract_s__se10_0_9_8_7_6_5_4_3_2_1_s1() 855 value = sign_extend(value, 21); in extract_s__se21_0_20_to_1_s1() 897 value = sign_extend(value, 5); in extract_shift__se5_21_20_19_18_17_16() 932 value = sign_extend(value, 8); in extract_s__se8_15_7_6_5_4_3_2_s2() 958 value = sign_extend(value, 8); in extract_s__se8_15_7_6_5_4_3_2_1_0() [all …]
|
/qemu/target/sparc/ |
H A D | translate.c | 204 #define GET_FIELDs(x,a,b) sign_extend (GET_FIELD(x,a,b), (b) - (a) + 1) 205 #define GET_FIELD_SPs(x,a,b) sign_extend (GET_FIELD_SP(x,a,b), ((b) - (a) + 1))
|
/qemu/target/mips/tcg/ |
H A D | nanomips_translate.c.inc | 4570 /* imm = sign_extend(s[3] . s[2:0] , from_nbits = 4) */
|