Lines Matching refs:rex_prefix
2467 dtrace_rex_adjust(uint_t rex_prefix, uint_t mode, uint_t *reg, uint_t *r_m)
2470 if (rex_prefix & REX_B)
2473 if (reg != NULL && (REX_R & rex_prefix) != 0)
2475 if (r_m != NULL && (REX_B & rex_prefix) != 0)
2821 #define STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, vbit) { \
2823 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m); \
2834 #define MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, w2, vbit) { \
2836 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m); \
2847 #define THREEOPERAND(x, mode, reg, r_m, rex_prefix, wbit, w2, immsize, vbit) { \
2849 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m); \
2858 #define FOUROPERAND(x, mode, reg, r_m, rex_prefix, wbit, w2, immsize) { \
2860 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m); \
2870 #define ONEOPERAND_TWOIMM(x, mode, reg, r_m, rex_prefix, wbit, immsize) { \
2872 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m); \
2925 uint_t rex_prefix = 0; /* amd64 register extension prefix */
3058 rex_prefix = (opcode1 << 4) | opcode2;
3229 if ((rex_prefix & REX_W) || vex_W)
3362 if (rex_prefix & REX_W)
3685 * In vex mode the rex_prefix has no meaning
3688 x->d86_rex_prefix = rex_prefix;
3699 if (rex_prefix == 0)
3703 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
3718 if (rex_prefix & REX_W) {
3723 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
3731 if (rex_prefix & REX_W)
3736 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
3745 if (rex_prefix & REX_W)
3750 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
3771 THREEOPERAND(x, mode, reg, r_m, rex_prefix, wbit, LONG_OPND,
3779 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 0);
3789 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 1);
3795 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 1);
3806 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, MM_OPND, 1);
3815 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, MM_OPND, 1);
3822 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
3833 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 1);
3839 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
3852 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
3863 dtrace_rex_adjust(rex_prefix, mode, ®, NULL);
3881 dtrace_rex_adjust(rex_prefix, mode, ®, NULL);
3911 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
3923 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
3941 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
3956 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
4120 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
4151 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
4166 dtrace_rex_adjust(rex_prefix, mode, ®, NULL);
4178 dtrace_rex_adjust(rex_prefix, mode, ®, NULL);
4209 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 0);
4215 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 1);
4226 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, MM_OPND, 0);
4239 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
4256 THREEOPERAND(x, mode, reg, r_m, rex_prefix, wbit, LONG_OPND, 1,
4262 THREEOPERAND(x, mode, reg, r_m, rex_prefix, LONG_OPND, XMM_OPND,
4276 THREEOPERAND(x, mode, reg, r_m, rex_prefix, wbit, w2, 1, 1);
4292 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, LONG_OPND, 0);
4302 STANDARD_MODRM(x, mode, reg, r_m, rex_prefix, wbit, 0);
4338 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, XMM_OPND, 1);
4355 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, XMM_OPND, 0);
4361 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, XMM_OPND, 0);
4366 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, XMM_OPND, 1);
4374 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, XMM_OPND, 0);
4382 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, MM_OPND, 0);
4389 MIXED_MM(x, mode, reg, r_m, rex_prefix, wbit, LONG_OPND, 0);
4398 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
4410 THREEOPERAND(x, mode, reg, r_m, rex_prefix, wbit, XMM_OPND, 1,
4443 FOUROPERAND(x, mode, reg, r_m, rex_prefix, XMM_OPND, XMM_OPND,
4449 ONEOPERAND_TWOIMM(x, mode, reg, r_m, rex_prefix, XMM_OPND, 1);
4464 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
4545 dtrace_rex_adjust(rex_prefix, mode, NULL, &r_m);
4700 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
4706 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);
4744 dtrace_rex_adjust(rex_prefix, mode, ®, &r_m);