Displaying 2 results from an estimated 2 matches for "opcx".
Did you mean:
opc
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
...*/
+ /* vmovup{s,d} ymm,ymm/m256 */
+ /* {,v}movss xmm,xmm/m32 */
+ /* {,v}movsd xmm,xmm/m64 */
+ {
+ uint8_t stub[] = { 0x3e, 0x3e, 0x0f, b, modrm, 0xc3 };
+ struct fpu_insn_ctxt fic = { .insn_bytes = sizeof(stub)-1 };
+
+ if ( vex.opcx == vex_none )
+ {
+ if ( vex.pfx & VEX_PREFIX_DOUBLE_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, &fi...