m32r.opc (parse_slo16): Better version of previous patch.
This commit is contained in:
parent
cd1fcb494f
commit
5e03663f3d
|
@ -1,3 +1,7 @@
|
|||
2005-10-18 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* m32r.opc (parse_slo16): Better version of previous patch.
|
||||
|
||||
2005-10-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
|
||||
|
||||
* cpu/m32r.opc (parse_slo16): Do not assume a 32-bit host word
|
||||
|
|
|
@ -182,8 +182,8 @@ parse_slo16 (CGEN_CPU_DESC cd,
|
|||
{
|
||||
value &= 0xffff;
|
||||
if (value & 0x8000)
|
||||
value |= ~0xffff;
|
||||
}
|
||||
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
||||
}
|
||||
*valuep = value;
|
||||
return errmsg;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2005-10-18 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* m32r-asm.c: Regenerate after updating m32r.opc.
|
||||
|
||||
2005-10-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
|
||||
|
||||
* m32r-asm.c: Regenerate after updating m32r.opc.
|
||||
|
|
|
@ -144,8 +144,8 @@ parse_slo16 (CGEN_CPU_DESC cd,
|
|||
{
|
||||
value &= 0xffff;
|
||||
if (value & 0x8000)
|
||||
value |= ~0xffff;
|
||||
}
|
||||
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
||||
}
|
||||
*valuep = value;
|
||||
return errmsg;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue