* m32r.opc (parse_slo16): Fix bad application of previous patch.
This commit is contained in:
parent
3242b11e04
commit
e74eb924c2
4 changed files with 10 additions and 10 deletions
|
@ -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>
|
2005-10-18 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* m32r.opc (parse_slo16): Better version of previous patch.
|
* m32r.opc (parse_slo16): Better version of previous patch.
|
||||||
|
|
|
@ -179,11 +179,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
|
||||||
++*strp;
|
++*strp;
|
||||||
if (errmsg == NULL
|
if (errmsg == NULL
|
||||||
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
||||||
{
|
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
||||||
value &= 0xffff;
|
|
||||||
if (value & 0x8000)
|
|
||||||
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
|
||||||
}
|
|
||||||
*valuep = value;
|
*valuep = value;
|
||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2005-10-18 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* m32r-asm.c: Regenerate after updating m32r.opc.
|
||||||
|
|
||||||
2005-10-18 Jie Zhang <jie.zhang@analog.com>
|
2005-10-18 Jie Zhang <jie.zhang@analog.com>
|
||||||
|
|
||||||
* bfin-dis.c (print_insn_bfin): Do proper endian transform when
|
* bfin-dis.c (print_insn_bfin): Do proper endian transform when
|
||||||
|
|
|
@ -141,11 +141,7 @@ parse_slo16 (CGEN_CPU_DESC cd,
|
||||||
++*strp;
|
++*strp;
|
||||||
if (errmsg == NULL
|
if (errmsg == NULL
|
||||||
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
|
||||||
{
|
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
||||||
value &= 0xffff;
|
|
||||||
if (value & 0x8000)
|
|
||||||
value = ((value & 0xffff) ^ 0x8000) - 0x8000;
|
|
||||||
}
|
|
||||||
*valuep = value;
|
*valuep = value;
|
||||||
return errmsg;
|
return errmsg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue