mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
* config/tc-d10v.c (find_opcode): Reject non-SP operand if
flags requires SP.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-11-29 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-d10v.c (find_opcode): Reject non-SP operand if
|
||||||
|
flags requires SP.
|
||||||
|
|
||||||
2001-11-29 Arati Dikey <aratid@kpit.com>
|
2001-11-29 Arati Dikey <aratid@kpit.com>
|
||||||
|
|
||||||
* tc-sh.c (parse_at): Removed case-sensitivity of index register
|
* tc-sh.c (parse_at): Removed case-sensitivity of index register
|
||||||
|
@ -1276,7 +1276,8 @@ find_opcode (opcode, myops)
|
|||||||
if (X_op != O_register
|
if (X_op != O_register
|
||||||
|| (num & ~flags
|
|| (num & ~flags
|
||||||
& (OPERAND_GPR | OPERAND_ACC0 | OPERAND_ACC1
|
& (OPERAND_GPR | OPERAND_ACC0 | OPERAND_ACC1
|
||||||
| OPERAND_FFLAG | OPERAND_CFLAG | OPERAND_CONTROL)))
|
| OPERAND_FFLAG | OPERAND_CFLAG | OPERAND_CONTROL))
|
||||||
|
|| ((flags & OPERAND_SP) && ! (num & OPERAND_SP)))
|
||||||
{
|
{
|
||||||
as_bad (_("bad opcode or operands"));
|
as_bad (_("bad opcode or operands"));
|
||||||
return 0;
|
return 0;
|
||||||
@ -1385,7 +1386,8 @@ find_opcode (opcode, myops)
|
|||||||
|| (num & ~flags
|
|| (num & ~flags
|
||||||
& (OPERAND_GPR | OPERAND_ACC0 | OPERAND_ACC1
|
& (OPERAND_GPR | OPERAND_ACC0 | OPERAND_ACC1
|
||||||
| OPERAND_FFLAG | OPERAND_CFLAG
|
| OPERAND_FFLAG | OPERAND_CFLAG
|
||||||
| OPERAND_CONTROL)))
|
| OPERAND_CONTROL))
|
||||||
|
|| ((flags & OPERAND_SP) && ! (num & OPERAND_SP)))
|
||||||
{
|
{
|
||||||
match = 0;
|
match = 0;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user