m32r.opc (parse_slo16): Do not assume a 32-bit host word size.

This commit is contained in:
Nick Clifton 2005-10-14 08:33:27 +00:00
parent 7047dd1ea8
commit ab7c9a26e5
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-10-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* cpu/m32r.opc (parse_slo16): Do not assume a 32-bit host word
size.
2005-07-25 DJ Delorie <dj@redhat.com>
* m32c.opc (parse_unsigned8): Add %dsp8().

View File

@ -182,7 +182,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
{
value &= 0xffff;
if (value & 0x8000)
value |= 0xffff0000;
value |= ~0xffff;
}
*valuep = value;
return errmsg;

View File

@ -1,3 +1,7 @@
2005-10-14 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* m32r-asm.c: Regenerate after updating m32r.opc.
2005-10-08 James Lemke <jim@wasabisystems.com>
* arm-dis.c (coprocessor_opcodes): Fix mask for various Maverick CDP

View File

@ -144,7 +144,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
{
value &= 0xffff;
if (value & 0x8000)
value |= 0xffff0000;
value |= ~0xffff;
}
*valuep = value;
return errmsg;