Displaying 2 results from an estimated 2 matches for "vex_0f".
2013 Aug 28
3
[PATCH] x86: AVX instruction emulation fixes
...generate_exception_if(rex_prefix || vex.pfx, EXC_UD, -1);
- vex.raw[0] = b;
+ vex.raw[0] = modrm;
if ( b & 1 )
{
- vex.raw[1] = b;
+ vex.raw[1] = modrm;
vex.opcx = vex_0f;
vex.x = 1;
vex.b = 1;
@@ -1479,10 +1479,7 @@ x86_emulate(
}
}
}
- vex.reg ^= 0xf;
- if ( !mode_64bit() )
- vex.reg &= 0x7;
-...
2011 Nov 30
0
[PATCH 2/4] x86/emulator: add emulation of SIMD FP moves
...E_MASK )
+ vcpu_must_have_sse2();
+ else
+ vcpu_must_have_sse();
+ ea.bytes = 16;
+ SET_SSE_PREFIX(stub[0], vex.pfx);
+ get_fpu(X86EMUL_FPU_xmm, &fic);
+ }
+ else
+ {
+ fail_if((vex.opcx != vex_0f) ||
+ (vex.reg && ((ea.type == OP_MEM) ||
+ !(vex.pfx & VEX_PREFIX_SCALAR_MASK))));
+ vcpu_must_have_avx();
+ get_fpu(X86EMUL_FPU_ymm, &fic);
+ ea.bytes = 16 << vex.l;
+ }
+ if (...