Lines Matching +full:reg +full:- +full:shift

19 #if SHIFT == 0
20 #define Reg MMXReg
23 #define Reg ZMMReg
24 #if SHIFT == 1
34 #define dh_ctype_Reg Reg *
41 DEF_HELPER_4(glue(psrlw, SUFFIX), void, env, Reg, Reg, Reg)
42 DEF_HELPER_4(glue(psraw, SUFFIX), void, env, Reg, Reg, Reg)
43 DEF_HELPER_4(glue(psllw, SUFFIX), void, env, Reg, Reg, Reg)
44 DEF_HELPER_4(glue(psrld, SUFFIX), void, env, Reg, Reg, Reg)
45 DEF_HELPER_4(glue(psrad, SUFFIX), void, env, Reg, Reg, Reg)
46 DEF_HELPER_4(glue(pslld, SUFFIX), void, env, Reg, Reg, Reg)
47 DEF_HELPER_4(glue(psrlq, SUFFIX), void, env, Reg, Reg, Reg)
48 DEF_HELPER_4(glue(psllq, SUFFIX), void, env, Reg, Reg, Reg)
50 #if SHIFT >= 1
51 DEF_HELPER_4(glue(psrldq, SUFFIX), void, env, Reg, Reg, Reg)
52 DEF_HELPER_4(glue(pslldq, SUFFIX), void, env, Reg, Reg, Reg)
56 DEF_HELPER_4(glue(name, SUFFIX), void, env, Reg, Reg, Reg)
59 DEF_HELPER_4(glue(name, SUFFIX), void, env, Reg, Reg, Reg)
62 DEF_HELPER_4(glue(name, SUFFIX), void, env, Reg, Reg, Reg)
65 DEF_HELPER_4(glue(name, SUFFIX), void, env, Reg, Reg, Reg)
67 #if SHIFT == 0
68 DEF_HELPER_3(glue(pmulhrw, SUFFIX), void, env, Reg, Reg)
76 DEF_HELPER_4(glue(pmuludq, SUFFIX), void, env, Reg, Reg, Reg)
77 DEF_HELPER_4(glue(pmaddwd, SUFFIX), void, env, Reg, Reg, Reg)
79 DEF_HELPER_4(glue(psadbw, SUFFIX), void, env, Reg, Reg, Reg)
80 #if SHIFT < 2
81 DEF_HELPER_4(glue(maskmov, SUFFIX), void, env, Reg, Reg, tl)
84 #if SHIFT == 0
85 DEF_HELPER_3(glue(pshufw, SUFFIX), void, Reg, Reg, int)
87 DEF_HELPER_3(glue(pshufd, SUFFIX), void, Reg, Reg, int)
88 DEF_HELPER_3(glue(pshuflw, SUFFIX), void, Reg, Reg, int)
89 DEF_HELPER_3(glue(pshufhw, SUFFIX), void, Reg, Reg, int)
92 #if SHIFT >= 1
97 DEF_HELPER_4(glue(name ## ps, SUFFIX), void, env, Reg, Reg, Reg) \
98 DEF_HELPER_4(glue(name ## pd, SUFFIX), void, env, Reg, Reg, Reg)
101 DEF_HELPER_3(glue(name ## ps, SUFFIX), void, env, Reg, Reg) \
102 DEF_HELPER_3(glue(name ## pd, SUFFIX), void, env, Reg, Reg)
104 #if SHIFT == 1
107 DEF_HELPER_4(name ## ss, void, env, Reg, Reg, Reg) \
108 DEF_HELPER_4(name ## sd, void, env, Reg, Reg, Reg)
111 DEF_HELPER_4(name ## ss, void, env, Reg, Reg, Reg) \
112 DEF_HELPER_4(name ## sd, void, env, Reg, Reg, Reg)
118 DEF_HELPER_4(glue(shufps, SUFFIX), void, Reg, Reg, Reg, int)
119 DEF_HELPER_4(glue(shufpd, SUFFIX), void, Reg, Reg, Reg, int)
130 DEF_HELPER_3(glue(cvtps2pd, SUFFIX), void, env, Reg, Reg)
131 DEF_HELPER_3(glue(cvtpd2ps, SUFFIX), void, env, Reg, Reg)
132 DEF_HELPER_3(glue(cvtdq2ps, SUFFIX), void, env, Reg, Reg)
133 DEF_HELPER_3(glue(cvtdq2pd, SUFFIX), void, env, Reg, Reg)
141 #if SHIFT == 1
142 DEF_HELPER_4(cvtss2sd, void, env, Reg, Reg, Reg)
143 DEF_HELPER_4(cvtsd2ss, void, env, Reg, Reg, Reg)
176 #if SHIFT == 1
227 #if SHIFT == 1
228 DEF_HELPER_3(ucomiss, void, env, Reg, Reg)
229 DEF_HELPER_3(comiss, void, env, Reg, Reg)
230 DEF_HELPER_3(ucomisd, void, env, Reg, Reg)
231 DEF_HELPER_3(comisd, void, env, Reg, Reg)
234 DEF_HELPER_2(glue(movmskps, SUFFIX), i32, env, Reg)
235 DEF_HELPER_2(glue(movmskpd, SUFFIX), i32, env, Reg)
238 DEF_HELPER_4(glue(packsswb, SUFFIX), void, env, Reg, Reg, Reg)
239 DEF_HELPER_4(glue(packuswb, SUFFIX), void, env, Reg, Reg, Reg)
240 DEF_HELPER_4(glue(packssdw, SUFFIX), void, env, Reg, Reg, Reg)
242 DEF_HELPER_4(glue(punpck ## name ## bw, SUFFIX), void, env, Reg, Reg, Reg) \
243 DEF_HELPER_4(glue(punpck ## name ## wd, SUFFIX), void, env, Reg, Reg, Reg) \
244 DEF_HELPER_4(glue(punpck ## name ## dq, SUFFIX), void, env, Reg, Reg, Reg)
249 #if SHIFT >= 1
250 DEF_HELPER_4(glue(punpcklqdq, SUFFIX), void, env, Reg, Reg, Reg)
251 DEF_HELPER_4(glue(punpckhqdq, SUFFIX), void, env, Reg, Reg, Reg)
255 #if SHIFT == 0
278 DEF_HELPER_4(glue(phaddw, SUFFIX), void, env, Reg, Reg, Reg)
279 DEF_HELPER_4(glue(phaddd, SUFFIX), void, env, Reg, Reg, Reg)
280 DEF_HELPER_4(glue(phaddsw, SUFFIX), void, env, Reg, Reg, Reg)
281 DEF_HELPER_4(glue(phsubw, SUFFIX), void, env, Reg, Reg, Reg)
282 DEF_HELPER_4(glue(phsubd, SUFFIX), void, env, Reg, Reg, Reg)
283 DEF_HELPER_4(glue(phsubsw, SUFFIX), void, env, Reg, Reg, Reg)
284 DEF_HELPER_4(glue(pmaddubsw, SUFFIX), void, env, Reg, Reg, Reg)
285 DEF_HELPER_4(glue(pmulhrsw, SUFFIX), void, env, Reg, Reg, Reg)
286 DEF_HELPER_4(glue(pshufb, SUFFIX), void, env, Reg, Reg, Reg)
287 DEF_HELPER_4(glue(psignb, SUFFIX), void, env, Reg, Reg, Reg)
288 DEF_HELPER_4(glue(psignw, SUFFIX), void, env, Reg, Reg, Reg)
289 DEF_HELPER_4(glue(psignd, SUFFIX), void, env, Reg, Reg, Reg)
290 DEF_HELPER_5(glue(palignr, SUFFIX), void, env, Reg, Reg, Reg, i32)
293 #if SHIFT >= 1
294 DEF_HELPER_5(glue(pblendvb, SUFFIX), void, env, Reg, Reg, Reg, Reg)
295 DEF_HELPER_5(glue(blendvps, SUFFIX), void, env, Reg, Reg, Reg, Reg)
296 DEF_HELPER_5(glue(blendvpd, SUFFIX), void, env, Reg, Reg, Reg, Reg)
297 DEF_HELPER_3(glue(ptest, SUFFIX), void, env, Reg, Reg)
298 DEF_HELPER_3(glue(pmovsxbw, SUFFIX), void, env, Reg, Reg)
299 DEF_HELPER_3(glue(pmovsxbd, SUFFIX), void, env, Reg, Reg)
300 DEF_HELPER_3(glue(pmovsxbq, SUFFIX), void, env, Reg, Reg)
301 DEF_HELPER_3(glue(pmovsxwd, SUFFIX), void, env, Reg, Reg)
302 DEF_HELPER_3(glue(pmovsxwq, SUFFIX), void, env, Reg, Reg)
303 DEF_HELPER_3(glue(pmovsxdq, SUFFIX), void, env, Reg, Reg)
304 DEF_HELPER_3(glue(pmovzxbw, SUFFIX), void, env, Reg, Reg)
305 DEF_HELPER_3(glue(pmovzxbd, SUFFIX), void, env, Reg, Reg)
306 DEF_HELPER_3(glue(pmovzxbq, SUFFIX), void, env, Reg, Reg)
307 DEF_HELPER_3(glue(pmovzxwd, SUFFIX), void, env, Reg, Reg)
308 DEF_HELPER_3(glue(pmovzxwq, SUFFIX), void, env, Reg, Reg)
309 DEF_HELPER_3(glue(pmovzxdq, SUFFIX), void, env, Reg, Reg)
310 DEF_HELPER_3(glue(pmovsldup, SUFFIX), void, env, Reg, Reg)
311 DEF_HELPER_3(glue(pmovshdup, SUFFIX), void, env, Reg, Reg)
312 DEF_HELPER_3(glue(pmovdldup, SUFFIX), void, env, Reg, Reg)
313 DEF_HELPER_4(glue(pmuldq, SUFFIX), void, env, Reg, Reg, Reg)
314 DEF_HELPER_4(glue(packusdw, SUFFIX), void, env, Reg, Reg, Reg)
315 #if SHIFT == 1
316 DEF_HELPER_3(glue(phminposuw, SUFFIX), void, env, Reg, Reg)
318 DEF_HELPER_4(glue(roundps, SUFFIX), void, env, Reg, Reg, i32)
319 DEF_HELPER_4(glue(roundpd, SUFFIX), void, env, Reg, Reg, i32)
320 #if SHIFT == 1
321 DEF_HELPER_5(roundss_xmm, void, env, Reg, Reg, Reg, i32)
322 DEF_HELPER_5(roundsd_xmm, void, env, Reg, Reg, Reg, i32)
324 DEF_HELPER_5(glue(blendps, SUFFIX), void, env, Reg, Reg, Reg, i32)
325 DEF_HELPER_5(glue(blendpd, SUFFIX), void, env, Reg, Reg, Reg, i32)
326 DEF_HELPER_5(glue(pblendw, SUFFIX), void, env, Reg, Reg, Reg, i32)
327 DEF_HELPER_5(glue(dpps, SUFFIX), void, env, Reg, Reg, Reg, i32)
328 #if SHIFT == 1
329 DEF_HELPER_5(glue(dppd, SUFFIX), void, env, Reg, Reg, Reg, i32)
331 DEF_HELPER_5(glue(mpsadbw, SUFFIX), void, env, Reg, Reg, Reg, i32)
335 #if SHIFT == 1
336 DEF_HELPER_4(glue(pcmpestri, SUFFIX), void, env, Reg, Reg, i32)
337 DEF_HELPER_4(glue(pcmpestrm, SUFFIX), void, env, Reg, Reg, i32)
338 DEF_HELPER_4(glue(pcmpistri, SUFFIX), void, env, Reg, Reg, i32)
339 DEF_HELPER_4(glue(pcmpistrm, SUFFIX), void, env, Reg, Reg, i32)
343 /* AES-NI op helpers */
344 #if SHIFT >= 1
345 DEF_HELPER_4(glue(aesdec, SUFFIX), void, env, Reg, Reg, Reg)
346 DEF_HELPER_4(glue(aesdeclast, SUFFIX), void, env, Reg, Reg, Reg)
347 DEF_HELPER_4(glue(aesenc, SUFFIX), void, env, Reg, Reg, Reg)
348 DEF_HELPER_4(glue(aesenclast, SUFFIX), void, env, Reg, Reg, Reg)
349 #if SHIFT == 1
350 DEF_HELPER_3(glue(aesimc, SUFFIX), void, env, Reg, Reg)
351 DEF_HELPER_4(glue(aeskeygenassist, SUFFIX), void, env, Reg, Reg, i32)
353 DEF_HELPER_5(glue(pclmulqdq, SUFFIX), void, env, Reg, Reg, Reg, i32)
357 #if SHIFT >= 1
358 DEF_HELPER_3(glue(cvtph2ps, SUFFIX), void, env, Reg, Reg)
359 DEF_HELPER_4(glue(cvtps2ph, SUFFIX), void, env, Reg, Reg, int)
363 #if SHIFT == 1
364 DEF_HELPER_6(fma4ss, void, env, Reg, Reg, Reg, Reg, int)
365 DEF_HELPER_6(fma4sd, void, env, Reg, Reg, Reg, Reg, int)
368 #if SHIFT >= 1
369 DEF_HELPER_7(glue(fma4ps, SUFFIX), void, env, Reg, Reg, Reg, Reg, int, int)
370 DEF_HELPER_7(glue(fma4pd, SUFFIX), void, env, Reg, Reg, Reg, Reg, int, int)
374 #if SHIFT >= 1
375 DEF_HELPER_4(glue(vpermilpd, SUFFIX), void, env, Reg, Reg, Reg)
376 DEF_HELPER_4(glue(vpermilps, SUFFIX), void, env, Reg, Reg, Reg)
377 DEF_HELPER_3(glue(vpermilpd_imm, SUFFIX), void, Reg, Reg, i32)
378 DEF_HELPER_3(glue(vpermilps_imm, SUFFIX), void, Reg, Reg, i32)
379 DEF_HELPER_4(glue(vpsrlvd, SUFFIX), void, env, Reg, Reg, Reg)
380 DEF_HELPER_4(glue(vpsravd, SUFFIX), void, env, Reg, Reg, Reg)
381 DEF_HELPER_4(glue(vpsllvd, SUFFIX), void, env, Reg, Reg, Reg)
382 DEF_HELPER_4(glue(vpsrlvq, SUFFIX), void, env, Reg, Reg, Reg)
383 DEF_HELPER_4(glue(vpsravq, SUFFIX), void, env, Reg, Reg, Reg)
384 DEF_HELPER_4(glue(vpsllvq, SUFFIX), void, env, Reg, Reg, Reg)
385 DEF_HELPER_3(glue(vtestps, SUFFIX), void, env, Reg, Reg)
386 DEF_HELPER_3(glue(vtestpd, SUFFIX), void, env, Reg, Reg)
387 DEF_HELPER_4(glue(vpmaskmovd_st, SUFFIX), void, env, Reg, Reg, tl)
388 DEF_HELPER_4(glue(vpmaskmovq_st, SUFFIX), void, env, Reg, Reg, tl)
389 DEF_HELPER_4(glue(vpmaskmovd, SUFFIX), void, env, Reg, Reg, Reg)
390 DEF_HELPER_4(glue(vpmaskmovq, SUFFIX), void, env, Reg, Reg, Reg)
391 DEF_HELPER_6(glue(vpgatherdd, SUFFIX), void, env, Reg, Reg, Reg, tl, i32)
392 DEF_HELPER_6(glue(vpgatherdq, SUFFIX), void, env, Reg, Reg, Reg, tl, i32)
393 DEF_HELPER_6(glue(vpgatherqd, SUFFIX), void, env, Reg, Reg, Reg, tl, i32)
394 DEF_HELPER_6(glue(vpgatherqq, SUFFIX), void, env, Reg, Reg, Reg, tl, i32)
395 #if SHIFT == 2
396 DEF_HELPER_3(vpermd_ymm, void, Reg, Reg, Reg)
397 DEF_HELPER_4(vpermdq_ymm, void, Reg, Reg, Reg, i32)
398 DEF_HELPER_3(vpermq_ymm, void, Reg, Reg, i32)
403 #if SHIFT == 1
404 DEF_HELPER_3(sha1rnds4_f0, void, Reg, Reg, Reg)
405 DEF_HELPER_3(sha1rnds4_f1, void, Reg, Reg, Reg)
406 DEF_HELPER_3(sha1rnds4_f2, void, Reg, Reg, Reg)
407 DEF_HELPER_3(sha1rnds4_f3, void, Reg, Reg, Reg)
408 DEF_HELPER_3(sha1nexte, void, Reg, Reg, Reg)
409 DEF_HELPER_3(sha1msg1, void, Reg, Reg, Reg)
410 DEF_HELPER_3(sha1msg2, void, Reg, Reg, Reg)
411 DEF_HELPER_5(sha256rnds2, void, Reg, Reg, Reg, i32, i32)
412 DEF_HELPER_3(sha256msg1, void, Reg, Reg, Reg)
413 DEF_HELPER_3(sha256msg2, void, Reg, Reg, Reg)
416 #undef SHIFT
417 #undef Reg