Fix minor typos in recent errata workaround patch.
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of > 16.
This commit is contained in:
parent
71517c7008
commit
ca683b78f3
@ -1,3 +1,9 @@
|
|||||||
|
2000-11-16 Jim Wilson <wilson@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
|
||||||
|
>= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
|
||||||
|
> 16.
|
||||||
|
|
||||||
2000-11-16 H.J. Lu <hjl@gnu.org>
|
2000-11-16 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* config/obj-elf.c (obj_elf_symver): Don't check the missing
|
* config/obj-elf.c (obj_elf_symver): Don't check the missing
|
||||||
|
@ -5199,7 +5199,7 @@ errata_nop_necessary_p (slot, insn_unit)
|
|||||||
|| idesc->operands[i] == IA64_OPND_P2)
|
|| idesc->operands[i] == IA64_OPND_P2)
|
||||||
{
|
{
|
||||||
int regno = slot->opnd[i].X_add_number - REG_P;
|
int regno = slot->opnd[i].X_add_number - REG_P;
|
||||||
if (regno > 16)
|
if (regno >= 64)
|
||||||
abort ();
|
abort ();
|
||||||
this_group->p_reg_set[regno] = 1;
|
this_group->p_reg_set[regno] = 1;
|
||||||
}
|
}
|
||||||
@ -5215,7 +5215,7 @@ errata_nop_necessary_p (slot, insn_unit)
|
|||||||
|| idesc->operands[i] == IA64_OPND_R3)
|
|| idesc->operands[i] == IA64_OPND_R3)
|
||||||
{
|
{
|
||||||
int regno = slot->opnd[i].X_add_number - REG_GR;
|
int regno = slot->opnd[i].X_add_number - REG_GR;
|
||||||
if (regno > 128)
|
if (regno >= 128)
|
||||||
abort ();
|
abort ();
|
||||||
if (strncmp (idesc->name, "add", 3) != 0
|
if (strncmp (idesc->name, "add", 3) != 0
|
||||||
&& strncmp (idesc->name, "sub", 3) != 0
|
&& strncmp (idesc->name, "sub", 3) != 0
|
||||||
@ -5246,7 +5246,7 @@ errata_nop_necessary_p (slot, insn_unit)
|
|||||||
|| idesc->operands[i] == IA64_OPND_MR3)
|
|| idesc->operands[i] == IA64_OPND_MR3)
|
||||||
{
|
{
|
||||||
int regno = slot->opnd[i].X_add_number - REG_GR;
|
int regno = slot->opnd[i].X_add_number - REG_GR;
|
||||||
if (regno > 128)
|
if (regno >= 128)
|
||||||
abort ();
|
abort ();
|
||||||
if (idesc->operands[i] == IA64_OPND_R3)
|
if (idesc->operands[i] == IA64_OPND_R3)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user