projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f78a7
)
x86emul: permit SAE for V{,U}COMIS{S,D}
author
Jan Beulich
<jbeulich@suse.com>
Tue, 18 Dec 2018 17:03:49 +0000
(18:03 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 18 Dec 2018 17:03:49 +0000
(18:03 +0100)
The avx512_vlen_check() invocation needs to be conditional.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_emulate/x86_emulate.c
b/xen/arch/x86/x86_emulate/x86_emulate.c
index 20510151c89f41d0af579949875edc85b29adecc..9aebb1b6624153ac6f89a835fff3fdc7f28fdc6d 100644
(file)
--- a/
xen/arch/x86/x86_emulate/x86_emulate.c
+++ b/
xen/arch/x86/x86_emulate/x86_emulate.c
@@
-6187,7
+6187,8
@@
x86_emulate(
evex.w != evex.pfx),
EXC_UD);
host_and_vcpu_must_have(avx512f);
- avx512_vlen_check(true);
+ if ( !evex.br )
+ avx512_vlen_check(true);
get_fpu(X86EMUL_FPU_zmm);
opc = init_evex(stub);