Home
last modified time | relevance | path

Searched refs:vd (Results 1 – 25 of 50) sorted by relevance

12

/qemu/ui/
H A Dvdagent.c139 static void vdagent_send_buf(VDAgentChardev *vd) in vdagent_send_buf() argument
143 while (vd->outbuf->len) { in vdagent_send_buf()
144 len = qemu_chr_be_can_write(CHARDEV(vd)); in vdagent_send_buf()
148 if (len > vd->outbuf->len) { in vdagent_send_buf()
149 len = vd->outbuf->len; in vdagent_send_buf()
151 qemu_chr_be_write(CHARDEV(vd), vd->outbuf->data, len); in vdagent_send_buf()
152 g_byte_array_remove_range(vd->outbuf, 0, len); in vdagent_send_buf()
156 static void vdagent_send_msg(VDAgentChardev *vd, VDAgentMessage *msg) in vdagent_send_msg() argument
167 if (vd->outbuf->len + msgsize > VDAGENT_BUFFER_LIMIT) { in vdagent_send_msg()
178 g_byte_array_append(vd->outbuf, (void *)&chunk, sizeof(chunk)); in vdagent_send_msg()
[all …]
H A Dvnc.c90 vs->vd->num_connecting--; in vnc_set_share_mode()
93 vs->vd->num_shared--; in vnc_set_share_mode()
96 vs->vd->num_exclusive--; in vnc_set_share_mode()
106 vs->vd->num_connecting++; in vnc_set_share_mode()
109 vs->vd->num_shared++; in vnc_set_share_mode()
112 vs->vd->num_exclusive++; in vnc_set_share_mode()
186 static const char *vnc_auth_name(VncDisplay *vd) { in vnc_auth_name() argument
187 switch (vd->auth) { in vnc_auth_name()
205 switch (vd->subauth) { in vnc_auth_name()
233 static VncServerInfo *vnc_server_info_get(VncDisplay *vd) in vnc_server_info_get() argument
[all …]
H A Dvnc-jobs.h43 static inline int vnc_trylock_display(VncDisplay *vd) in vnc_trylock_display() argument
45 return qemu_mutex_trylock(&vd->mutex); in vnc_trylock_display()
48 static inline void vnc_lock_display(VncDisplay *vd) in vnc_lock_display() argument
50 qemu_mutex_lock(&vd->mutex); in vnc_lock_display()
53 static inline void vnc_unlock_display(VncDisplay *vd) in vnc_unlock_display() argument
55 qemu_mutex_unlock(&vd->mutex); in vnc_unlock_display()
/qemu/target/arm/tcg/
H A Dtranslate-vfp.c325 ((a->vm | a->vn | a->vd) & 0x10)) { in trans_VSEL()
329 rd = a->vd; in trans_VSEL()
451 ((a->vm | a->vd) & 0x10)) { in trans_VRINT()
455 rd = a->vd; in trans_VRINT()
522 rd = a->vd; in trans_VCVT()
1054 vfp_store_reg32(tmp, a->vd); in trans_VLDR_VSTR_hp()
1056 vfp_load_reg32(tmp, a->vd); in trans_VLDR_VSTR_hp()
1085 vfp_store_reg32(tmp, a->vd); in trans_VLDR_VSTR_sp()
1087 vfp_load_reg32(tmp, a->vd); in trans_VLDR_VSTR_sp()
1105 if (!dc_isar_feature(aa32_simd_r32, s) && (a->vd & 0x10)) { in trans_VLDR_VSTR_dp()
[all …]
H A Dneon-shared.decode44 vm=%vm_dp vn=%vn_dp vd=%vd_dp size=%vcadd_size
47 vm=%vm_dp vn=%vn_dp vd=%vd_dp size=%vcadd_size
50 vm=%vm_dp vn=%vn_dp vd=%vd_dp
52 vm=%vm_dp vn=%vn_dp vd=%vd_dp
54 vm=%vm_dp vn=%vn_dp vd=%vd_dp
56 vm=%vm_dp vn=%vn_dp vd=%vd_dp
60 vm=%vm_sp vn=%vn_sp vd=%vd_dp q=0
62 vm=%vm_dp vn=%vn_dp vd=%vd_dp q=1
65 vm=%vm_dp vn=%vn_dp vd=%vd_dp
67 vm=%vm_dp vn=%vn_dp vd=%vd_dp
[all …]
H A Dcrypto_helper.c41 static void clear_tail_16(void *vd, uint32_t desc) in clear_tail_16() argument
47 clear_tail(vd, opr_sz, max_sz); in clear_tail_16()
52 void HELPER(crypto_aese)(void *vd, void *vn, void *vm, uint32_t desc) in HELPER()
57 AESState *ad = (AESState *)(vd + i); in HELPER()
78 clear_tail(vd, opr_sz, simd_maxsz(desc)); in HELPER()
81 void HELPER(crypto_aesd)(void *vd, void *vn, void *vm, uint32_t desc) in HELPER()
86 AESState *ad = (AESState *)(vd + i); in HELPER()
103 clear_tail(vd, opr_sz, simd_maxsz(desc)); in HELPER()
106 void HELPER(crypto_aesmc)(void *vd, void *vm, uint32_t desc) in HELPER()
111 AESState *ad = (AESState *)(vd + i); in HELPER()
[all …]
H A Dvfp.decode49 @vfp_dnm_s ................................ vm=%vm_sp vn=%vn_sp vd=%vd_sp
50 @vfp_dnm_d ................................ vm=%vm_dp vn=%vn_dp vd=%vd_dp
52 @vfp_dm_ss ................................ vm=%vm_sp vd=%vd_sp
53 @vfp_dm_dd ................................ vm=%vm_dp vd=%vd_dp
54 @vfp_dm_ds ................................ vm=%vm_sp vd=%vd_dp
55 @vfp_dm_sd ................................ vm=%vm_dp vd=%vd_sp
83 VLDR_VSTR_hp ---- 1101 u:1 .0 l:1 rn:4 .... 1001 imm:8 vd=%vd_sp
84 VLDR_VSTR_sp ---- 1101 u:1 .0 l:1 rn:4 .... 1010 imm:8 vd=%vd_sp
85 VLDR_VSTR_dp ---- 1101 u:1 .0 l:1 rn:4 .... 1011 imm:8 vd=%vd_dp
96 vd=%vd_sp p=0 u=1
[all …]
H A Dtranslate-neon.c121 static bool do_neon_ddda(DisasContext *s, int q, int vd, int vn, int vm, in do_neon_ddda() argument
125 if (((vd | vn | vm) & 0x10) && !dc_isar_feature(aa32_simd_r32, s)) { in do_neon_ddda()
134 if (((vd & 1) * 4 | (vn & 1) * 2 | (vm & 1)) & q) { in do_neon_ddda()
143 tcg_gen_gvec_4_ool(vfp_reg_offset(1, vd), in do_neon_ddda()
146 vfp_reg_offset(1, vd), in do_neon_ddda()
151 static bool do_neon_ddda_env(DisasContext *s, int q, int vd, int vn, int vm, in do_neon_ddda_env() argument
155 if (((vd | vn | vm) & 0x10) && !dc_isar_feature(aa32_simd_r32, s)) { in do_neon_ddda_env()
164 if (((vd & 1) * 4 | (vn & 1) * 2 | (vm & 1)) & q) { in do_neon_ddda_env()
173 tcg_gen_gvec_4_ptr(vfp_reg_offset(1, vd), in do_neon_ddda_env()
176 vfp_reg_offset(1, vd), in do_neon_ddda_env()
[all …]
H A Dvec_helper.c179 void HELPER(sve2_sqrdmlah_b)(void *vd, void *vn, void *vm, in HELPER()
183 int8_t *d = vd, *n = vn, *m = vm, *a = va; in HELPER()
190 void HELPER(sve2_sqrdmlsh_b)(void *vd, void *vn, void *vm, in HELPER()
194 int8_t *d = vd, *n = vn, *m = vm, *a = va; in HELPER()
201 void HELPER(sve2_sqdmulh_b)(void *vd, void *vn, void *vm, uint32_t desc) in HELPER()
204 int8_t *d = vd, *n = vn, *m = vm; in HELPER()
211 void HELPER(sve2_sqrdmulh_b)(void *vd, void *vn, void *vm, uint32_t desc) in HELPER()
214 int8_t *d = vd, *n = vn, *m = vm; in HELPER()
250 void HELPER(gvec_qrdmlah_s16)(void *vd, void *vn, void *vm, in HELPER()
254 int16_t *d = vd; in HELPER()
[all …]
H A Dneon-dp.decode40 &3same vm vn vd q size
43 &3same vm=%vm_dp vn=%vn_dp vd=%vd_dp
46 &3same vm=%vm_dp vn=%vn_dp vd=%vd_dp q=0
55 &3same vm=%vm_dp vn=%vn_dp vd=%vd_dp size=%3same_fp_size
57 &3same vm=%vm_dp vn=%vn_dp vd=%vd_dp q=0 size=%3same_fp_size
68 &3same vm=%vm_dp vn=%vn_dp vd=%vd_dp size=0
101 &3same vn=%vm_dp vm=%vn_dp vd=%vd_dp
149 &3same vm=%vm_dp vn=%vn_dp vd=%vd_dp size=0 q=1
189 &2reg_shift vm vd q shift size
198 &2reg_shift vm=%vm_dp vd=%vd_dp size=3 shift=%neon_rshift_i6
[all …]
H A Dsve_helper.c102 uint32_t HELPER(sve_predtest)(void *vd, void *vg, uint32_t words) in HELPER()
105 uint64_t *d = vd, *g = vg; in HELPER()
127 void HELPER(NAME)(void *vd, void *vn, void *vm, void *vg, uint32_t desc) \
130 uint64_t *d = vd, *n = vn, *m = vm, *g = vg; \
174 void HELPER(NAME)(void *vd, void *vn, void *vm, void *vg, uint32_t desc) \ in LOGICAL_PPPP()
183 *(TYPE *)(vd + H(i)) = OP(nn, mm); \ in LOGICAL_PPPP()
192 void HELPER(NAME)(void *vd, void *vn, void *vm, void *vg, uint32_t desc) \
195 TYPE *d = vd, *n = vn, *m = vm; \
669 void HELPER(NAME)(void *vd, void *vn, void *vm, void *vg, uint32_t desc) \ in DO_ZPZZ()
680 *(TYPE *)(vd + H(i)) = OP(n0, n1); \ in DO_ZPZZ()
[all …]
H A Dvfp-uncond.decode44 @vfp_dnm_s ................................ vm=%vm_sp vn=%vn_sp vd=%vd_sp
45 @vfp_dnm_d ................................ vm=%vm_dp vn=%vn_dp vd=%vd_dp
48 vm=%vm_sp vn=%vn_sp vd=%vd_sp sz=1
50 vm=%vm_sp vn=%vn_sp vd=%vd_sp sz=2
52 vm=%vm_dp vn=%vn_dp vd=%vd_dp sz=3
64 vm=%vm_sp vd=%vd_sp sz=1
66 vm=%vm_sp vd=%vd_sp sz=2
68 vm=%vm_dp vd=%vd_dp sz=3
72 vm=%vm_sp vd=%vd_sp sz=1
74 vm=%vm_sp vd=%vd_sp sz=2
[all …]
H A Dsve_ldst_internal.h29 typedef void sve_ldst1_host_fn(void *vd, intptr_t reg_off, void *host);
35 typedef void sve_ldst1_tlb_fn(CPUARMState *env, void *vd, intptr_t reg_off,
43 static inline void sve_##NAME##_host(void *vd, intptr_t reg_off, void *host) \
44 { TYPEM val = HOST(host); *(TYPEE *)(vd + H(reg_off)) = val; }
47 static inline void sve_##NAME##_host(void *vd, intptr_t reg_off, void *host) \
48 { TYPEM val = *(TYPEE *)(vd + H(reg_off)); HOST(host, val); }
51 static inline void sve_##NAME##_tlb(CPUARMState *env, void *vd, \
55 *(TYPEE *)(vd + H(reg_off)) = val; \
59 static inline void sve_##NAME##_tlb(CPUARMState *env, void *vd, \
62 TYPEM val = *(TYPEE *)(vd + H(reg_off)); \
H A Dmve_helper.c152 void HELPER(mve_##OP)(CPUARMState *env, void *vd, uint32_t addr) \
154 TYPE *d = vd; \
174 void HELPER(mve_##OP)(CPUARMState *env, void *vd, uint32_t addr) \
176 TYPE *d = vd; \
218 void HELPER(mve_##OP)(CPUARMState *env, void *vd, void *vm, \
221 TYPE *d = vd; \
243 void HELPER(mve_##OP)(CPUARMState *env, void *vd, void *vm, \
246 TYPE *d = vd; \
276 void HELPER(mve_##OP)(CPUARMState *env, void *vd, void *vm, \
279 uint32_t *d = vd; \
[all …]
/qemu/tests/tcg/s390x/
H A Dvxeh2_vcvt.c57 S390Vector vd; in main() local
63 vd.d[0] = vd.d[1] = 0; in main()
64 vcfps(&vd, &vs_i32, 2, M4_def, 0); in main()
65 if (1 != vd.f[0] || 1024 != vd.f[2] || 64 != vd.f[1] || -10 != vd.f[3]) { in main()
69 vd.d[0] = vd.d[1] = 0; in main()
70 vcfpl(&vd, &vs_u32, 2, M4_def, 0); in main()
71 if (2 != vd.f[0] || 4096 != vd.f[2] || 32 != vd.f[1] || 8888 != vd.f[3]) { in main()
75 vd.d[0] = vd.d[1] = 0; in main()
76 vcsfp(&vd, &vs_f32, 2, M4_def, 0); in main()
77 if (4 != vd.w[0] || 4 != vd.w[2] || 5 != vd.w[1] || 1 != vd.w[3]) { in main()
[all …]
H A Dvistr.c21 S390Vector vd = {}; in main() local
31 vistr(&vd, &vs16, 1, 0); in main()
32 if (vd.h[0] != 0x1234 || vd.h[1] != 0x0056 || vd.h[2] != 0x7800 || in main()
33 vd.h[3] || vd.h[4] || vd.h[5] || vd.h[6] || vd.h[7]) { in main()
38 vistr(&vd, &vs32, 2, 0); in main()
39 if (vd.w[0] != 0x12340000 || vd.w[1] != 0x78654300 || vd.w[2] || vd.w[3]) { in main()
H A Dvxeh2_vlstr.c87 S390Vector vd = { .d[0] = 0, .d[1] = 0 }; in main() local
102 vler(&vd, &vs, ES16); in main()
103 vtst(vd, vt_v_er16); in main()
105 vster(&vs, &vd, ES16); in main()
106 vtst(vd, vt_v_er16); in main()
108 vlbr(&vd, &vs, ES16); in main()
109 vtst(vd, vt_v_br16); in main()
111 vstbr(&vs, &vd, ES16); in main()
112 vtst(vd, vt_v_br16); in main()
114 vlebrh(&vd, &ss64, 5); in main()
[all …]
H A Dvxeh2_vs.c70 S390Vector vd = { .d[0] = 0, .d[1] = 0 }; in main() local
77 vsl(&vd, &vs, &vsi); in main()
78 vtst(vd, vt_vsl); in main()
80 vsra(&vd, &vs, &vsi); in main()
81 vtst(vd, vt_vsra); in main()
83 vsrl(&vd, &vs, &vsi); in main()
84 vtst(vd, vt_vsrl); in main()
86 vsld(&vd, &vs, &vsi, 3); in main()
87 vtst(vd, vt_vsld); in main()
89 vsrd(&vd, &vs, &vsi, 15); in main()
[all …]
/qemu/target/riscv/
H A Dvcrypto_helper.c217 void HELPER(NAME)(void *vd, void *vs2, CPURISCVState *env, \
231 round_state.d[0] = *((uint64_t *)vd + H8(i * 2 + 0)); \
232 round_state.d[1] = *((uint64_t *)vd + H8(i * 2 + 1)); \
234 *((uint64_t *)vd + H8(i * 2 + 0)) = round_state.d[0]; \
235 *((uint64_t *)vd + H8(i * 2 + 1)) = round_state.d[1]; \
239 vext_set_elems_1s(vd, vta, vl * 4, total_elems * 4); \
243 void HELPER(NAME)(void *vd, void *vs2, CPURISCVState *env, \
257 round_state.d[0] = *((uint64_t *)vd + H8(i * 2 + 0)); \
258 round_state.d[1] = *((uint64_t *)vd + H8(i * 2 + 1)); \
260 *((uint64_t *)vd + H8(i * 2 + 0)) = round_state.d[0]; \
[all …]
H A Dvector_internals.h144 static void do_##NAME(void *vd, void *vs2, int i) \
147 *((TD *)vd + HD(i)) = OP(s2); \
151 void HELPER(NAME)(void *vd, void *v0, void *vs2, \
167 vext_set_elems_1s(vd, vma, i * ESZ, \
171 do_##NAME(vd, vs2, i); \
175 vext_set_elems_1s(vd, vta, vl * ESZ, \
180 typedef void opivv2_fn(void *vd, void *vs1, void *vs2, int i);
183 static void do_##NAME(void *vd, void *vs1, void *vs2, int i) \
187 *((TD *)vd + HD(i)) = OP(s2, s1); \
190 void do_vext_vv(void *vd, void *v0, void *vs1, void *vs2,
[all …]
H A Dvector_internals.c58 void do_vext_vv(void *vd, void *v0, void *vs1, void *vs2, in do_vext_vv() argument
74 vext_set_elems_1s(vd, vma, i * esz, (i + 1) * esz); in do_vext_vv()
77 fn(vd, vs1, vs2, i); in do_vext_vv()
81 vext_set_elems_1s(vd, vta, vl * esz, total_elems * esz); in do_vext_vv()
84 void do_vext_vx(void *vd, void *v0, target_long s1, void *vs2, in do_vext_vx() argument
100 vext_set_elems_1s(vd, vma, i * esz, (i + 1) * esz); in do_vext_vx()
103 fn(vd, s1, vs2, i); in do_vext_vx()
107 vext_set_elems_1s(vd, vta, vl * esz, total_elems * esz); in do_vext_vx()
H A Dvector_helper.c167 uint32_t idx, void *vd, uintptr_t retaddr);
168 typedef void vext_ldst_elem_fn_host(void *vd, uint32_t idx, void *host);
173 uint32_t idx, void *vd, uintptr_t retaddr) \
175 ETYPE *cur = ((ETYPE *)vd + H(idx)); \
180 void NAME##_host(void *vd, uint32_t idx, void *host) \
182 ETYPE *cur = ((ETYPE *)vd + H(idx)); \
194 uint32_t idx, void *vd, uintptr_t retaddr) \ in GEN_VEXT_LD_ELEM()
196 ETYPE data = *((ETYPE *)vd + H(idx)); \ in GEN_VEXT_LD_ELEM()
201 void NAME##_host(void *vd, uint32_t idx, void *host) \
203 ETYPE data = *((ETYPE *)vd + H(idx)); \
[all …]
/qemu/tcg/loongarch64/
H A Dtcg-insn-defs.c.inc837 encode_vdj_insn(LoongArchInsn opc, TCGReg vd, TCGReg j)
839 tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
841 return encode_dj_slots(opc, vd & 0x1f, j);
845 encode_vdjk_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, TCGReg k)
847 tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
850 return encode_djk_slots(opc, vd & 0x1f, j, k);
854 encode_vdjsk10_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk10)
856 tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
859 return encode_djk_slots(opc, vd & 0x1f, j, sk10 & 0x3ff);
863 encode_vdjsk11_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk11)
[all …]
/qemu/target/loongarch/tcg/
H A Dvec_helper.c18 void HELPER(NAME)(void *vd, void *vj, void *vk, uint32_t desc) \
21 VReg *Vd = (VReg *)vd; \
36 void HELPER(vhaddw_q_d)(void *vd, void *vj, void *vk, uint32_t desc) in HELPER()
39 VReg *Vd = (VReg *)vd; in HELPER()
54 void HELPER(vhsubw_q_d)(void *vd, void *vj, void *vk, uint32_t desc) in HELPER()
57 VReg *Vd = (VReg *)vd; in HELPER()
72 void HELPER(vhaddw_qu_du)(void *vd, void *vj, void *vk, uint32_t desc) in HELPER()
75 VReg *Vd = (VReg *)vd; in HELPER()
90 void HELPER(vhsubw_qu_du)(void *vd, void *vj, void *vk, uint32_t desc) in HELPER()
93 VReg *Vd = (VReg *)vd; in HELPER()
[all …]
/qemu/target/mips/tcg/
H A Dlmmi_helper.c249 LMIValue vd, vs; in helper_pshufh() local
253 vd.d = 0; in helper_pshufh()
255 vd.uh[i ^ host] = vs.uh[(ft & 3) ^ host]; in helper_pshufh()
257 return vd.d; in helper_pshufh()
335 LMIValue vd, vs, vt; in helper_punpcklhw() local
339 vd.uh[0 ^ host] = vs.uh[0 ^ host]; in helper_punpcklhw()
340 vd.uh[1 ^ host] = vt.uh[0 ^ host]; in helper_punpcklhw()
341 vd.uh[2 ^ host] = vs.uh[1 ^ host]; in helper_punpcklhw()
342 vd.uh[3 ^ host] = vt.uh[1 ^ host]; in helper_punpcklhw()
344 return vd.d; in helper_punpcklhw()
[all …]

12