[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 9/9] x86: Correct translation of some rdgsbase and wr
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 9/9] x86: Correct translation of some rdgsbase and wrgsbase encodings |
Date: |
Thu, 5 Oct 2017 17:36:38 -0300 |
From: Todd Eisenberger <address@hidden>
It looks like there was a transcription error when writing this code
initially. The code previously only decoded src or dst of rax. This
resolves
https://bugs.launchpad.net/qemu/+bug/1719984.
Signed-off-by: Todd Eisenberger <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
target/i386/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/i386/translate.c b/target/i386/translate.c
index a8986f4c1a..7b920115f9 100644
--- a/target/i386/translate.c
+++ b/target/i386/translate.c
@@ -8155,9 +8155,9 @@ static target_ulong disas_insn(DisasContext *s, CPUState
*cpu)
break;
case 0xc0 ... 0xc7: /* rdfsbase (f3 0f ae /0) */
- case 0xc8 ... 0xc8: /* rdgsbase (f3 0f ae /1) */
+ case 0xc8 ... 0xcf: /* rdgsbase (f3 0f ae /1) */
case 0xd0 ... 0xd7: /* wrfsbase (f3 0f ae /2) */
- case 0xd8 ... 0xd8: /* wrgsbase (f3 0f ae /3) */
+ case 0xd8 ... 0xdf: /* wrgsbase (f3 0f ae /3) */
if (CODE64(s)
&& (prefixes & PREFIX_REPZ)
&& !(prefixes & PREFIX_LOCK)
--
2.13.6
- [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 1/9] hw/acpi-build: Make assignment statement of next_base easy to read, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 2/9] ACPI/unit-test: Add a new testcase for RAM allocation in numa node, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 3/9] qom/cpu: move cpu_model null check to cpu_class_by_name(), Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 4/9] machine: Add a valid_cpu_types property, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 5/9] vl: Eliminate defconfig variable, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 6/9] qemu-options: Deprecate -nodefconfig, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 7/9] config: qemu_config_parse() return number of config groups, Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 8/9] qom: update doc comment for type_register[_static](), Eduardo Habkost, 2017/10/05
- [Qemu-devel] [PULL 9/9] x86: Correct translation of some rdgsbase and wrgsbase encodings,
Eduardo Habkost <=
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Peter Maydell, 2017/10/06
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Thomas Huth, 2017/10/06
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Eduardo Habkost, 2017/10/06
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Peter Maydell, 2017/10/06
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Dou Liyang, 2017/10/10
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Peter Maydell, 2017/10/10
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Dou Liyang, 2017/10/10
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Eduardo Habkost, 2017/10/10
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Peter Maydell, 2017/10/10
- Re: [Qemu-devel] [PULL 0/9] x86 and machine queue, 2017-10-05, Dou Liyang, 2017/10/10