aboutsummaryrefslogtreecommitdiff
path: root/sparc-dis.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-18 21:12:17 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-18 21:12:17 +0000
commit725cb90bf7e2487fe5aa5621cc10afe6d169e310 (patch)
tree8d2ffe0b21338890a08f140696e910a1ecb8d960 /sparc-dis.c
parenta3c259974ea93b160112a9c61101e667664443c3 (diff)
sparc64 fixes (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2062 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sparc-dis.c')
-rw-r--r--sparc-dis.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sparc-dis.c b/sparc-dis.c
index 597dc8a703..2be874ac94 100644
--- a/sparc-dis.c
+++ b/sparc-dis.c
@@ -2887,7 +2887,9 @@ print_insn_sparc (memaddr, info)
{
const char *name;
- if (info->mach == bfd_mach_sparc_v9)
+ if ((info->mach == bfd_mach_sparc_v8plusa) ||
+ ((info->mach >= bfd_mach_sparc_v9) &&
+ (info->mach <= bfd_mach_sparc_v9b)))
name = sparc_decode_asi_v9 (X_ASI (insn));
else
name = sparc_decode_asi_v8 (X_ASI (insn));