search for: x86emul_fpu_ymm

Displaying 2 results from an estimated 2 matches for "x86emul_fpu_ymm".

2013 Aug 28
3
[PATCH] x86: AVX instruction emulation fixes
...;ebx, &ecx, &eax, NULL); \ + } \ + (ebx & (1U << 5)) != 0; \ +}) + int get_fpu( void (*exception_callback)(void *, struct cpu_user_regs *), void *exception_callback_arg, @@ -111,14 +123,14 @@ int get_fpu( { case X86EMUL_FPU_fpu: break; - case X86EMUL_FPU_ymm: - if ( cpu_has_avx ) + case X86EMUL_FPU_mmx: + if ( cpu_has_mmx ) break; case X86EMUL_FPU_xmm: if ( cpu_has_sse ) break; - case X86EMUL_FPU_mmx: - if ( cpu_has_mmx ) + case X86EMUL_FPU_ymm: + if ( cpu_has_avx )...
2011 Nov 30
0
[PATCH 2/4] x86/emulator: add emulation of SIMD FP moves
...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 ( vex.pfx & VEX_PREFIX_SCALAR_MASK ) + ea.bytes = vex.pfx & VEX_PREFIX_DOUBLE_MASK ? 8 : 4; + if ( ea.type == OP_MEM ) + { + /* XXX enable once there is ops->ea() or equivale...