From 18543a22081f3f08a82e6402837daed19b66f0a7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 19 Dec 1997 16:43:29 +0000 Subject: 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 --- gcc/config/dsp16xx/dsp16xx.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'gcc/config/dsp16xx') 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 -- cgit v1.1