qemu-e2k/target-i386
Richard Henderson dec3fc9657 target-i386: Fix aflag logic for CODE64 and the 0x67 prefix
The code reorganization in commit 4a6fd938 broke handling of PREFIX_ADR.
While fixing this, tidy and comment the code so that it's more obvious
what's going on in setting both aflag and dflag.

The TARGET_X86_64 ifdef can be eliminated because CODE64 expands to the
constant zero when TARGET_X86_64 is undefined.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1369855851-21400-1-git-send-email-rth@twiddle.net
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-31 12:51:07 -05:00
..
arch_dump.c cpu: Move cpu_write_elfXX_note() functions to CPUState 2013-05-01 13:04:19 +02:00
arch_memory_mapping.c target-i386: Fix mask of pte index in memory mapping 2013-05-31 09:02:31 -04:00
cc_helper_template.h target-i386: Implement BLSR, BLSMSK, BLSI 2013-02-18 15:52:05 -08:00
cc_helper.c target-i386: Add CC_OP_CLR 2013-02-19 23:05:18 -08:00
cpu-qom.h target-i386: Introduce X86CPU::filtered_features field 2013-05-06 19:16:30 +02:00
cpu.c target-i386: n270 can MOVBE 2013-05-06 22:27:49 +02:00
cpu.h target-i386: Introduce generic CPUID feature compat function 2013-05-06 22:14:56 +02:00
excp_helper.c
fpu_helper.c target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
helper.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
helper.h target-i386: Use mulu2 and muls2 2013-02-27 19:06:28 +00:00
hyperv.c
hyperv.h
int_helper.c target-i386: Use mulu2 and muls2 2013-02-27 19:06:28 +00:00
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
machine.c target-i386: kvm: save/restore steal time MSR 2013-04-17 23:27:24 -03:00
Makefile.objs
mem_helper.c
misc_helper.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
ops_sse_header.h target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
ops_sse.h target-i386: add AES-NI instructions 2013-04-13 13:51:57 +02:00
seg_helper.c cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
shift_helper_template.h
smm_helper.c
svm_helper.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
svm.h
TODO
topology.h
translate.c target-i386: Fix aflag logic for CODE64 and the 0x67 prefix 2013-05-31 12:51:07 -05:00