aboutsummaryrefslogtreecommitdiff
path: root/opcodes/iq2000-asm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-03-05 08:38:53 +0000
committerNick Clifton <nickc@redhat.com>2006-03-05 08:38:53 +0000
commited963e2de8fb9d28b2540e2bc23ad19b3670ebea (patch)
tree6aecf5a6023f9cbe35a0ba771724965aea3640dc /opcodes/iq2000-asm.c
parent3c568553f111f6a986a5a9fbd882fcd09ae4656a (diff)
downloadgdb-ed963e2de8fb9d28b2540e2bc23ad19b3670ebea.zip
gdb-ed963e2de8fb9d28b2540e2bc23ad19b3670ebea.tar.gz
gdb-ed963e2de8fb9d28b2540e2bc23ad19b3670ebea.tar.bz2
* cgen-ibld.in (insert_normal): Cope with attempts to insert a signed 32-bit
value into an unsigned 32-bit field when the host is a 64-bit machine.
Diffstat (limited to 'opcodes/iq2000-asm.c')
-rw-r--r--opcodes/iq2000-asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/iq2000-asm.c b/opcodes/iq2000-asm.c
index 0ec59ce..9259086 100644
--- a/opcodes/iq2000-asm.c
+++ b/opcodes/iq2000-asm.c
@@ -213,8 +213,8 @@ parse_hi16 (CGEN_CPU_DESC cd,
1 to the resultant %hi value. */
if (value & 0x8000)
value += 0x10000;
- value &= 0xffff;
value >>= 16;
+ value &= 0xffff;
}
*valuep = value;