diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-28 09:26:28 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-28 09:26:28 +0000 |
commit | 9fd68c082693e2db323eee226f8f041a1a596cc9 (patch) | |
tree | 60bd2c4c9dd96be75e26bf7a55c401eb632b6850 /gcc/config/dsp16xx | |
parent | 9f9d16c921fcede880ddba43b970b29f0f888d8f (diff) |
Merge from mainlinebefore_gc_merge_990902egcs_gc_branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/egcs_gc_branch@26036 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/dsp16xx')
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.c | 8 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.h | 10 | ||||
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.md | 6 |
3 files changed, 16 insertions, 8 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.c b/gcc/config/dsp16xx/dsp16xx.c index e7bcdced235..69f40c7fe5f 100644 --- a/gcc/config/dsp16xx/dsp16xx.c +++ b/gcc/config/dsp16xx/dsp16xx.c @@ -1,5 +1,5 @@ /* Subroutines for assembler code output on the DSP1610. - Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1997, 1998 Free Software Foundation, Inc. Contributed by Michael Collison (collison@world.std.com). This file is part of GNU CC. @@ -2239,3 +2239,9 @@ output_block_move (operands) fprintf (asm_out_file, "\t}\n"); return ""; } + +void +dsp16xx_invalid_register_for_compare () +{ + fatal ("Invalid register for compare"); +} diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index d63cc800337..f48de0968ca 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -1299,11 +1299,11 @@ extern struct dsp16xx_frame_info current_frame_info; /* ADDRESSING MODES */ /* The 1610 has post-increment and decrement, but no pre-modify */ -#define HAVE_POST_INCREMENT -#define HAVE_POST_DECREMENT +#define HAVE_POST_INCREMENT 1 +#define HAVE_POST_DECREMENT 1 -/* #define HAVE_PRE_DECREMENT */ -/* #define HAVE_PRE_INCREMENT */ +/* #define HAVE_PRE_DECREMENT 0 */ +/* #define HAVE_PRE_INCREMENT 0 */ /* Recognize any constant value that is a valid address. */ #define CONSTANT_ADDRESS_P(X) CONSTANT_P (X) @@ -1970,3 +1970,5 @@ const_section () \ /* Define this so gcc does not output a call to __main, since we are not currently supporting c++. */ #define INIT_SECTION_ASM_OP 1 + +void dsp16xx_invalid_register_for_compare (); diff --git a/gcc/config/dsp16xx/dsp16xx.md b/gcc/config/dsp16xx/dsp16xx.md index 9923178d90c..6029489628b 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 Free Software Foundation, Inc. +;; Copyright (C) 1994, 1995, 1997, 1998 Free Software Foundation, Inc. ;; Contributed by Michael Collison (collison@world.std.com). ;; This file is part of GNU CC. @@ -178,7 +178,7 @@ output_asm_insn (\"a0=%u0\;a0l=%w0\", operands); } else - fatal (\"Invalid register for compare\"); + dsp16xx_invalid_register_for_compare (); } else if (GET_CODE(operands[0]) == CONST_INT) { @@ -205,7 +205,7 @@ output_asm_insn (\"a1=%u1\;a1l=%w1\", operands); } else - fatal (\"Invalid register for compare\"); + dsp16xx_invalid_register_for_compare (); } else if (GET_CODE (operands[1]) == MEM) { |