Revision 222a3336 target-i386/ops_sse_header.h

b/target-i386/ops_sse_header.h
1 1
/*
2
 *  MMX/3DNow!/SSE/SSE2/SSE3/SSSE3/PNI support
2
 *  MMX/3DNow!/SSE/SSE2/SSE3/SSSE3/SSE4/PNI support
3 3
 *
4 4
 *  Copyright (c) 2005 Fabrice Bellard
5 5
 *
......
269 269
DEF_HELPER(void, glue(helper_psignd, SUFFIX), (Reg *d, Reg *s))
270 270
DEF_HELPER(void, glue(helper_palignr, SUFFIX), (Reg *d, Reg *s, int32_t shift))
271 271

  
272
/* SSE4.1 op helpers */
273
#if SHIFT == 1
274
DEF_HELPER(void, glue(helper_pblendvb, SUFFIX), (Reg *d, Reg *s))
275
DEF_HELPER(void, glue(helper_blendvps, SUFFIX), (Reg *d, Reg *s))
276
DEF_HELPER(void, glue(helper_blendvpd, SUFFIX), (Reg *d, Reg *s))
277
DEF_HELPER(void, glue(helper_ptest, SUFFIX), (Reg *d, Reg *s))
278
DEF_HELPER(void, glue(helper_pmovsxbw, SUFFIX), (Reg *d, Reg *s))
279
DEF_HELPER(void, glue(helper_pmovsxbd, SUFFIX), (Reg *d, Reg *s))
280
DEF_HELPER(void, glue(helper_pmovsxbq, SUFFIX), (Reg *d, Reg *s))
281
DEF_HELPER(void, glue(helper_pmovsxwd, SUFFIX), (Reg *d, Reg *s))
282
DEF_HELPER(void, glue(helper_pmovsxwq, SUFFIX), (Reg *d, Reg *s))
283
DEF_HELPER(void, glue(helper_pmovsxdq, SUFFIX), (Reg *d, Reg *s))
284
DEF_HELPER(void, glue(helper_pmovzxbw, SUFFIX), (Reg *d, Reg *s))
285
DEF_HELPER(void, glue(helper_pmovzxbd, SUFFIX), (Reg *d, Reg *s))
286
DEF_HELPER(void, glue(helper_pmovzxbq, SUFFIX), (Reg *d, Reg *s))
287
DEF_HELPER(void, glue(helper_pmovzxwd, SUFFIX), (Reg *d, Reg *s))
288
DEF_HELPER(void, glue(helper_pmovzxwq, SUFFIX), (Reg *d, Reg *s))
289
DEF_HELPER(void, glue(helper_pmovzxdq, SUFFIX), (Reg *d, Reg *s))
290
DEF_HELPER(void, glue(helper_pmuldq, SUFFIX), (Reg *d, Reg *s))
291
DEF_HELPER(void, glue(helper_pcmpeqq, SUFFIX), (Reg *d, Reg *s))
292
DEF_HELPER(void, glue(helper_packusdw, SUFFIX), (Reg *d, Reg *s))
293
DEF_HELPER(void, glue(helper_pminsb, SUFFIX), (Reg *d, Reg *s))
294
DEF_HELPER(void, glue(helper_pminsd, SUFFIX), (Reg *d, Reg *s))
295
DEF_HELPER(void, glue(helper_pminuw, SUFFIX), (Reg *d, Reg *s))
296
DEF_HELPER(void, glue(helper_pminud, SUFFIX), (Reg *d, Reg *s))
297
DEF_HELPER(void, glue(helper_pmaxsb, SUFFIX), (Reg *d, Reg *s))
298
DEF_HELPER(void, glue(helper_pmaxsd, SUFFIX), (Reg *d, Reg *s))
299
DEF_HELPER(void, glue(helper_pmaxuw, SUFFIX), (Reg *d, Reg *s))
300
DEF_HELPER(void, glue(helper_pmaxud, SUFFIX), (Reg *d, Reg *s))
301
DEF_HELPER(void, glue(helper_pmulld, SUFFIX), (Reg *d, Reg *s))
302
DEF_HELPER(void, glue(helper_phminposuw, SUFFIX), (Reg *d, Reg *s))
303
DEF_HELPER(void, glue(helper_roundps, SUFFIX), (Reg *d, Reg *s, uint32_t mode))
304
DEF_HELPER(void, glue(helper_roundpd, SUFFIX), (Reg *d, Reg *s, uint32_t mode))
305
DEF_HELPER(void, glue(helper_roundss, SUFFIX), (Reg *d, Reg *s, uint32_t mode))
306
DEF_HELPER(void, glue(helper_roundsd, SUFFIX), (Reg *d, Reg *s, uint32_t mode))
307
DEF_HELPER(void, glue(helper_blendps, SUFFIX), (Reg *d, Reg *s, uint32_t imm))
308
DEF_HELPER(void, glue(helper_blendpd, SUFFIX), (Reg *d, Reg *s, uint32_t imm))
309
DEF_HELPER(void, glue(helper_pblendw, SUFFIX), (Reg *d, Reg *s, uint32_t imm))
310
DEF_HELPER(void, glue(helper_dpps, SUFFIX), (Reg *d, Reg *s, uint32_t mask))
311
DEF_HELPER(void, glue(helper_dppd, SUFFIX), (Reg *d, Reg *s, uint32_t mask))
312
DEF_HELPER(void, glue(helper_mpsadbw, SUFFIX), (Reg *d, Reg *s, uint32_t off))
313
#endif
314

  
315
/* SSE4.2 op helpers */
316
#if SHIFT == 1
317
DEF_HELPER(void, glue(helper_pcmpgtq, SUFFIX), (Reg *d, Reg *s))
318
DEF_HELPER(void, glue(helper_pcmpestri, SUFFIX), (Reg *d, Reg *s, uint32_t ctl))
319
DEF_HELPER(void, glue(helper_pcmpestrm, SUFFIX), (Reg *d, Reg *s, uint32_t ctl))
320
DEF_HELPER(void, glue(helper_pcmpistri, SUFFIX), (Reg *d, Reg *s, uint32_t ctl))
321
DEF_HELPER(void, glue(helper_pcmpistrm, SUFFIX), (Reg *d, Reg *s, uint32_t ctl))
322
DEF_HELPER(target_ulong, helper_crc32,
323
                (uint32_t crc1, target_ulong msg, uint32_t len))
324
DEF_HELPER(target_ulong, helper_popcnt, (target_ulong n, uint32_t type))
325
#endif
326

  
272 327
#undef SHIFT
273 328
#undef Reg
274 329
#undef SUFFIX

Also available in: Unified diff