]> git.proxmox.com Git - qemu.git/commit
target-i386: Fix aflag logic for CODE64 and the 0x67 prefix
authorRichard Henderson <rth@twiddle.net>
Wed, 29 May 2013 19:30:51 +0000 (12:30 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 12 Jun 2013 20:37:51 +0000 (15:37 -0500)
commitc1270701c0de4906f9a95ed8b8a8b4fbbbe561bc
tree4a7c173059de36f40dd878c509250bd95a9a59ce
parent252a7c6e11f56eed68462b6eb1b023796017a5a6
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>
(cherry picked from commit dec3fc9657e0682637de4d5a29d947284d01985c)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-i386/translate.c