aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2003-08-26 20:39:45 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2003-08-26 20:39:45 +0000
commitb41ead3e3537c589c78911ad0426c22a029cfb46 (patch)
tree5c2b3eae17f63121fca801e8baefd6f4e5936293
parentc2f523ea72d6a1dc9319a14ac7a91de7e02901ba (diff)
downloadgcc-b41ead3e3537c589c78911ad0426c22a029cfb46.zip
gcc-b41ead3e3537c589c78911ad0426c22a029cfb46.tar.gz
gcc-b41ead3e3537c589c78911ad0426c22a029cfb46.tar.bz2
s390.c (emit_prologue): Don't check literal pool size.
* config/s390/s390.c (emit_prologue): Don't check literal pool size. * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call s390_output_pool_entry. From-SVN: r70819
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/s390/s390.c1
-rw-r--r--gcc/config/s390/s390.h36
3 files changed, 9 insertions, 34 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bb34433..746dec5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/s390/s390.c (emit_prologue): Don't check literal pool size.
+ * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call
+ s390_output_pool_entry.
+
2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/inclhack.def (svr4_preproc_lint_on,
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index b89fcee..c318d47 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -5316,7 +5316,6 @@ s390_emit_prologue (void)
See below for why TPF must use the register 1. */
if (!current_function_is_leaf
- && get_pool_size () < S390_POOL_CHUNK_MAX / 2
&& !TARGET_TPF)
temp_reg = gen_rtx_REG (Pmode, RETURN_REGNUM);
else
diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h
index 1e8cfa9..541d689 100644
--- a/gcc/config/s390/s390.h
+++ b/gcc/config/s390/s390.h
@@ -1034,39 +1034,9 @@ extern int s390_nr_constants;
#define ASM_OUTPUT_SPECIAL_POOL_ENTRY(FILE, EXP, MODE, ALIGN, LABELNO, WIN) \
{ \
fprintf (FILE, ".LC%d:\n", LABELNO); \
- \
- /* Output the value of the constant itself. */ \
- switch (GET_MODE_CLASS (MODE)) \
- { \
- case MODE_FLOAT: \
- if (GET_CODE (EXP) != CONST_DOUBLE) \
- abort (); \
- \
- REAL_VALUE_FROM_CONST_DOUBLE (r, EXP); \
- assemble_real (r, MODE, ALIGN); \
- break; \
- \
- case MODE_INT: \
- case MODE_PARTIAL_INT: \
- if (GET_CODE (EXP) == CONST \
- || GET_CODE (EXP) == SYMBOL_REF \
- || GET_CODE (EXP) == LABEL_REF) \
- { \
- fputs (integer_asm_op (UNITS_PER_WORD, TRUE), FILE); \
- s390_output_symbolic_const (FILE, EXP); \
- fputc ('\n', (FILE)); \
- } \
- else \
- { \
- assemble_integer (EXP, GET_MODE_SIZE (MODE), ALIGN, 1); \
- if (GET_MODE_SIZE (MODE) == 1) \
- ASM_OUTPUT_SKIP ((FILE), (unsigned HOST_WIDE_INT)1); \
- } \
- break; \
- \
- default: \
- abort (); \
- } \
+ s390_output_pool_entry (FILE, EXP, MODE, ALIGN); \
+ if (GET_MODE_SIZE (MODE) == 1) \
+ ASM_OUTPUT_SKIP ((FILE), (unsigned HOST_WIDE_INT)1); \
goto WIN; \
}