Paolo Bonzini
75b208c283
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>
2020-12-10 12:14:49 -05:00
..
2020-11-23 09:52:24 +00:00
2020-12-10 08:47:44 +01:00
2020-11-26 14:25:47 +00:00
2020-10-22 11:53:53 -04:00
2020-10-17 10:45:50 -04:00
2020-11-17 09:45:24 +01:00
2020-11-15 17:04:40 +01:00
2020-10-13 12:48:17 +02:00
2020-10-09 17:27:55 +01:00
2020-10-17 10:45:52 -04:00
2020-11-17 12:38:32 +01:00
2020-12-10 14:26:35 +00:00
2020-12-10 12:14:49 -05:00
2020-10-13 12:48:17 +02:00
2020-11-25 12:50:48 -05:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-02 15:46:40 +02:00
2020-11-17 15:39:53 +01:00
2020-09-18 13:49:48 -04:00
2020-11-15 17:04:40 +01:00
2020-11-15 17:04:40 +01:00
2020-09-23 16:07:44 +01:00
2020-10-17 10:45:51 -04:00
2020-12-08 13:48:58 -05:00
2020-10-22 11:53:54 -04:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-13 08:08:55 +02:00
2020-09-16 08:41:06 +02:00
2020-09-23 16:07:44 +01:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-11-15 17:04:40 +01:00
2020-10-27 15:26:20 +01:00
2020-10-13 13:33:46 +02:00
2020-11-15 17:04:40 +01:00
2020-10-13 13:33:45 +02:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-11-15 17:04:40 +01:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-09-23 13:45:52 +01:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-10-29 09:57:37 +00:00
2020-09-23 13:41:58 +01:00
2020-10-15 16:06:27 +02:00
2020-09-23 16:07:44 +01:00
2020-09-16 12:15:07 +02:00
2020-12-09 08:04:34 +01:00
2020-11-15 17:04:40 +01:00
2020-10-09 07:08:19 +02:00
2020-09-23 16:07:44 +01:00
2020-09-16 08:41:06 +02:00
2020-09-23 16:07:44 +01:00
2020-10-05 16:41:22 +02:00
2020-11-03 13:17:25 +00:00
2020-11-15 17:04:40 +01:00
2020-09-16 08:41:06 +02:00
2020-12-08 13:48:58 -05:00