/qemu/include/qemu/ |
A D | int128.h | 15 static inline Int128 int128_make64(uint64_t a) in int128_make64() 30 static inline uint64_t int128_get64(Int128 a) in int128_get64() 42 static inline int64_t int128_gethi(Int128 a) in int128_gethi() 67 static inline Int128 int128_not(Int128 a) in int128_not() 107 static inline Int128 int128_neg(Int128 a) in int128_neg() 117 static inline bool int128_nonneg(Int128 a) in int128_nonneg() 162 static inline bool int128_nz(Int128 a) in int128_nz() 187 static inline Int128 bswap128(Int128 a) in bswap128() 196 static inline int clz128(Int128 a) in clz128() 427 static inline bool int128_nz(Int128 a) in int128_nz() [all …]
|
/qemu/target/rx/ |
A D | disas.c | 347 static bool trans_POP(DisasContext *ctx, arg_POP *a) in trans_POP() 354 static bool trans_POPC(DisasContext *ctx, arg_POPC *a) in trans_POPC() 361 static bool trans_POPM(DisasContext *ctx, arg_POPM *a) in trans_POPM() 412 static bool trans_STZ(DisasContext *ctx, arg_STZ *a) in trans_STZ() 908 static bool trans_BRA(DisasContext *ctx, arg_BRA *a) in trans_BRA() 922 static bool trans_JMP(DisasContext *ctx, arg_JMP *a) in trans_JMP() 929 static bool trans_JSR(DisasContext *ctx, arg_JSR *a) in trans_JSR() 937 static bool trans_BSR(DisasContext *ctx, arg_BSR *a) in trans_BSR() 952 static bool trans_RTS(DisasContext *ctx, arg_RTS *a) in trans_RTS() 959 static bool trans_NOP(DisasContext *ctx, arg_NOP *a) in trans_NOP() [all …]
|
A D | translate.c | 605 static bool trans_POP(DisasContext *ctx, arg_POP *a) in trans_POP() 738 static bool trans_STZ(DisasContext *ctx, arg_STZ *a) in trans_STZ() 1571 static bool trans_BRA(DisasContext *ctx, arg_BRA *a) in trans_BRA() 1592 static bool trans_JMP(DisasContext *ctx, arg_JMP *a) in trans_JMP() 1600 static bool trans_JSR(DisasContext *ctx, arg_JSR *a) in trans_JSR() 1610 static bool trans_BSR(DisasContext *ctx, arg_BSR *a) in trans_BSR() 1627 static bool trans_RTS(DisasContext *ctx, arg_RTS *a) in trans_RTS() 1635 static bool trans_NOP(DisasContext *ctx, arg_NOP *a) in trans_NOP() 1807 static bool trans_SAT(DisasContext *ctx, arg_SAT *a) in trans_SAT() 1828 #define cat3(a, b, c) a##b##c argument [all …]
|
/qemu/include/fpu/ |
A D | softfloat.h | 264 static inline bool float16_is_neg(float16 a) in float16_is_neg() 274 static inline bool float16_is_zero(float16 a) in float16_is_zero() 289 static inline float16 float16_abs(float16 a) in float16_abs() 297 static inline float16 float16_chs(float16 a) in float16_chs() 618 static inline float32 float32_abs(float32 a) in float32_abs() 626 static inline float32 float32_chs(float32 a) in float32_chs() 639 static inline bool float32_is_neg(float32 a) in float32_is_neg() 644 static inline bool float32_is_zero(float32 a) in float32_is_zero() 812 static inline float64 float64_abs(float64 a) in float64_abs() 820 static inline float64 float64_chs(float64 a) in float64_chs() [all …]
|
/qemu/target/mips/tcg/ |
A D | tx79_translate.c | 65 static bool trans_MFHI1(DisasContext *ctx, arg_r *a) in trans_MFHI1() 72 static bool trans_MFLO1(DisasContext *ctx, arg_r *a) in trans_MFLO1() 79 static bool trans_MTHI1(DisasContext *ctx, arg_r *a) in trans_MTHI1() 86 static bool trans_MTLO1(DisasContext *ctx, arg_r *a) in trans_MTLO1() 143 static bool trans_PSUBB(DisasContext *ctx, arg_r *a) in trans_PSUBB() 186 static bool trans_PAND(DisasContext *ctx, arg_r *a) in trans_PAND() 192 static bool trans_POR(DisasContext *ctx, arg_r *a) in trans_POR() 198 static bool trans_PXOR(DisasContext *ctx, arg_r *a) in trans_PXOR() 204 static bool trans_PNOR(DisasContext *ctx, arg_r *a) in trans_PNOR() 322 static bool trans_LQ(DisasContext *ctx, arg_i *a) in trans_LQ() [all …]
|
A D | octeon_translate.c | 16 static bool trans_BBIT(DisasContext *ctx, arg_BBIT *a) in trans_BBIT() 44 static bool trans_BADDU(DisasContext *ctx, arg_BADDU *a) in trans_BADDU() 63 static bool trans_DMUL(DisasContext *ctx, arg_DMUL *a) in trans_DMUL() 81 static bool trans_EXTS(DisasContext *ctx, arg_EXTS *a) in trans_EXTS() 97 static bool trans_CINS(DisasContext *ctx, arg_CINS *a) in trans_CINS() 113 static bool trans_POP(DisasContext *ctx, arg_POP *a) in trans_POP() 132 static bool trans_SEQNE(DisasContext *ctx, arg_SEQNE *a) in trans_SEQNE() 155 static bool trans_SEQNEI(DisasContext *ctx, arg_SEQNEI *a) in trans_SEQNEI()
|
A D | msa_translate.c | 244 static bool trans_BZ_V(DisasContext *ctx, arg_msa_bz *a) in trans_BZ_V() 249 static bool trans_BNZ_V(DisasContext *ctx, arg_msa_bz *a) in trans_BNZ_V() 274 static bool trans_BZ(DisasContext *ctx, arg_msa_bz *a) in trans_BZ() 279 static bool trans_BNZ(DisasContext *ctx, arg_msa_bz *a) in trans_BNZ() 284 static bool trans_msa_i8(DisasContext *ctx, arg_msa_i *a, in trans_msa_i8() 307 static bool trans_SHF(DisasContext *ctx, arg_msa_i *a) in trans_SHF() 326 static bool trans_msa_i5(DisasContext *ctx, arg_msa_i *a, in trans_msa_i5() 354 static bool trans_LDI(DisasContext *ctx, arg_msa_ldi *a) in trans_LDI() 710 static bool trans_FILL(DisasContext *ctx, arg_msa_r *a) in trans_FILL() 781 static bool trans_LSA(DisasContext *ctx, arg_r *a) in trans_LSA() [all …]
|
A D | loong_translate.c | 72 static bool trans_DIV_G(DisasContext *s, arg_muldiv *a) in trans_DIV_G() 77 static bool trans_DDIV_G(DisasContext *s, arg_muldiv *a) in trans_DDIV_G() 119 static bool trans_DIVU_G(DisasContext *s, arg_muldiv *a) in trans_DIVU_G() 124 static bool trans_DDIVU_G(DisasContext *s, arg_muldiv *a) in trans_DDIVU_G() 169 static bool trans_MOD_G(DisasContext *s, arg_muldiv *a) in trans_MOD_G() 174 static bool trans_DMOD_G(DisasContext *s, arg_muldiv *a) in trans_DMOD_G() 215 static bool trans_MODU_G(DisasContext *s, arg_muldiv *a) in trans_MODU_G() 220 static bool trans_DMODU_G(DisasContext *s, arg_muldiv *a) in trans_DMODU_G() 249 static bool trans_MULTu_G(DisasContext *s, arg_muldiv *a) in trans_MULTu_G() 254 static bool trans_DMULTu_G(DisasContext *s, arg_muldiv *a) in trans_DMULTu_G()
|
/qemu/target/openrisc/ |
A D | translate.c | 419 static bool trans_l_add(DisasContext *dc, arg_dab *a) in trans_l_add() 433 static bool trans_l_sub(DisasContext *dc, arg_dab *a) in trans_l_sub() 440 static bool trans_l_and(DisasContext *dc, arg_dab *a) in trans_l_and() 447 static bool trans_l_or(DisasContext *dc, arg_dab *a) in trans_l_or() 525 static bool trans_l_ff1(DisasContext *dc, arg_da *a) in trans_l_ff1() 533 static bool trans_l_fl1(DisasContext *dc, arg_da *a) in trans_l_fl1() 581 static bool trans_l_j(DisasContext *dc, arg_l_j *a) in trans_l_j() 866 static bool trans_l_mac(DisasContext *dc, arg_ab *a) in trans_l_mac() 1110 static bool do_fp2(DisasContext *dc, arg_da *a, in do_fp2() 1122 static bool do_fp3(DisasContext *dc, arg_dab *a, in do_fp3() [all …]
|
/qemu/fpu/ |
A D | softfloat.c | 970 static void frac64_allones(FloatParts64 *a) in frac64_allones() 1003 static void frac64_clear(FloatParts64 *a) in frac64_clear() 1008 static void frac128_clear(FloatParts128 *a) in frac128_clear() 1096 static bool frac64_eqz(FloatParts64 *a) in frac64_eqz() 1101 static bool frac128_eqz(FloatParts128 *a) in frac128_eqz() 1121 static void frac64_neg(FloatParts64 *a) in frac64_neg() 1126 static void frac128_neg(FloatParts128 *a) in frac128_neg() 1133 static void frac256_neg(FloatParts256 *a) in frac256_neg() 1934 static float hard_f32_add(float a, float b) in hard_f32_add() 1939 static float hard_f32_sub(float a, float b) in hard_f32_sub() [all …]
|
/qemu/target/loongarch/ |
A D | disas.c | 175 static void output_rrr_sa(DisasContext *ctx, arg_rrr_sa *a, in output_rrr_sa() 198 static void output_hint_rr(DisasContext *ctx, arg_hint_rr *a, in output_hint_rr() 209 static void output_rr_jk(DisasContext *ctx, arg_rr_jk *a, in output_rr_jk() 245 static void output_fcsrd_r(DisasContext *ctx, arg_fcsrd_r *a, in output_fcsrd_r() 251 static void output_r_fcsrs(DisasContext *ctx, arg_r_fcsrs *a, in output_r_fcsrs() 287 static void output_r_offs(DisasContext *ctx, arg_r_offs *a, in output_r_offs() 294 static void output_c_offs(DisasContext *ctx, arg_c_offs *a, in output_c_offs() 301 static void output_offs(DisasContext *ctx, arg_offs *a, in output_offs() 314 static void output_r_csr(DisasContext *ctx, arg_r_csr *a, in output_r_csr() 320 static void output_rr_csr(DisasContext *ctx, arg_rr_csr *a, in output_rr_csr() [all …]
|
A D | vec.h | 33 #define DO_ADD(a, b) (a + b) argument 34 #define DO_SUB(a, b) (a - b) argument 39 #define DO_MIN(a, b) (a < b ? a : b) argument 40 #define DO_MAX(a, b) (a > b ? a : b) argument 41 #define DO_MUL(a, b) (a * b) argument 42 #define DO_MADD(a, b, c) (a + b * c) argument 43 #define DO_MSUB(a, b, c) (a - b * c) argument 54 #define R_SHIFT(a, b) (a >> b) argument 69 #define VSEQ(a, b) (a == b ? -1 : 0) argument 70 #define VSLE(a, b) (a <= b ? -1 : 0) argument [all …]
|
/qemu/target/alpha/ |
A D | vax_helper.c | 33 CPU_FloatU a; in float32_to_f() local 86 uint32_t helper_f_to_memory(uint64_t a) in helper_f_to_memory() 95 uint64_t helper_memory_to_f(uint32_t a) in helper_memory_to_f() 164 CPU_DoubleU a; in float64_to_g() local 217 uint64_t helper_g_to_memory(uint64_t a) in helper_g_to_memory() 227 uint64_t helper_memory_to_g(uint64_t a) in helper_memory_to_g() 277 uint64_t helper_sqrtg(CPUAlphaState *env, uint64_t a) in helper_sqrtg() 328 uint64_t helper_cvtqf(CPUAlphaState *env, uint64_t a) in helper_cvtqf() 334 uint64_t helper_cvtgf(CPUAlphaState *env, uint64_t a) in helper_cvtgf() 344 uint64_t helper_cvtgq(CPUAlphaState *env, uint64_t a) in helper_cvtgq() [all …]
|
A D | fpu_helper.c | 189 CPU_FloatU a; in float32_to_s() local 194 static inline uint32_t s_to_float32_int(uint64_t a) in s_to_float32_int() 199 static inline float32 s_to_float32(uint64_t a) in s_to_float32() 206 uint32_t helper_s_to_memory(uint64_t a) in helper_s_to_memory() 211 uint64_t helper_memory_to_s(uint32_t a) in helper_memory_to_s() 264 uint64_t helper_sqrts(CPUAlphaState *env, uint64_t a) in helper_sqrts() 277 static inline float64 t_to_float64(uint64_t a) in t_to_float64() 341 uint64_t helper_sqrtt(CPUAlphaState *env, uint64_t a) in helper_sqrtt() 418 uint64_t helper_cvtts(CPUAlphaState *env, uint64_t a) in helper_cvtts() 430 uint64_t helper_cvtst(CPUAlphaState *env, uint64_t a) in helper_cvtst() [all …]
|
/qemu/target/avr/ |
A D | translate.c | 293 static bool trans_ADD(DisasContext *ctx, arg_ADD *a) in trans_ADD() 316 static bool trans_ADC(DisasContext *ctx, arg_ADC *a) in trans_ADC() 378 static bool trans_SUB(DisasContext *ctx, arg_SUB *a) in trans_SUB() 426 static bool trans_SBC(DisasContext *ctx, arg_SBC *a) in trans_SBC() 525 static bool trans_AND(DisasContext *ctx, arg_AND *a) in trans_AND() 565 static bool trans_OR(DisasContext *ctx, arg_OR *a) in trans_OR() 586 static bool trans_ORI(DisasContext *ctx, arg_ORI *a) in trans_ORI() 604 static bool trans_EOR(DisasContext *ctx, arg_EOR *a) in trans_EOR() 623 static bool trans_COM(DisasContext *ctx, arg_COM *a) in trans_COM() 1191 static bool trans_CP(DisasContext *ctx, arg_CP *a) in trans_CP() [all …]
|
/qemu/include/tcg/ |
A D | tcg-op-common.h | 481 static inline void tcg_gen_ld_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) in tcg_gen_ld_ptr() 486 static inline void tcg_gen_st_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) in tcg_gen_st_ptr() 491 static inline void tcg_gen_discard_ptr(TCGv_ptr a) in tcg_gen_discard_ptr() 496 static inline void tcg_gen_add_ptr(TCGv_ptr r, TCGv_ptr a, TCGv_ptr b) in tcg_gen_add_ptr() 501 static inline void tcg_gen_addi_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t b) in tcg_gen_addi_ptr() 516 static inline void tcg_gen_brcondi_ptr(TCGCond cond, TCGv_ptr a, in tcg_gen_brcondi_ptr() 522 static inline void tcg_gen_ext_i32_ptr(TCGv_ptr r, TCGv_i32 a) in tcg_gen_ext_i32_ptr() 531 static inline void tcg_gen_trunc_i64_ptr(TCGv_ptr r, TCGv_i64 a) in tcg_gen_trunc_i64_ptr() 540 static inline void tcg_gen_extu_ptr_i64(TCGv_i64 r, TCGv_ptr a) in tcg_gen_extu_ptr_i64() 549 static inline void tcg_gen_trunc_ptr_i32(TCGv_i32 r, TCGv_ptr a) in tcg_gen_trunc_ptr_i32()
|
/qemu/tcg/ |
A D | tcg-op-vec.c | 153 TCGArg r, TCGArg a, TCGArg b) in vec_gen_3() 164 TCGArg r, TCGArg a, TCGArg b, TCGArg c) in vec_gen_4() 201 TCGv_vec r, TCGv_vec a, TCGv_vec b) in vec_gen_op3() 214 void tcg_gen_mov_vec(TCGv_vec r, TCGv_vec a) in tcg_gen_mov_vec() 221 void tcg_gen_dupi_vec(unsigned vece, TCGv_vec r, uint64_t a) in tcg_gen_dupi_vec() 392 void tcg_gen_not_vec(unsigned vece, TCGv_vec r, TCGv_vec a) in tcg_gen_not_vec() 401 void tcg_gen_neg_vec(unsigned vece, TCGv_vec r, TCGv_vec a) in tcg_gen_neg_vec() 414 void tcg_gen_abs_vec(unsigned vece, TCGv_vec r, TCGv_vec a) in tcg_gen_abs_vec() 446 TCGv_vec r, TCGv_vec a, int64_t i) in do_shifti() 506 TCGv_vec r, TCGv_vec a, TCGv_vec b) in tcg_gen_cmp_vec() [all …]
|
/qemu/target/arm/tcg/ |
A D | translate.c | 408 static void gen_smul_dual(TCGv_i32 a, TCGv_i32 b) in gen_smul_dual() 4696 static bool trans_BX(DisasContext *s, arg_BX *a) in trans_BX() 4849 static bool trans_SG(DisasContext *s, arg_SG *a) in trans_SG() 4877 static bool trans_TT(DisasContext *s, arg_TT *a) in trans_TT() 5834 static bool op_sat(DisasContext *s, arg_sat *a, in op_sat() 5964 static bool op_rr(DisasContext *s, arg_rr *a, in op_rr() 6537 static bool trans_B(DisasContext *s, arg_i *a) in trans_B() 6558 static bool trans_BL(DisasContext *s, arg_i *a) in trans_BL() 6620 static bool trans_BF(DisasContext *s, arg_BF *a) in trans_BF() 6750 static bool trans_LE(DisasContext *s, arg_LE *a) in trans_LE() [all …]
|
A D | translate-vfp.c | 306 static bool trans_VSEL(DisasContext *s, arg_VSEL *a) in trans_VSEL() 429 static bool trans_VRINT(DisasContext *s, arg_VRINT *a) in trans_VRINT() 496 static bool trans_VCVT(DisasContext *s, arg_VCVT *a) in trans_VCVT() 707 static bool trans_VDUP(DisasContext *s, arg_VDUP *a) in trans_VDUP() 1729 static bool trans_VMLA_hp(DisasContext *s, arg_VMLA_sp *a) in trans_VMLA_hp() 1743 static bool trans_VMLA_sp(DisasContext *s, arg_VMLA_sp *a) in trans_VMLA_sp() 1757 static bool trans_VMLA_dp(DisasContext *s, arg_VMLA_dp *a) in trans_VMLA_dp() 1775 static bool trans_VMLS_hp(DisasContext *s, arg_VMLS_sp *a) in trans_VMLS_hp() 3059 static bool trans_VJCVT(DisasContext *s, arg_VJCVT *a) in trans_VJCVT() 3372 static bool trans_VINS(DisasContext *s, arg_VINS *a) in trans_VINS() [all …]
|
A D | translate-neon.c | 215 static bool trans_VCMLA(DisasContext *s, arg_VCMLA *a) in trans_VCMLA() 231 static bool trans_VCADD(DisasContext *s, arg_VCADD *a) in trans_VCADD() 268 static bool trans_VSDOT(DisasContext *s, arg_VSDOT *a) in trans_VSDOT() 277 static bool trans_VUDOT(DisasContext *s, arg_VUDOT *a) in trans_VUDOT() 286 static bool trans_VUSDOT(DisasContext *s, arg_VUSDOT *a) in trans_VUSDOT() 304 static bool trans_VFML(DisasContext *s, arg_VFML *a) in trans_VFML() 2434 static bool trans_VEXT(DisasContext *s, arg_VEXT *a) in trans_VEXT() 2500 static bool trans_VTBL(DisasContext *s, arg_VTBL *a) in trans_VTBL() 2768 static bool do_zip_uzp(DisasContext *s, arg_2misc *a, in do_zip_uzp() 2802 static bool trans_VUZP(DisasContext *s, arg_2misc *a) in trans_VUZP() [all …]
|
A D | translate-mve.c | 471 static bool trans_VDUP(DisasContext *s, arg_VDUP *a) in trans_VDUP() 727 static bool trans_VREV32(DisasContext *s, arg_1op *a) in trans_VREV32() 738 static bool trans_VREV64(DisasContext *s, arg_1op *a) in trans_VREV64() 749 static bool trans_VMVN(DisasContext *s, arg_1op *a) in trans_VMVN() 754 static bool trans_VABS_fp(DisasContext *s, arg_1op *a) in trans_VABS_fp() 768 static bool trans_VNEG_fp(DisasContext *s, arg_1op *a) in trans_VNEG_fp() 971 static bool trans_VADC(DisasContext *s, arg_2op *a) in trans_VADC() 976 static bool trans_VADCI(DisasContext *s, arg_2op *a) in trans_VADCI() 984 static bool trans_VSBC(DisasContext *s, arg_2op *a) in trans_VSBC() 989 static bool trans_VSBCI(DisasContext *s, arg_2op *a) in trans_VSBCI() [all …]
|
A D | gengvec.c | 292 void gen_srshr32_i32(TCGv_i32 d, TCGv_i32 a, int32_t sh) in gen_srshr32_i32() 307 void gen_srshr64_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srshr64_i64() 486 void gen_urshr32_i32(TCGv_i32 d, TCGv_i32 a, int32_t sh) in gen_urshr32_i32() 501 void gen_urshr64_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_urshr64_i64() 843 static void gen_mla8_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mla8_i32() 849 static void gen_mls8_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mls8_i32() 976 void gen_cmtst_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_cmtst_i64() 1375 TCGv_vec a, TCGv_vec b) in gen_uqadd_vec() 1455 TCGv_vec a, TCGv_vec b) in gen_sqadd_vec() 1520 TCGv_vec a, TCGv_vec b) in gen_uqsub_vec() [all …]
|
/qemu/target/hppa/ |
A D | translate.c | 1848 TCGv_i32 a, b; in do_fop_weww() local 1864 TCGv_i64 a, b; in do_fop_dedd() local 2122 static bool trans_nop(DisasContext *ctx, arg_nop *a) in trans_nop() 2345 static bool trans_rsm(DisasContext *ctx, arg_rsm *a) in trans_rsm() 2371 static bool trans_ssm(DisasContext *ctx, arg_ssm *a) in trans_ssm() 2427 static bool trans_rfi(DisasContext *ctx, arg_rfi *a) in trans_rfi() 2737 static bool trans_lci(DisasContext *ctx, arg_lci *a) in trans_lci() 3293 static bool trans_ld(DisasContext *ctx, arg_ldst *a) in trans_ld() 3955 static bool trans_be(DisasContext *ctx, arg_be *a) in trans_be() 3971 static bool trans_bl(DisasContext *ctx, arg_bl *a) in trans_bl() [all …]
|
/qemu/util/ |
A D | int128.c | 88 Int128 int128_divu(Int128 a, Int128 b) in int128_divu() 95 Int128 int128_remu(Int128 a, Int128 b) in int128_remu() 101 Int128 int128_divs(Int128 a, Int128 b) in int128_divs() 124 Int128 int128_rems(Int128 a, Int128 b) in int128_rems() 151 Int128Alias r, a, b; in int128_divu() local 161 Int128Alias r, a, b; in int128_remu() local 171 Int128Alias r, a, b; in int128_divs() local 181 Int128Alias r, a, b; in int128_rems() local
|
/qemu/tests/unit/ |
A D | test-int128.c | 53 Int128 a = expand(tests[i]); in test_and() local 69 Int128 a = expand(tests[i]); in test_add() local 85 Int128 a = expand(tests[i]); in test_sub() local 100 Int128 a = expand(tests[i]); in test_neg() local 114 Int128 a = expand(tests[i]); in test_nz() local 127 int32_t a = (int32_t) tests[i]; in test_le() local 141 int32_t a = (int32_t) tests[i]; in test_lt() local 155 int32_t a = (int32_t) tests[i]; in test_ge() local 169 int32_t a = (int32_t) tests[i]; in test_gt() local 181 Int128 a = expand(x); in test_rshift_one() local [all …]
|