diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-01 16:23:36 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-01 16:23:36 +0000 |
commit | 4f14e88c5991877085b1090508ee222d6f3ef088 (patch) | |
tree | d1146ea242475238f74be6fe9e408a10aaccf00f /target-sparc | |
parent | 52cc07d04774676c69e3998cdb5d10c8f5286072 (diff) |
Fix off-by-one error
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2573 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index c5cb2d0d4b..9f2d249624 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -2331,8 +2331,8 @@ static void disas_sparc_insn(DisasContext * dc) #endif } if (xop < 4 || (xop > 7 && xop < 0x14 && xop != 0x0e) || \ - (xop > 0x17 && xop < 0x1d ) || \ - (xop > 0x2c && xop < 0x33) || xop == 0x1f) { + (xop > 0x17 && xop <= 0x1d ) || \ + (xop > 0x2c && xop <= 0x33) || xop == 0x1f) { switch (xop) { case 0x0: /* load word */ gen_op_ldst(ld); |