diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-11-16 23:52:01 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-11-16 23:52:01 +0000 |
commit | ca683b78f3320f7442f14e78e6672553f71f1585 (patch) | |
tree | 0d6ca7b1a516a24b6b9a082673eff9994105ff6b /gas/config | |
parent | 71517c7008466f0211a3380e9e9950f1b440dc54 (diff) | |
download | gdb-ca683b78f3320f7442f14e78e6672553f71f1585.zip gdb-ca683b78f3320f7442f14e78e6672553f71f1585.tar.gz gdb-ca683b78f3320f7442f14e78e6672553f71f1585.tar.bz2 |
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.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ia64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 019afd7..2474a48 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -5199,7 +5199,7 @@ errata_nop_necessary_p (slot, insn_unit) || idesc->operands[i] == IA64_OPND_P2) { int regno = slot->opnd[i].X_add_number - REG_P; - if (regno > 16) + if (regno >= 64) abort (); this_group->p_reg_set[regno] = 1; } @@ -5215,7 +5215,7 @@ errata_nop_necessary_p (slot, insn_unit) || idesc->operands[i] == IA64_OPND_R3) { int regno = slot->opnd[i].X_add_number - REG_GR; - if (regno > 128) + if (regno >= 128) abort (); if (strncmp (idesc->name, "add", 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) { int regno = slot->opnd[i].X_add_number - REG_GR; - if (regno > 128) + if (regno >= 128) abort (); if (idesc->operands[i] == IA64_OPND_R3) { |