diff options
author | Richard Henderson <rth@twiddle.net> | 2013-05-29 12:30:51 -0700 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-05-31 12:51:07 -0500 |
commit | dec3fc9657e0682637de4d5a29d947284d01985c (patch) | |
tree | 568bf74ee522fd1f9ab1842ba96bd0b18337259a /target-m68k | |
parent | 39c93c67c5995bd8db7a3fa3b95dcd4e6bc881a7 (diff) | |
download | hqemu-dec3fc9657e0682637de4d5a29d947284d01985c.zip hqemu-dec3fc9657e0682637de4d5a29d947284d01985c.tar.gz |
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>
Diffstat (limited to 'target-m68k')
0 files changed, 0 insertions, 0 deletions