summaryrefslogtreecommitdiff
path: root/gcc/config/dsp16xx/dsp16xx.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/dsp16xx/dsp16xx.md')
-rw-r--r--gcc/config/dsp16xx/dsp16xx.md29
1 files changed, 10 insertions, 19 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.md b/gcc/config/dsp16xx/dsp16xx.md
index 28cf9c7caf3..ce7fb96b850 100644
--- a/gcc/config/dsp16xx/dsp16xx.md
+++ b/gcc/config/dsp16xx/dsp16xx.md
@@ -1,5 +1,5 @@
;;- Machine description for the AT&T DSP1600 for GNU C compiler
-;; Copyright (C) 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 1995, 1997, 1998, 2001 Free Software Foundation, Inc.
;; Contributed by Michael Collison (collison@world.std.com).
;; This file is part of GNU CC.
@@ -175,17 +175,13 @@
{
output_asm_insn (\"a0=%0\", operands);
}
- else if (IS_YBASE_REGISTER_WINDOW (REGNO(operands[0])))
- {
- output_asm_insn (\"a0=%u0\;a0l=%w0\", operands);
- }
+ else if (IS_YBASE_REGISTER_WINDOW (REGNO (operands[0])))
+ output_asm_insn (\"a0=%u0\;a0l=%w0\", operands);
else
- dsp16xx_invalid_register_for_compare ();
+ abort ();
}
else if (GET_CODE(operands[0]) == CONST_INT)
- {
- output_asm_insn (\"a0=%U0\;a0l=%H0\", operands);
- }
+ output_asm_insn (\"a0=%U0\;a0l=%H0\", operands);
else if (GET_CODE (operands[0]) == MEM)
{
rtx xoperands[2];
@@ -197,17 +193,12 @@
if (GET_CODE(operands[1]) == REG)
{
- if (REGNO (operands[1]) == REG_Y
- || REGNO (operands[1]) == REG_PROD)
- {
- output_asm_insn (\"a1=%1\", operands);
- }
- else if (IS_YBASE_REGISTER_WINDOW (REGNO(operands[1])))
- {
- output_asm_insn (\"a1=%u1\;a1l=%w1\", operands);
- }
+ if (REGNO (operands[1]) == REG_Y || REGNO (operands[1]) == REG_PROD)
+ output_asm_insn (\"a1=%1\", operands);
+ else if (IS_YBASE_REGISTER_WINDOW (REGNO (operands[1])))
+ output_asm_insn (\"a1=%u1\;a1l=%w1\", operands);
else
- dsp16xx_invalid_register_for_compare ();
+ abort ();
}
else if (GET_CODE (operands[1]) == MEM)
{