]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86emul: correct #UD check for AVX512-FP16 complex multiplications
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Aug 2024 13:32:31 +0000 (15:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Aug 2024 13:32:31 +0000 (15:32 +0200)
commita30d438ce58b70c5955f5d37f776086ab8f88623
tree95f3dea89b354989821aa46cdc7ebd2a5a651920
parent1e2a5f991f86979b89aa9a60ca3ba8106ee7d987
x86emul: correct #UD check for AVX512-FP16 complex multiplications

avx512_vlen_check()'s argument was inverted, while the surrounding
conditional wrongly forced the EVEX.L'L check for the scalar forms when
embedded rounding was in effect.

Fixes: d14c52cba0f5 ("x86emul: handle AVX512-FP16 complex multiplication insns")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c