Commit af02caa4 by Richard Kenner

(dsp16xx_reg_class_from_letter): Change error message text.

(limit_reload_class, double_reg_to_memory): Likewise.
(print_operand_address, emit_1600_core_shift): Likewise.
(gen_tst_reg, gen_compare_reg): Likewise.

From-SVN: r8812
parent 3826a3da
/* Subroutines for assembler code output on the DSP1610. /* Subroutines for assembler code output on the DSP1610.
Copyright (C) 1994 Free Software Foundation, Inc. Copyright (C) 1994, 1995 Free Software Foundation, Inc.
Contributed by Michael Collison (collison@world.std.com). Contributed by Michael Collison (collison@world.std.com).
This file is part of GNU CC. This file is part of GNU CC.
...@@ -260,7 +260,7 @@ int c; ...@@ -260,7 +260,7 @@ int c;
return SLOW_MEM_LOAD_REGS; return SLOW_MEM_LOAD_REGS;
default: default:
fatal ("Illegal register class letter %c", c); fatal ("Invalid register class letter %c", c);
return NO_REGS; return NO_REGS;
} }
} }
...@@ -396,7 +396,7 @@ enum reg_class class; ...@@ -396,7 +396,7 @@ enum reg_class class;
return class; return class;
case YL_REG: case YL_REG:
/* Register 'yl' is illegal for QImode, so we should never /* Register 'yl' is invalid for QImode, so we should never
see it. */ see it. */
fatal ("YL found in limit_reload_class"); fatal ("YL found in limit_reload_class");
...@@ -1472,7 +1472,7 @@ rtx operands[]; ...@@ -1472,7 +1472,7 @@ rtx operands[];
else if (GET_CODE (XEXP(addr,1)) == CONST_INT) else if (GET_CODE (XEXP(addr,1)) == CONST_INT)
offset = INTVAL(XEXP(addr,1)) + 1; offset = INTVAL(XEXP(addr,1)) + 1;
else else
fatal ("Illegal addressing mode"); fatal ("Invalid addressing mode");
fprintf (asm_out_file, "\t*(%d)=%s\n", offset + 31, reg_names[REGNO(operands[1]) + 1]); fprintf (asm_out_file, "\t*(%d)=%s\n", offset + 31, reg_names[REGNO(operands[1]) + 1]);
} }
...@@ -1674,10 +1674,10 @@ rtx addr; ...@@ -1674,10 +1674,10 @@ rtx addr;
if (offset >= -31 && offset <= 0) if (offset >= -31 && offset <= 0)
offset = 31 + offset; offset = 31 + offset;
else else
fatal ("Illegal offset in ybase addressing"); fatal ("Invalid offset in ybase addressing");
} }
else else
fatal ("Illegal register in ybase addresing"); fatal ("Invalid register in ybase addresing");
fprintf (file, "*(%d)", offset); fprintf (file, "*(%d)", offset);
break; break;
...@@ -1849,7 +1849,7 @@ int shift_amount; ...@@ -1849,7 +1849,7 @@ int shift_amount;
shift_asm_ptr_first = lshift_right_asm_first; shift_asm_ptr_first = lshift_right_asm_first;
} }
else else
fatal ("Illegal shift operator in emit_1600_core_shift"); fatal ("Invalid shift operator in emit_1600_core_shift");
while (shift_amount != 0) while (shift_amount != 0)
{ {
...@@ -2128,7 +2128,7 @@ gen_tst_reg (x) ...@@ -2128,7 +2128,7 @@ gen_tst_reg (x)
else if (mode == HImode) else if (mode == HImode)
emit_insn (gen_rtx (SET, VOIDmode, cc0_rtx, x)); emit_insn (gen_rtx (SET, VOIDmode, cc0_rtx, x));
else else
fatal ("Illegal mode for gen_tst_reg"); fatal ("Invalid mode for gen_tst_reg");
return cc0_rtx; return cc0_rtx;
} }
...@@ -2199,7 +2199,7 @@ gen_compare_reg (code, x, y) ...@@ -2199,7 +2199,7 @@ gen_compare_reg (code, x, y)
force_reg(HImode,y)))); force_reg(HImode,y))));
} }
else else
fatal ("Illegal mode for integer comparison in gen_compare_reg"); fatal ("Invalid mode for integer comparison in gen_compare_reg");
return cc0_rtx; return cc0_rtx;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment