PR 17438 - fix parsing of MVTSYS and MVFSYS insns.
This commit is contained in:
parent
8456141bb2
commit
21056c79a4
|
@ -1,3 +1,9 @@
|
|||
Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-d30v.c (reg_name_search): Only warn if a name matches
|
||||
both a register name and symbol name.
|
||||
(find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
|
||||
|
||||
Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
|
||||
|
|
|
@ -168,13 +168,6 @@ reg_name_search (name)
|
|||
low = 0;
|
||||
high = reg_name_cnt () - 1;
|
||||
|
||||
if (symbol_find (name) != NULL)
|
||||
{
|
||||
if (warn_register_name_conflicts)
|
||||
as_warn ("Register name %s conflicts with symbol of the same name",
|
||||
name);
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
middle = (low + high) / 2;
|
||||
|
@ -183,8 +176,17 @@ reg_name_search (name)
|
|||
high = middle - 1;
|
||||
else if (cmp > 0)
|
||||
low = middle + 1;
|
||||
else
|
||||
return pre_defined_registers[middle].value;
|
||||
else
|
||||
{
|
||||
if (symbol_find (name) != NULL)
|
||||
{
|
||||
if (warn_register_name_conflicts)
|
||||
as_warn ("Register name %s conflicts with symbol of the same name",
|
||||
name);
|
||||
}
|
||||
|
||||
return pre_defined_registers[middle].value;
|
||||
}
|
||||
}
|
||||
while (low <= high);
|
||||
|
||||
|
|
Loading…
Reference in New Issue