Home | History | Annotate | Download | only in x86_64

Lines Matching refs:tcg_out_modrm

264 static inline void tcg_out_modrm(TCGContext *s, int opc, int r, int rm)
359 tcg_out_modrm(s, 0x8b | P_REXW, ret, arg);
366 tcg_out_modrm(s, 0x01 | (ARITH_XOR << 3), ret, ret); /* xor r0,r0 */
371 tcg_out_modrm(s, 0xc7 | P_REXW, 0, ret);
390 tcg_out_modrm(s, 0xff, call ? 2 : 4, TCG_REG_R10);
416 tcg_out_modrm(s, 0xff, 0, r0);
419 tcg_out_modrm(s, 0xff, 1, r0);
421 tcg_out_modrm(s, 0x83, c, r0);
425 tcg_out_modrm(s, 0xb6 | P_EXT | P_REXB_RM, r0, r0);
428 tcg_out_modrm(s, 0xb7 | P_EXT, r0, r0);
430 tcg_out_modrm(s, 0x81, c, r0);
439 tcg_out_modrm(s, 0xff | P_REXW, 0, r0);
442 tcg_out_modrm(s, 0xff | P_REXW, 1, r0);
445 tcg_out_modrm(s, 0x8b, r0, r0);
450 tcg_out_modrm(s, 0x83 | P_REXW, c, r0);
453 tcg_out_modrm(s, 0x81 | P_REXW, c, r0);
508 tcg_out_modrm(s, 0x85 | rexw, arg1, arg1);
517 tcg_out_modrm(s, 0x01 | (ARITH_CMP << 3) | rexw, arg2, arg1);
534 tcg_out_modrm(s, 0x90 | tcg_cond_to_jcc[cond] | P_EXT | P_REXB_RM, 0, dest);
581 tcg_out_modrm(s, 0x8b | rexw, r1, addr_reg);
584 tcg_out_modrm(s, 0x8b | rexw, r0, addr_reg);
586 tcg_out_modrm(s, 0xc1 | rexw, 5, r1); /* shr $x, r1 */
589 tcg_out_modrm(s, 0x81 | rexw, 4, r0); /* andl $x, r0 */
592 tcg_out_modrm(s, 0x81, 4, r1); /* andl $x, r1 */
603 tcg_out_modrm(s, 0x8b | rexw, r0, addr_reg);
617 tcg_out_modrm(s, 0xbe | P_EXT | P_REXW, data_reg, TCG_REG_RAX);
621 tcg_out_modrm(s, 0xbf | P_EXT | P_REXW, data_reg, TCG_REG_RAX);
625 tcg_out_modrm(s, 0x63 | P_REXW, data_reg, TCG_REG_RAX);
629 tcg_out_modrm(s, 0xb6 | P_EXT | P_REXW, data_reg, TCG_REG_RAX);
633 tcg_out_modrm(s, 0xb7 | P_EXT | P_REXW, data_reg, TCG_REG_RAX);
638 tcg_out_modrm(s, 0x8b, data_reg, TCG_REG_RAX);
668 tcg_out_modrm(s, 0x01 | P_REXW, addr_reg, r0);
692 tcg_out_modrm(s, 0xc1, 0, data_reg);
702 tcg_out_modrm(s, 0xc1, 0, data_reg);
706 tcg_out_modrm(s, 0xbf | P_EXT | rexw, data_reg, data_reg);
727 tcg_out_modrm(s, 0x63 | P_REXW, data_reg, data_reg);
776 tcg_out_modrm(s, 0x8b | rexw, r1, addr_reg);
779 tcg_out_modrm(s, 0x8b | rexw, r0, addr_reg);
781 tcg_out_modrm(s, 0xc1 | rexw, 5, r1); /* shr $x, r1 */
784 tcg_out_modrm(s, 0x81 | rexw, 4, r0); /* andl $x, r0 */
787 tcg_out_modrm(s, 0x81, 4, r1); /* andl $x, r1 */
798 tcg_out_modrm(s, 0x8b | rexw, r0, addr_reg);
809 tcg_out_modrm(s, 0xb6 | P_EXT | P_REXB_RM, TCG_REG_RSI, data_reg);
813 tcg_out_modrm(s, 0xb7 | P_EXT, TCG_REG_RSI, data_reg);
817 tcg_out_modrm(s, 0x8b, TCG_REG_RSI, data_reg);
850 tcg_out_modrm(s, 0x01 | P_REXW, addr_reg, r0);
866 tcg_out_modrm(s, 0x8b, r1, data_reg); /* movl */
868 tcg_out_modrm(s, 0xc1, 0, r1);
878 tcg_out_modrm(s, 0x8b, r1, data_reg); /* movl */
935 tcg_out_modrm(s, 0xff, 2, args[0]);
942 tcg_out_modrm(s, 0xff, 4, args[0]);
1033 tcg_out_modrm(s, 0x01 | (c << 3), args[2], args[0]);
1055 tcg_out_modrm(s, 0x01 | (c << 3) | P_REXW, args[2], args[0]);
1064 tcg_out_modrm(s, 0x6b, args[0], args[0]);
1067 tcg_out_modrm(s, 0x69, args[0], args[0]);
1071 tcg_out_modrm(s, 0xaf | P_EXT, args[0], args[2]);
1079 tcg_out_modrm(s, 0x6b | P_REXW, args[0], args[0]);
1082 tcg_out_modrm(s, 0x69 | P_REXW, args[0], args[0]);
1086 tcg_out_modrm(s, 0xaf | P_EXT | P_REXW, args[0], args[2]);
1090 tcg_out_modrm(s, 0xf7, 7, args[4]);
1093 tcg_out_modrm(s, 0xf7, 6, args[4]);
1096 tcg_out_modrm(s, 0xf7 | P_REXW, 7, args[4]);
1099 tcg_out_modrm(s, 0xf7 | P_REXW, 6, args[4]);
1107 tcg_out_modrm(s, 0xd1, c, args[0]);
1109 tcg_out_modrm(s, 0xc1, c, args[0]);
1113 tcg_out_modrm(s, 0xd3, c, args[0]);
1134 tcg_out_modrm(s, 0xd1 | P_REXW, c, args[0]);
1136 tcg_out_modrm(s, 0xc1 | P_REXW, c, args[0]);
1140 tcg_out_modrm(s, 0xd3 | P_REXW, c, args[0]);
1168 tcg_out_modrm(s, 0xc1, SHIFT_ROL, args[0]);
1180 tcg_out_modrm(s, 0xf7, 3, args[0]);
1183 tcg_out_modrm(s, 0xf7 | P_REXW, 3, args[0]);
1187 tcg_out_modrm(s, 0xf7, 2, args[0]);
1190 tcg_out_modrm(s, 0xf7 | P_REXW, 2, args[0]);
1194 tcg_out_modrm(s, 0xbe | P_EXT | P_REXB_RM, args[0], args[1]);
1197 tcg_out_modrm(s, 0xbf | P_EXT, args[0], args[1]);
1200 tcg_out_modrm(s, 0xbe | P_EXT | P_REXW, args[0], args[1]);
1203 tcg_out_modrm(s, 0xbf | P_EXT | P_REXW, args[0], args[1]);
1206 tcg_out_modrm(s, 0x63 | P_REXW, args[0], args[1]);
1210 tcg_out_modrm(s, 0xb6 | P_EXT | P_REXB_RM, args[0], args[1]);
1214 tcg_out_modrm(s, 0xb7 | P_EXT, args[0], args[1]);
1217 tcg_out_modrm(s, 0x8b, args[0], args[1]);
1308 tcg_out_modrm(s, 0xff, 4, TCG_REG_RDI); /* jmp *%rdi */