aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/dsp16xx
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@cygnus.com>1997-12-19 16:43:29 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-19 09:43:29 -0700
commit18543a22081f3f08a82e6402837daed19b66f0a7 (patch)
tree406e28da63e660364ba69da2395d4cb1eba4121d /gcc/config/dsp16xx
parentf1f5f1422f651133e28d479feb0223e92251cabe (diff)
downloadgcc-18543a22081f3f08a82e6402837daed19b66f0a7.zip
gcc-18543a22081f3f08a82e6402837daed19b66f0a7.tar.gz
gcc-18543a22081f3f08a82e6402837daed19b66f0a7.tar.bz2
expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression. * stmt.c (expand_end_case): Likewise. * alpha.h (CASE_VECTOR_PC_RELATIVE): Update. * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise. * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise. From-SVN: r17155
Diffstat (limited to 'gcc/config/dsp16xx')
-rw-r--r--gcc/config/dsp16xx/dsp16xx.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h
index 83a97f8..e128b48 100644
--- a/gcc/config/dsp16xx/dsp16xx.h
+++ b/gcc/config/dsp16xx/dsp16xx.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. AT&T DSP1600.
- Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
Contributed by Michael Collison (collison@world.std.com).
This file is part of GNU CC.
@@ -440,7 +440,7 @@ extern int target_flags;
/* 1 for registers that have pervasive standard uses
and are not available for the register allocator.
- The registers are layed out as follows:
+ The registers are laid out as follows:
{a0,a0l,a1,a1l,x,y,yl,p,pl} - Data Arithmetic Unit
{r0,r1,r2,r3,j,k,ybase} - Y Space Address Arithmetic Unit
@@ -1652,7 +1652,7 @@ const_section () \
/* This is how to output an assembler line defining a `float' constant. */
#define ASM_OUTPUT_FLOAT(FILE,VALUE) asm_output_float (FILE, VALUE)
-/* This is how to output and assembler line defininf a 'float' constant of
+/* This is how to output an assembler line defining a 'float' constant of
size HFmode. */
#define ASM_OUTPUT_SHORT_FLOAT(FILE,VALUE) asm_output_float (FILE, VALUE)
@@ -1921,10 +1921,11 @@ const_section () \
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE QImode
-/* Define this if the tablejump instruction expects the table
- to contain offsets from the address of the table.
- Do not define this if the table should contain absolute addresses. */
-/* #define CASE_VECTOR_PC_RELATIVE */
+/* Define as C expression which evaluates to nonzero if the tablejump
+ instruction expects the table to contain offsets from the address of the
+ table.
+ Do not define this if the table should contain absolute addresses. */
+/* #define CASE_VECTOR_PC_RELATIVE 1 */
/* Specify the tree operation to be used to convert reals to integers. */
#define IMPLICIT_FIX_EXPR FIX_ROUND_EXPR