Commit 8b26829f by Kaz Kojima

sh.h (CASE_VECTOR_MODE): Use SImode for a non-optimizing compile.

	* config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
	non-optimizing compile.
	(ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
	compile.

From-SVN: r61075
parent 3fbe8e4a
2003-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
non-optimizing compile.
(ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
compile.
2003-01-08 Douglas B Rupp <rupp@gnat.com>
* config/i386/i386.c (ix86_attribute_table): Add new attributes
......
......@@ -2571,7 +2571,7 @@ while (0)
/* Specify the machine mode that this machine uses
for the index in the tablejump instruction. */
#define CASE_VECTOR_MODE (TARGET_BIGTABLE ? SImode : HImode)
#define CASE_VECTOR_MODE ((! optimize || TARGET_BIGTABLE) ? SImode : HImode)
#define CASE_VECTOR_SHORTEN_MODE(MIN_OFFSET, MAX_OFFSET, BODY) \
((MIN_OFFSET) >= 0 && (MAX_OFFSET) <= 127 \
......@@ -3041,7 +3041,7 @@ while (0)
/* Output an absolute table element. */
#define ASM_OUTPUT_ADDR_VEC_ELT(STREAM,VALUE) \
if (TARGET_BIGTABLE) \
if (! optimize || TARGET_BIGTABLE) \
asm_fprintf ((STREAM), "\t.long\t%LL%d\n", (VALUE)); \
else \
asm_fprintf ((STREAM), "\t.word\t%LL%d\n", (VALUE));
......
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