tcg/i386: Fix encoding of OPC_VPSRAQ for INDEX_op_sars_vec
commit3cc18d18cc3865d7b1ce2c8b35d52e52abbff397
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Jun 2022 23:22:19 +0000 (1 16:22 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 2 Jun 2022 15:09:46 +0000 (2 08:09 -0700)
treebbdbadea3728519e6382239c9e40cf163ff152bb
parentdc24c99116e926b0c56be63acbc086d13e32032b
tcg/i386: Fix encoding of OPC_VPSRAQ for INDEX_op_sars_vec

We wanted the VPSRAQ variant with the scalar vector shift operand,
not the variant with an immediate operand.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1022
Fixes: 47b331b2a8da ("tcg/i386: Implement avx512 scalar shift")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc