Lines Matching refs:reg
80 /* to the EFLAGS reg */
240 #define mmx_i2r(op, imm, reg) \
246 __asm__ __volatile__ ("movq %%" #reg ", %0" \
249 printf(#reg "=0x%08x%08x) => ", \
251 __asm__ __volatile__ (#op " %0, %%" #reg \
254 __asm__ __volatile__ ("movq %%" #reg ", %0" \
257 printf(#reg "=0x%08x%08x\n", \
261 #define mmx_m2r(op, mem, reg) \
267 __asm__ __volatile__ ("movq %%" #reg ", %0" \
270 printf(#reg "=0x%08x%08x) => ", \
272 __asm__ __volatile__ (#op " %0, %%" #reg \
275 __asm__ __volatile__ ("movq %%" #reg ", %0" \
278 printf(#reg "=0x%08x%08x\n", \
282 #define mmx_r2m(op, reg, mem) \
285 __asm__ __volatile__ ("movq %%" #reg ", %0" \
288 printf(#op "_r2m(" #reg "=0x%08x%08x, ", \
293 __asm__ __volatile__ (#op " %%" #reg ", %0" \
346 #define mmx_i2r(op, imm, reg) \
347 __asm__ __volatile__ (#op " %0, %%" #reg \
351 #define mmx_m2r(op, mem, reg) \
352 __asm__ __volatile__ (#op " %0, %%" #reg \
356 #define mmx_r2m(op, reg, mem) \
357 __asm__ __volatile__ (#op " %%" #reg ", %0" \
378 #define movq_m2r(var, reg) mmx_m2r(movq, var, reg)
379 #define movq_r2m(reg, var) mmx_r2m(movq, reg, var)
393 #define movd_m2r(var, reg) mmx_m2r(movd, var, reg)
394 #define movd_r2m(reg, var) mmx_r2m(movd, reg, var)
405 #define paddd_m2r(var, reg) mmx_m2r(paddd, var, reg)
409 #define paddw_m2r(var, reg) mmx_m2r(paddw, var, reg)
413 #define paddb_m2r(var, reg) mmx_m2r(paddb, var, reg)
420 #define paddsw_m2r(var, reg) mmx_m2r(paddsw, var, reg)
424 #define paddsb_m2r(var, reg) mmx_m2r(paddsb, var, reg)
431 #define paddusw_m2r(var, reg) mmx_m2r(paddusw, var, reg)
435 #define paddusb_m2r(var, reg) mmx_m2r(paddusb, var, reg)
442 #define psubd_m2r(var, reg) mmx_m2r(psubd, var, reg)
446 #define psubw_m2r(var, reg) mmx_m2r(psubw, var, reg)
450 #define psubb_m2r(var, reg) mmx_m2r(psubb, var, reg)
457 #define psubsw_m2r(var, reg) mmx_m2r(psubsw, var, reg)
461 #define psubsb_m2r(var, reg) mmx_m2r(psubsb, var, reg)
468 #define psubusw_m2r(var, reg) mmx_m2r(psubusw, var, reg)
472 #define psubusb_m2r(var, reg) mmx_m2r(psubusb, var, reg)
479 #define pmullw_m2r(var, reg) mmx_m2r(pmullw, var, reg)
486 #define pmulhw_m2r(var, reg) mmx_m2r(pmulhw, var, reg)
495 #define pmaddwd_m2r(var, reg) mmx_m2r(pmaddwd, var, reg)
503 #define pand_m2r(var, reg) \
505 mmx_m2r(pandn, (mmx_t) -1LL, reg); \
506 mmx_m2r(pandn, var, reg); \
521 #define pand_m2r(var, reg) mmx_m2r(pand, var, reg)
529 #define pandn_m2r(var, reg) mmx_m2r(pandn, var, reg)
536 #define por_m2r(var, reg) mmx_m2r(por, var, reg)
543 #define pxor_m2r(var, reg) mmx_m2r(pxor, var, reg)
551 #define pcmpeqd_m2r(var, reg) mmx_m2r(pcmpeqd, var, reg)
555 #define pcmpeqw_m2r(var, reg) mmx_m2r(pcmpeqw, var, reg)
559 #define pcmpeqb_m2r(var, reg) mmx_m2r(pcmpeqb, var, reg)
567 #define pcmpgtd_m2r(var, reg) mmx_m2r(pcmpgtd, var, reg)
571 #define pcmpgtw_m2r(var, reg) mmx_m2r(pcmpgtw, var, reg)
575 #define pcmpgtb_m2r(var, reg) mmx_m2r(pcmpgtb, var, reg)
582 #define psllq_i2r(imm, reg) mmx_i2r(psllq, imm, reg)
583 #define psllq_m2r(var, reg) mmx_m2r(psllq, var, reg)
587 #define pslld_i2r(imm, reg) mmx_i2r(pslld, imm, reg)
588 #define pslld_m2r(var, reg) mmx_m2r(pslld, var, reg)
592 #define psllw_i2r(imm, reg) mmx_i2r(psllw, imm, reg)
593 #define psllw_m2r(var, reg) mmx_m2r(psllw, var, reg)
600 #define psrlq_i2r(imm, reg) mmx_i2r(psrlq, imm, reg)
601 #define psrlq_m2r(var, reg) mmx_m2r(psrlq, var, reg)
605 #define psrld_i2r(imm, reg) mmx_i2r(psrld, imm, reg)
606 #define psrld_m2r(var, reg) mmx_m2r(psrld, var, reg)
610 #define psrlw_i2r(imm, reg) mmx_i2r(psrlw, imm, reg)
611 #define psrlw_m2r(var, reg) mmx_m2r(psrlw, var, reg)
618 #define psrad_i2r(imm, reg) mmx_i2r(psrad, imm, reg)
619 #define psrad_m2r(var, reg) mmx_m2r(psrad, var, reg)
623 #define psraw_i2r(imm, reg) mmx_i2r(psraw, imm, reg)
624 #define psraw_m2r(var, reg) mmx_m2r(psraw, var, reg)
632 #define packssdw_m2r(var, reg) mmx_m2r(packssdw, var, reg)
636 #define packsswb_m2r(var, reg) mmx_m2r(packsswb, var, reg)
644 #define packuswb_m2r(var, reg) mmx_m2r(packuswb, var, reg)
653 #define punpckldq_m2r(var, reg) mmx_m2r(punpckldq, var, reg)
657 #define punpcklwd_m2r(var, reg) mmx_m2r(punpcklwd, var, reg)
661 #define punpcklbw_m2r(var, reg) mmx_m2r(punpcklbw, var, reg)
670 #define punpckhdq_m2r(var, reg) mmx_m2r(punpckhdq, var, reg)
674 #define punpckhwd_m2r(var, reg) mmx_m2r(punpckhwd, var, reg)
678 #define punpckhbw_m2r(var, reg) mmx_m2r(punpckhbw, var, reg)