diff options
author | Paolo Bonzini | 2020-11-23 13:17:47 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-12-10 18:14:49 +0100 |
commit | 75b208c28316095c4685e8596ceb9e3f656592e2 (patch) | |
tree | b5ecca206a49e734a405ac1b5da1bcf963016552 /util | |
parent | Merge remote-tracking branch 'remotes/legoater/tags/pull-aspeed-20201210' int... (diff) | |
download | qemu-75b208c28316095c4685e8596ceb9e3f656592e2.tar.gz qemu-75b208c28316095c4685e8596ceb9e3f656592e2.tar.xz qemu-75b208c28316095c4685e8596ceb9e3f656592e2.zip |
target/i386: fix operand order for PDEP and PEXT
For PDEP and PEXT, the mask is provided in the memory (mod+r/m)
operand, and therefore is loaded in s->T0 by gen_ldst_modrm.
The source is provided in the second source operand (VEX.vvvv)
and therefore is loaded in s->T1. Fix the order in which
they are passed to the helpers.
Reported-by: Lenard Szolnoki <blog@lenardszolnoki.com>
Analyzed-by: Lenard Szolnoki <blog@lenardszolnoki.com>
Fixes: https://bugs.launchpad.net/qemu/+bug/1605123
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions