]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Fix BZHI instruction
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 14 Jan 2023 23:32:06 +0000 (13:32 -1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Feb 2023 08:18:55 +0000 (09:18 +0100)
commit9ad2ba6e8e7fc195d0dd0b76ab38bd2fceb1bdd4
tree339144bbb157fe61573bcfa576af2385d253fed4
parent1270a3f57c9221080f3205a15964814ff8359ca9
target/i386: Fix BZHI instruction

We did not correctly handle N >= operand size.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1374
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230114233206.3118472-1-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/emit.c.inc
tests/tcg/i386/test-i386-bmi2.c