x86emul: work around gcc11 bug in SIMD tests
authorJan Beulich <jbeulich@suse.com>
Mon, 14 Feb 2022 09:08:17 +0000 (10:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Feb 2022 09:08:17 +0000 (10:08 +0100)
commit71760cf0fe477adeaa5d41fa63ca7db8ea51f756
treedb416a5f9d52486c5b1cae58346413d9f4638251
parent793456d7aa9893d09df55ad2c0986b2a06ea4a98
x86emul: work around gcc11 bug in SIMD tests

Gcc11 looks to have trouble with conditional expressions used with
vector operands: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104497.
Replace two instances causing SEGV there in certain cases.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/simd-sg.c
tools/tests/x86_emulator/simd.c