summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-10-19 14:44:17 +0000
committerNick Clifton <nickc@redhat.com>2005-10-19 14:44:17 +0000
commite74eb924c2eef2818417ec09b51d4beb6e688977 (patch)
tree87a1104c5e22c63ab3e786c41c655cf690572825 /cpu
parent3242b11e04acbbdd5a88276cc96c8e1ade35f24f (diff)
downloadppe42-binutils-e74eb924c2eef2818417ec09b51d4beb6e688977.tar.gz
ppe42-binutils-e74eb924c2eef2818417ec09b51d4beb6e688977.zip
* m32r.opc (parse_slo16): Fix bad application of previous patch.
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog4
-rw-r--r--cpu/m32r.opc6
2 files changed, 5 insertions, 5 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 5478b4d375..0d8f21d913 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-19 Nick Clifton <nickc@redhat.com>
+
+ * m32r.opc (parse_slo16): Fix bad application of previous patch.
+
2005-10-18 Andreas Schwab <schwab@suse.de>
* m32r.opc (parse_slo16): Better version of previous patch.
diff --git a/cpu/m32r.opc b/cpu/m32r.opc
index 2459fecbf5..f2351b106a 100644
--- a/cpu/m32r.opc
+++ b/cpu/m32r.opc
@@ -179,11 +179,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
++*strp;
if (errmsg == NULL
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
- {
- value &= 0xffff;
- if (value & 0x8000)
- value = ((value & 0xffff) ^ 0x8000) - 0x8000;
- }
+ value = ((value & 0xffff) ^ 0x8000) - 0x8000;
*valuep = value;
return errmsg;
}
OpenPOWER on IntegriCloud