/qemu/include/qemu/ |
H A D | int128.h | 72 static inline Int128 int128_and(Int128 a, Int128 b) in int128_and() 77 static inline Int128 int128_or(Int128 a, Int128 b) in int128_or() 82 static inline Int128 int128_xor(Int128 a, Int128 b) in int128_xor() 122 static inline bool int128_eq(Int128 a, Int128 b) in int128_eq() 127 static inline bool int128_ne(Int128 a, Int128 b) in int128_ne() 132 static inline bool int128_ge(Int128 a, Int128 b) in int128_ge() 137 static inline bool int128_uge(Int128 a, Int128 b) in int128_uge() 142 static inline bool int128_lt(Int128 a, Int128 b) in int128_lt() 147 static inline bool int128_ult(Int128 a, Int128 b) in int128_ult() 152 static inline bool int128_le(Int128 a, Int128 b) in int128_le() [all …]
|
H A D | jhash.h | 34 #define __jhash_mix(a, b, c) \ argument 45 #define __jhash_final(a, b, c) \ argument
|
/qemu/include/sysemu/ |
H A D | tpm_util.h | 34 static inline uint16_t tpm_cmd_get_tag(const void *b) in tpm_cmd_get_tag() 39 static inline void tpm_cmd_set_tag(void *b, uint16_t tag) in tpm_cmd_set_tag() 44 static inline uint32_t tpm_cmd_get_size(const void *b) in tpm_cmd_get_size() 49 static inline void tpm_cmd_set_size(void *b, uint32_t size) in tpm_cmd_set_size() 54 static inline uint32_t tpm_cmd_get_ordinal(const void *b) in tpm_cmd_get_ordinal() 59 static inline uint32_t tpm_cmd_get_errcode(const void *b) in tpm_cmd_get_errcode() 64 static inline void tpm_cmd_set_error(void *b, uint32_t error) in tpm_cmd_set_error()
|
/qemu/include/ui/ |
H A D | pixel_ops.h | 2 unsigned int b) in rgb_to_pixel8() 8 unsigned int b) in rgb_to_pixel15() 14 unsigned int b) in rgb_to_pixel15bgr() 20 unsigned int b) in rgb_to_pixel16() 26 unsigned int b) in rgb_to_pixel16bgr() 32 unsigned int b) in rgb_to_pixel24() 38 unsigned int b) in rgb_to_pixel24bgr() 44 unsigned int b) in rgb_to_pixel32() 50 unsigned int b) in rgb_to_pixel32bgr()
|
/qemu/include/fpu/ |
H A D | softfloat.h | 310 static inline bool float16_eq(float16 a, float16 b, float_status *s) in float16_eq() 315 static inline bool float16_le(float16 a, float16 b, float_status *s) in float16_le() 320 static inline bool float16_lt(float16 a, float16 b, float_status *s) in float16_lt() 345 static inline bool float16_unordered_quiet(float16 a, float16 b, in float16_unordered_quiet() 539 static inline bool bfloat16_unordered_quiet(bfloat16 a, bfloat16 b, in bfloat16_unordered_quiet() 679 static inline bool float32_eq(float32 a, float32 b, float_status *s) in float32_eq() 684 static inline bool float32_le(float32 a, float32 b, float_status *s) in float32_le() 689 static inline bool float32_lt(float32 a, float32 b, float_status *s) in float32_lt() 714 static inline bool float32_unordered_quiet(float32 a, float32 b, in float32_unordered_quiet() 909 static inline bool float64_unordered_quiet(float64 a, float64 b, in float64_unordered_quiet() [all …]
|
/qemu/target/loongarch/ |
H 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/util/ |
H 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
|
H A D | qht.c | 385 struct qht_bucket *b; in qht_bucket_lock__no_stale() local 488 struct qht_bucket *b = head; in qht_bucket_reset__locked() local 559 const struct qht_bucket *b = head; in qht_do_lookup() local 599 const struct qht_bucket *b; in qht_lookup_custom() local 632 struct qht_bucket *b = head; in qht_insert__locked() local 697 struct qht_bucket *b; in qht_insert() local 753 struct qht_bucket *b = orig; in qht_bucket_remove_entry() local 784 struct qht_bucket *b = head; in qht_remove__locked() local 809 struct qht_bucket *b; in qht_remove() local 826 struct qht_bucket *b = head; in qht_bucket_iter() local [all …]
|
/qemu/tcg/ |
H 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() 256 void tcg_gen_dup_mem_vec(unsigned vece, TCGv_vec r, TCGv_ptr b, in tcg_gen_dup_mem_vec() 277 void tcg_gen_ld_vec(TCGv_vec r, TCGv_ptr b, TCGArg o) in tcg_gen_ld_vec() 282 void tcg_gen_st_vec(TCGv_vec r, TCGv_ptr b, TCGArg o) in tcg_gen_st_vec() 506 TCGv_vec r, TCGv_vec a, TCGv_vec b) in tcg_gen_cmp_vec() 532 TCGv_vec b, TCGOpcode opc) in do_op3() 560 TCGv_vec b, TCGOpcode opc) in do_op3_nofail() 623 TCGv_vec b, TCGOpcode opc, TCGCond cond) in do_minmax() [all …]
|
/qemu/backends/ |
H A D | vhost-user.c | 24 vhost_user_backend_dev_init(VhostUserBackend *b, VirtIODevice *vdev, in vhost_user_backend_dev_init() 49 vhost_user_backend_start(VhostUserBackend *b) in vhost_user_backend_start() 101 vhost_user_backend_stop(VhostUserBackend *b) in vhost_user_backend_stop() 128 VhostUserBackend *b = VHOST_USER_BACKEND(obj); in set_chardev() local 156 VhostUserBackend *b = VHOST_USER_BACKEND(obj); in get_chardev() local 173 VhostUserBackend *b = VHOST_USER_BACKEND(obj); in vhost_user_backend_finalize() local
|
H A D | cryptodev-vhost.c | 119 CryptoDevBackend *b, in cryptodev_get_vhost() 150 CryptoDevBackend *b, in vhost_set_vring_enable() 179 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_start() local 251 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_stop() local 276 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_virtqueue_mask() local 292 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_virtqueue_pending() local 323 CryptoDevBackend *b, in cryptodev_get_vhost()
|
/qemu/target/ppc/ |
H A D | int_helper.c | 497 void helper_VPRTYBQ(ppc_avr_t *r, ppc_avr_t *b, uint32_t v) in helper_VPRTYBQ() 563 VARITHSAT_SIGNED(b, s8, int16_t, cvtshsb) in VARITHSAT_SIGNED() argument 715 ppc_avr_t *b) in helper_vcmpbfp_dot() 907 ppc_avr_t *b, ppc_avr_t *c) in helper_VMHADDSHS() 925 ppc_avr_t *b, ppc_avr_t *c) in helper_VMHRADDSHS() 968 VMRG(b, u8, VsrB) in VMRG() argument 1004 ppc_avr_t *b, ppc_avr_t *c) in helper_VMSUMSHS() 1055 ppc_avr_t *b, ppc_avr_t *c) in helper_VMSUMUHS() 1628 void helper_vslv(ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b) in helper_vslv() 2285 static int bcd_cmp_mag(ppc_avr_t *a, ppc_avr_t *b) in bcd_cmp_mag() [all …]
|
/qemu/tests/tcg/s390x/ |
H A D | div.c | 8 int32_t b = 101, q, r; in test_dr() local 24 uint32_t b = 101, q, r; in test_dlr() local 40 int64_t b = 101, q, r; in test_dsgr() local 56 uint64_t b = 101, q, r; in test_dlgr() local
|
H A D | add-logical-with-carry.c | 41 static unsigned long test32rm(unsigned long a, unsigned long b, in test32rm() 59 static unsigned long test32mr(unsigned long a, unsigned long b, in test32mr() 77 static unsigned long test64rm(unsigned long a, unsigned long b, in test64rm() 92 static unsigned long test64mr(unsigned long a, unsigned long b, in test64mr() 126 unsigned long a, b, c, sum; in main() local
|
/qemu/tests/tcg/cris/libc/ |
H A D | check_int64.c | 8 static always_inline int64_t add64(const int64_t a, const int64_t b) in add64() 13 static always_inline int64_t sub64(const int64_t a, const int64_t b) in sub64() 21 int64_t b = 2; in main() local
|
H A D | check_addcm.c | 8 static always_inline int cris_addc_m(int a, const int *b) in cris_addc_m() 15 static always_inline int cris_addc_pi_m(int a, int **b) in cris_addc_pi_m() 21 #define verify_addc_m(a, b, res, n, z, v, c) \ argument 30 #define verify_addc_pi_m(a, b, res, n, z, v, c) \ argument
|
H A D | check_bound.c | 7 static always_inline int cris_bound_b(int v, int b) in cris_bound_b() 14 static always_inline int cris_bound_w(int v, int b) in cris_bound_w() 21 static always_inline int cris_bound_d(int v, int b) in cris_bound_d()
|
H A D | check_addc.c | 7 static always_inline int cris_addc(int a, const int b) in cris_addc() 13 #define verify_addc(a, b, res, n, z, v, c) \ argument
|
/qemu/target/microblaze/ |
H A D | op_helper.c | 91 uint32_t helper_divs(CPUMBState *env, uint32_t a, uint32_t b) in helper_divs() 99 uint32_t helper_divu(CPUMBState *env, uint32_t a, uint32_t b) in helper_divu() 144 uint32_t helper_fadd(CPUMBState *env, uint32_t a, uint32_t b) in helper_fadd() 159 uint32_t helper_frsub(CPUMBState *env, uint32_t a, uint32_t b) in helper_frsub() 173 uint32_t helper_fmul(CPUMBState *env, uint32_t a, uint32_t b) in helper_fmul() 188 uint32_t helper_fdiv(CPUMBState *env, uint32_t a, uint32_t b) in helper_fdiv() 203 uint32_t helper_fcmp_un(CPUMBState *env, uint32_t a, uint32_t b) in helper_fcmp_un() 225 uint32_t helper_fcmp_lt(CPUMBState *env, uint32_t a, uint32_t b) in helper_fcmp_lt() 241 uint32_t helper_fcmp_eq(CPUMBState *env, uint32_t a, uint32_t b) in helper_fcmp_eq() 257 uint32_t helper_fcmp_le(CPUMBState *env, uint32_t a, uint32_t b) in helper_fcmp_le() [all …]
|
/qemu/target/alpha/ |
H A D | vax_helper.c | 110 uint64_t helper_addf(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_addf() 120 uint64_t helper_subf(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_subf() 130 uint64_t helper_mulf(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_mulf() 140 uint64_t helper_divf(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_divf() 237 uint64_t helper_addg(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_addg() 247 uint64_t helper_subg(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_subg() 257 uint64_t helper_mulg(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_mulg() 267 uint64_t helper_divg(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_divg() 286 uint64_t helper_cmpgeq(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_cmpgeq() 300 uint64_t helper_cmpgle(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_cmpgle() [all …]
|
H A D | fpu_helper.c | 216 uint64_t helper_adds(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_adds() 228 uint64_t helper_subs(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_subs() 240 uint64_t helper_muls(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_muls() 252 uint64_t helper_divs(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_divs() 293 uint64_t helper_addt(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_addt() 305 uint64_t helper_subt(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_subt() 317 uint64_t helper_mult(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_mult() 329 uint64_t helper_divt(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_divt() 353 uint64_t helper_cmptun(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_cmptun() 369 uint64_t helper_cmpteq(CPUAlphaState *env, uint64_t a, uint64_t b) in helper_cmpteq() [all …]
|
/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 1010 static inline int32_t mipsdsp_cmp_eq(int32_t a, int32_t b) in mipsdsp_cmp_eq() 1050 #define MIPSDSP_SPLIT32_8(num, a, b, c, d) \ argument 1058 #define MIPSDSP_SPLIT32_16(num, a, b) \ argument 1074 #define MIPSDSP_SPLIT64_16(num, a, b, c, d) \ argument 1082 #define MIPSDSP_SPLIT64_32(num, a, b) \ argument 1358 #define PRECR_QB_PH(name, a, b)\ argument 1603 #define PRECEQ_PW(name, a, b) \ argument 1627 #define PRECEQU_PH(name, a, b) \ argument 1649 #define PRECEQU_QH(name, a, b, c, d) \ argument 1676 #define PRECEU_PH(name, a, b) \ argument [all …]
|
/qemu/tests/unit/ |
H A D | test-int128.c | 54 Int128 b = expand(tests[j]); in test_and() local 70 Int128 b = expand(tests[j]); in test_add() local 86 Int128 b = expand(tests[j]); in test_sub() local 128 int32_t b = (int32_t) tests[j]; in test_le() local 142 int32_t b = (int32_t) tests[j]; in test_lt() local 156 int32_t b = (int32_t) tests[j]; in test_ge() local 170 int32_t b = (int32_t) tests[j]; in test_gt() local
|
/qemu/fpu/ |
H A D | softfloat.c | 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() 1944 static double hard_f64_add(double a, double b) in hard_f64_add() 1949 static double hard_f64_sub(double a, double b) in hard_f64_sub() 1986 float32_add(float32 a, float32 b, float_status *s) in float32_add() 1992 float32_sub(float32 a, float32 b, float_status *s) in float32_sub() 1998 float64_add(float64 a, float64 b, float_status *s) in float64_add() 2138 static float hard_f32_mul(float a, float b) in hard_f32_mul() 2143 static double hard_f64_mul(double a, double b) in hard_f64_mul() 2478 static float hard_f32_div(float a, float b) in hard_f32_div() [all …]
|
/qemu/ui/ |
H A D | vnc-enc-zywrle.h | 215 #define ZYWRLE_LOAD_PIXEL15(src, r, g, b) \ argument 223 #define ZYWRLE_SAVE_PIXEL15(dst, r, g, b) \ argument 234 #define ZYWRLE_LOAD_PIXEL16(src, r, g, b) \ argument 242 #define ZYWRLE_SAVE_PIXEL16(dst, r, g,b) \ argument 253 #define ZYWRLE_LOAD_PIXEL32(src, r, g, b) \ argument 259 #define ZYWRLE_SAVE_PIXEL32(dst, r, g, b) \ argument 472 #define ZYWRLE_LOAD_COEFF(src, r, g, b) \ argument 479 #define ZYWRLE_SAVE_COEFF(dst, r, g, b) \ argument 503 #define ZYWRLE_RGBYUV_(r, g, b, y, u, v, ymask, uvmask) \ argument
|