]> xenbits.xensource.com Git - qemu-xen.git/commit
tcg/i386: Implement bitsel for avx512
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Dec 2021 16:06:33 +0000 (08:06 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Mar 2022 18:50:41 +0000 (08:50 -1000)
commitcf320769476c3e2820be2a6280bfa1e15baf396f
treebb223feb4185c5c8d6808f9d7b1fbd3c1da7341f
parent3143767b743b3512a056d4d8ecdc104a95334a37
tcg/i386: Implement bitsel for avx512

The general ternary logic operation can implement BITSEL.
Funnel the 4-operand operation into three variants of the
3-operand instruction, depending on input operand overlap.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc
tcg/i386/tcg-target.h