1 DEF_HELPER_FLAGS_2(div_i32
, TCG_CALL_NO_RWG_SE
, s32
, s32
, s32
)
2 DEF_HELPER_FLAGS_2(rem_i32
, TCG_CALL_NO_RWG_SE
, s32
, s32
, s32
)
3 DEF_HELPER_FLAGS_2(divu_i32
, TCG_CALL_NO_RWG_SE
, i32
, i32
, i32
)
4 DEF_HELPER_FLAGS_2(remu_i32
, TCG_CALL_NO_RWG_SE
, i32
, i32
, i32
)
6 DEF_HELPER_FLAGS_2(div_i64
, TCG_CALL_NO_RWG_SE
, s64
, s64
, s64
)
7 DEF_HELPER_FLAGS_2(rem_i64
, TCG_CALL_NO_RWG_SE
, s64
, s64
, s64
)
8 DEF_HELPER_FLAGS_2(divu_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
9 DEF_HELPER_FLAGS_2(remu_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
11 DEF_HELPER_FLAGS_2(shl_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
12 DEF_HELPER_FLAGS_2(shr_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
13 DEF_HELPER_FLAGS_2(sar_i64
, TCG_CALL_NO_RWG_SE
, s64
, s64
, s64
)
15 DEF_HELPER_FLAGS_2(mulsh_i64
, TCG_CALL_NO_RWG_SE
, s64
, s64
, s64
)
16 DEF_HELPER_FLAGS_2(muluh_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
18 DEF_HELPER_FLAGS_2(clz_i32
, TCG_CALL_NO_RWG_SE
, i32
, i32
, i32
)
19 DEF_HELPER_FLAGS_2(ctz_i32
, TCG_CALL_NO_RWG_SE
, i32
, i32
, i32
)
20 DEF_HELPER_FLAGS_2(clz_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
21 DEF_HELPER_FLAGS_2(ctz_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
, i64
)
22 DEF_HELPER_FLAGS_1(clrsb_i32
, TCG_CALL_NO_RWG_SE
, i32
, i32
)
23 DEF_HELPER_FLAGS_1(clrsb_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
)
24 DEF_HELPER_FLAGS_1(ctpop_i32
, TCG_CALL_NO_RWG_SE
, i32
, i32
)
25 DEF_HELPER_FLAGS_1(ctpop_i64
, TCG_CALL_NO_RWG_SE
, i64
, i64
)
27 DEF_HELPER_FLAGS_1(lookup_tb_ptr
, TCG_CALL_NO_WG_SE
, cptr
, env
)
29 DEF_HELPER_FLAGS_1(exit_atomic
, TCG_CALL_NO_WG
, noreturn
, env
)
31 #ifndef IN_HELPER_PROTO
33 * Pass calls to memset directly to libc, without a thunk in qemu.
34 * Do not re-declare memset, especially since we fudge the type here;
35 * we assume sizeof(void *) == sizeof(size_t), which is true for
36 * all supported hosts.
38 #define helper_memset memset
39 DEF_HELPER_FLAGS_3(memset
, TCG_CALL_NO_RWG
, ptr
, ptr
, int, ptr
)
40 #endif /* IN_HELPER_PROTO */
44 DEF_HELPER_FLAGS_5(atomic_cmpxchgb
, TCG_CALL_NO_WG
,
45 i32
, env
, tl
, i32
, i32
, i32
)
46 DEF_HELPER_FLAGS_5(atomic_cmpxchgw_be
, TCG_CALL_NO_WG
,
47 i32
, env
, tl
, i32
, i32
, i32
)
48 DEF_HELPER_FLAGS_5(atomic_cmpxchgw_le
, TCG_CALL_NO_WG
,
49 i32
, env
, tl
, i32
, i32
, i32
)
50 DEF_HELPER_FLAGS_5(atomic_cmpxchgl_be
, TCG_CALL_NO_WG
,
51 i32
, env
, tl
, i32
, i32
, i32
)
52 DEF_HELPER_FLAGS_5(atomic_cmpxchgl_le
, TCG_CALL_NO_WG
,
53 i32
, env
, tl
, i32
, i32
, i32
)
54 #ifdef CONFIG_ATOMIC64
55 DEF_HELPER_FLAGS_5(atomic_cmpxchgq_be
, TCG_CALL_NO_WG
,
56 i64
, env
, tl
, i64
, i64
, i32
)
57 DEF_HELPER_FLAGS_5(atomic_cmpxchgq_le
, TCG_CALL_NO_WG
,
58 i64
, env
, tl
, i64
, i64
, i32
)
61 #ifdef CONFIG_ATOMIC64
62 #define GEN_ATOMIC_HELPERS(NAME) \
63 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), b), \
64 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
65 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), w_le), \
66 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
67 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), w_be), \
68 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
69 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), l_le), \
70 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
71 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), l_be), \
72 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
73 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), q_le), \
74 TCG_CALL_NO_WG, i64, env, tl, i64, i32) \
75 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), q_be), \
76 TCG_CALL_NO_WG, i64, env, tl, i64, i32)
78 #define GEN_ATOMIC_HELPERS(NAME) \
79 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), b), \
80 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
81 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), w_le), \
82 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
83 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), w_be), \
84 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
85 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), l_le), \
86 TCG_CALL_NO_WG, i32, env, tl, i32, i32) \
87 DEF_HELPER_FLAGS_4(glue(glue(atomic_, NAME), l_be), \
88 TCG_CALL_NO_WG, i32, env, tl, i32, i32)
89 #endif /* CONFIG_ATOMIC64 */
93 DEF_HELPER_FLAGS_4(atomic_cmpxchgb
, TCG_CALL_NO_WG
, i32
, env
, tl
, i32
, i32
)
94 DEF_HELPER_FLAGS_4(atomic_cmpxchgw_be
, TCG_CALL_NO_WG
, i32
, env
, tl
, i32
, i32
)
95 DEF_HELPER_FLAGS_4(atomic_cmpxchgw_le
, TCG_CALL_NO_WG
, i32
, env
, tl
, i32
, i32
)
96 DEF_HELPER_FLAGS_4(atomic_cmpxchgl_be
, TCG_CALL_NO_WG
, i32
, env
, tl
, i32
, i32
)
97 DEF_HELPER_FLAGS_4(atomic_cmpxchgl_le
, TCG_CALL_NO_WG
, i32
, env
, tl
, i32
, i32
)
98 #ifdef CONFIG_ATOMIC64
99 DEF_HELPER_FLAGS_4(atomic_cmpxchgq_be
, TCG_CALL_NO_WG
, i64
, env
, tl
, i64
, i64
)
100 DEF_HELPER_FLAGS_4(atomic_cmpxchgq_le
, TCG_CALL_NO_WG
, i64
, env
, tl
, i64
, i64
)
103 #ifdef CONFIG_ATOMIC64
104 #define GEN_ATOMIC_HELPERS(NAME) \
105 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), b), \
106 TCG_CALL_NO_WG, i32, env, tl, i32) \
107 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), w_le), \
108 TCG_CALL_NO_WG, i32, env, tl, i32) \
109 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), w_be), \
110 TCG_CALL_NO_WG, i32, env, tl, i32) \
111 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), l_le), \
112 TCG_CALL_NO_WG, i32, env, tl, i32) \
113 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), l_be), \
114 TCG_CALL_NO_WG, i32, env, tl, i32) \
115 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), q_le), \
116 TCG_CALL_NO_WG, i64, env, tl, i64) \
117 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), q_be), \
118 TCG_CALL_NO_WG, i64, env, tl, i64)
120 #define GEN_ATOMIC_HELPERS(NAME) \
121 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), b), \
122 TCG_CALL_NO_WG, i32, env, tl, i32) \
123 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), w_le), \
124 TCG_CALL_NO_WG, i32, env, tl, i32) \
125 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), w_be), \
126 TCG_CALL_NO_WG, i32, env, tl, i32) \
127 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), l_le), \
128 TCG_CALL_NO_WG, i32, env, tl, i32) \
129 DEF_HELPER_FLAGS_3(glue(glue(atomic_, NAME), l_be), \
130 TCG_CALL_NO_WG, i32, env, tl, i32)
131 #endif /* CONFIG_ATOMIC64 */
133 #endif /* CONFIG_SOFTMMU */
135 GEN_ATOMIC_HELPERS(fetch_add
)
136 GEN_ATOMIC_HELPERS(fetch_and
)
137 GEN_ATOMIC_HELPERS(fetch_or
)
138 GEN_ATOMIC_HELPERS(fetch_xor
)
139 GEN_ATOMIC_HELPERS(fetch_smin
)
140 GEN_ATOMIC_HELPERS(fetch_umin
)
141 GEN_ATOMIC_HELPERS(fetch_smax
)
142 GEN_ATOMIC_HELPERS(fetch_umax
)
144 GEN_ATOMIC_HELPERS(add_fetch
)
145 GEN_ATOMIC_HELPERS(and_fetch
)
146 GEN_ATOMIC_HELPERS(or_fetch
)
147 GEN_ATOMIC_HELPERS(xor_fetch
)
148 GEN_ATOMIC_HELPERS(smin_fetch
)
149 GEN_ATOMIC_HELPERS(umin_fetch
)
150 GEN_ATOMIC_HELPERS(smax_fetch
)
151 GEN_ATOMIC_HELPERS(umax_fetch
)
153 GEN_ATOMIC_HELPERS(xchg
)
155 #undef GEN_ATOMIC_HELPERS
157 DEF_HELPER_FLAGS_3(gvec_mov
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
159 DEF_HELPER_FLAGS_3(gvec_dup8
, TCG_CALL_NO_RWG
, void, ptr
, i32
, i32
)
160 DEF_HELPER_FLAGS_3(gvec_dup16
, TCG_CALL_NO_RWG
, void, ptr
, i32
, i32
)
161 DEF_HELPER_FLAGS_3(gvec_dup32
, TCG_CALL_NO_RWG
, void, ptr
, i32
, i32
)
162 DEF_HELPER_FLAGS_3(gvec_dup64
, TCG_CALL_NO_RWG
, void, ptr
, i32
, i64
)
164 DEF_HELPER_FLAGS_4(gvec_add8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
165 DEF_HELPER_FLAGS_4(gvec_add16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
166 DEF_HELPER_FLAGS_4(gvec_add32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
167 DEF_HELPER_FLAGS_4(gvec_add64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
169 DEF_HELPER_FLAGS_4(gvec_adds8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
170 DEF_HELPER_FLAGS_4(gvec_adds16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
171 DEF_HELPER_FLAGS_4(gvec_adds32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
172 DEF_HELPER_FLAGS_4(gvec_adds64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
174 DEF_HELPER_FLAGS_4(gvec_sub8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
175 DEF_HELPER_FLAGS_4(gvec_sub16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
176 DEF_HELPER_FLAGS_4(gvec_sub32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
177 DEF_HELPER_FLAGS_4(gvec_sub64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
179 DEF_HELPER_FLAGS_4(gvec_subs8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
180 DEF_HELPER_FLAGS_4(gvec_subs16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
181 DEF_HELPER_FLAGS_4(gvec_subs32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
182 DEF_HELPER_FLAGS_4(gvec_subs64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
184 DEF_HELPER_FLAGS_4(gvec_mul8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
185 DEF_HELPER_FLAGS_4(gvec_mul16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
186 DEF_HELPER_FLAGS_4(gvec_mul32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
187 DEF_HELPER_FLAGS_4(gvec_mul64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
189 DEF_HELPER_FLAGS_4(gvec_muls8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
190 DEF_HELPER_FLAGS_4(gvec_muls16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
191 DEF_HELPER_FLAGS_4(gvec_muls32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
192 DEF_HELPER_FLAGS_4(gvec_muls64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
194 DEF_HELPER_FLAGS_4(gvec_ssadd8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
195 DEF_HELPER_FLAGS_4(gvec_ssadd16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
196 DEF_HELPER_FLAGS_4(gvec_ssadd32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
197 DEF_HELPER_FLAGS_4(gvec_ssadd64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
199 DEF_HELPER_FLAGS_4(gvec_sssub8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
200 DEF_HELPER_FLAGS_4(gvec_sssub16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
201 DEF_HELPER_FLAGS_4(gvec_sssub32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
202 DEF_HELPER_FLAGS_4(gvec_sssub64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
204 DEF_HELPER_FLAGS_4(gvec_usadd8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
205 DEF_HELPER_FLAGS_4(gvec_usadd16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
206 DEF_HELPER_FLAGS_4(gvec_usadd32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
207 DEF_HELPER_FLAGS_4(gvec_usadd64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
209 DEF_HELPER_FLAGS_4(gvec_ussub8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
210 DEF_HELPER_FLAGS_4(gvec_ussub16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
211 DEF_HELPER_FLAGS_4(gvec_ussub32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
212 DEF_HELPER_FLAGS_4(gvec_ussub64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
214 DEF_HELPER_FLAGS_4(gvec_smin8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
215 DEF_HELPER_FLAGS_4(gvec_smin16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
216 DEF_HELPER_FLAGS_4(gvec_smin32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
217 DEF_HELPER_FLAGS_4(gvec_smin64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
219 DEF_HELPER_FLAGS_4(gvec_smax8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
220 DEF_HELPER_FLAGS_4(gvec_smax16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
221 DEF_HELPER_FLAGS_4(gvec_smax32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
222 DEF_HELPER_FLAGS_4(gvec_smax64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
224 DEF_HELPER_FLAGS_4(gvec_umin8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
225 DEF_HELPER_FLAGS_4(gvec_umin16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
226 DEF_HELPER_FLAGS_4(gvec_umin32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
227 DEF_HELPER_FLAGS_4(gvec_umin64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
229 DEF_HELPER_FLAGS_4(gvec_umax8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
230 DEF_HELPER_FLAGS_4(gvec_umax16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
231 DEF_HELPER_FLAGS_4(gvec_umax32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
232 DEF_HELPER_FLAGS_4(gvec_umax64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
234 DEF_HELPER_FLAGS_3(gvec_neg8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
235 DEF_HELPER_FLAGS_3(gvec_neg16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
236 DEF_HELPER_FLAGS_3(gvec_neg32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
237 DEF_HELPER_FLAGS_3(gvec_neg64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
239 DEF_HELPER_FLAGS_3(gvec_abs8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
240 DEF_HELPER_FLAGS_3(gvec_abs16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
241 DEF_HELPER_FLAGS_3(gvec_abs32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
242 DEF_HELPER_FLAGS_3(gvec_abs64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
244 DEF_HELPER_FLAGS_3(gvec_not
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
245 DEF_HELPER_FLAGS_4(gvec_and
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
246 DEF_HELPER_FLAGS_4(gvec_or
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
247 DEF_HELPER_FLAGS_4(gvec_xor
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
248 DEF_HELPER_FLAGS_4(gvec_andc
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
249 DEF_HELPER_FLAGS_4(gvec_orc
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
250 DEF_HELPER_FLAGS_4(gvec_nand
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
251 DEF_HELPER_FLAGS_4(gvec_nor
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
252 DEF_HELPER_FLAGS_4(gvec_eqv
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
254 DEF_HELPER_FLAGS_4(gvec_ands
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
255 DEF_HELPER_FLAGS_4(gvec_xors
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
256 DEF_HELPER_FLAGS_4(gvec_ors
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i64
, i32
)
258 DEF_HELPER_FLAGS_3(gvec_shl8i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
259 DEF_HELPER_FLAGS_3(gvec_shl16i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
260 DEF_HELPER_FLAGS_3(gvec_shl32i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
261 DEF_HELPER_FLAGS_3(gvec_shl64i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
263 DEF_HELPER_FLAGS_3(gvec_shr8i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
264 DEF_HELPER_FLAGS_3(gvec_shr16i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
265 DEF_HELPER_FLAGS_3(gvec_shr32i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
266 DEF_HELPER_FLAGS_3(gvec_shr64i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
268 DEF_HELPER_FLAGS_3(gvec_sar8i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
269 DEF_HELPER_FLAGS_3(gvec_sar16i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
270 DEF_HELPER_FLAGS_3(gvec_sar32i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
271 DEF_HELPER_FLAGS_3(gvec_sar64i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
273 DEF_HELPER_FLAGS_3(gvec_rotl8i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
274 DEF_HELPER_FLAGS_3(gvec_rotl16i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
275 DEF_HELPER_FLAGS_3(gvec_rotl32i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
276 DEF_HELPER_FLAGS_3(gvec_rotl64i
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, i32
)
278 DEF_HELPER_FLAGS_4(gvec_shl8v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
279 DEF_HELPER_FLAGS_4(gvec_shl16v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
280 DEF_HELPER_FLAGS_4(gvec_shl32v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
281 DEF_HELPER_FLAGS_4(gvec_shl64v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
283 DEF_HELPER_FLAGS_4(gvec_shr8v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
284 DEF_HELPER_FLAGS_4(gvec_shr16v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
285 DEF_HELPER_FLAGS_4(gvec_shr32v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
286 DEF_HELPER_FLAGS_4(gvec_shr64v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
288 DEF_HELPER_FLAGS_4(gvec_sar8v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
289 DEF_HELPER_FLAGS_4(gvec_sar16v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
290 DEF_HELPER_FLAGS_4(gvec_sar32v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
291 DEF_HELPER_FLAGS_4(gvec_sar64v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
293 DEF_HELPER_FLAGS_4(gvec_rotl8v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
294 DEF_HELPER_FLAGS_4(gvec_rotl16v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
295 DEF_HELPER_FLAGS_4(gvec_rotl32v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
296 DEF_HELPER_FLAGS_4(gvec_rotl64v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
298 DEF_HELPER_FLAGS_4(gvec_rotr8v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
299 DEF_HELPER_FLAGS_4(gvec_rotr16v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
300 DEF_HELPER_FLAGS_4(gvec_rotr32v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
301 DEF_HELPER_FLAGS_4(gvec_rotr64v
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
303 DEF_HELPER_FLAGS_4(gvec_eq8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
304 DEF_HELPER_FLAGS_4(gvec_eq16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
305 DEF_HELPER_FLAGS_4(gvec_eq32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
306 DEF_HELPER_FLAGS_4(gvec_eq64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
308 DEF_HELPER_FLAGS_4(gvec_ne8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
309 DEF_HELPER_FLAGS_4(gvec_ne16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
310 DEF_HELPER_FLAGS_4(gvec_ne32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
311 DEF_HELPER_FLAGS_4(gvec_ne64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
313 DEF_HELPER_FLAGS_4(gvec_lt8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
314 DEF_HELPER_FLAGS_4(gvec_lt16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
315 DEF_HELPER_FLAGS_4(gvec_lt32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
316 DEF_HELPER_FLAGS_4(gvec_lt64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
318 DEF_HELPER_FLAGS_4(gvec_le8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
319 DEF_HELPER_FLAGS_4(gvec_le16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
320 DEF_HELPER_FLAGS_4(gvec_le32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
321 DEF_HELPER_FLAGS_4(gvec_le64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
323 DEF_HELPER_FLAGS_4(gvec_ltu8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
324 DEF_HELPER_FLAGS_4(gvec_ltu16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
325 DEF_HELPER_FLAGS_4(gvec_ltu32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
326 DEF_HELPER_FLAGS_4(gvec_ltu64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
328 DEF_HELPER_FLAGS_4(gvec_leu8
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
329 DEF_HELPER_FLAGS_4(gvec_leu16
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
330 DEF_HELPER_FLAGS_4(gvec_leu32
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
331 DEF_HELPER_FLAGS_4(gvec_leu64
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, i32
)
333 DEF_HELPER_FLAGS_5(gvec_bitsel
, TCG_CALL_NO_RWG
, void, ptr
, ptr
, ptr
, ptr
, i32
)