summaryrefslogtreecommitdiff
path: root/gcc/config/mmix
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-20 17:36:39 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-20 17:36:39 +0000
commitcb9c469a6b83e6c7a237d83b9bba9e0850900fd3 (patch)
tree556f131986cfdfc6d8a4c8cfee29362f8d9492b1 /gcc/config/mmix
parent3bf090f766bd5cb75c6c9bf1432561b832269436 (diff)
downloadgcc-cb9c469a6b83e6c7a237d83b9bba9e0850900fd3.tar.gz
* varasm.c (assemble_real): Use REAL_VALUE_TO_x and assemble_integer
to emit floating point values. (assemble_real_1): Remove. * 1750a/1750a.c (real_value_to_target_single): New. (real_value_to_target_double): New. * 1750a/1750a.h (TARGET_FLOAT_FORMAT): New. (REAL_VALUE_TO_TARGET_SINGLE): New. (REAL_VALUE_TO_TARGET_DOUBLE): New. * 1750a/1750a-protos.h: Update. * 1750a/1750a.h, a29k/a29k.h, alpha/alpha.h, alpha/unicosmk.h, alpha/vms.h, arc/arc.h, arm/aof.h, arm/aout.h, avr/avr.c, avr/avr.h, c4x/c4x.h, clipper/clix.h, convex/convex.h, cris/cris.h, d30v/d30v.h, dsp16xx/dsp16xx.c, dsp16xx/dsp16xx.h, elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/i370.h, i386/i386.h, i386/i386elf.h, i386/next.h, i386/ptx4-i.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h, i860/paragon.h, i860/sysv4.h, i960/i960-protos.h, i960/i960.c, i960/i960.h, ia64/ia64.h, m32r/m32r.h, m68hc11/m68hc11.c, m68hc11/m68hc11.h, m68k/3b1.h, m68k/altos3068.h, m68k/crds.h, m68k/dpx2.h, m68k/hp320.h, m68k/m68k.h, m68k/mot3300.h, m68k/news.h, m68k/next.h, m68k/next21.h, m68k/sgs.h, m68k/sun2o4.h, m68k/sun3.h, m68k/tower-as.h, m88k/m88k.h, mcore/mcore.h, mips/mips-protos.h, mips/mips.c, mips/mips.h, mmix/mmix-protos.h, mmix/mmix.c, mmix/mmix.h, mn10200/mn10200.h, mn10300/mn10300.h, ns32k/encore.h, ns32k/ns32k.h, pa/long_double.h, pa/pa.h, pdp11/pdp11.h, pj/pj.h, romp/romp.c, romp/romp.h, rs6000/rs6000.h, s390/linux.h, sh/sh.h, sparc/sparc.h, stormy16/stormy16.h, v850/v850.h, vax/vax.h, vax/vaxv.h, we32k/we32k.h, doc/tm.texi: Remove ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT, ASM_OUTPUT_THREE_QUARTER_FLOAT, and all associated support routines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48207 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mmix')
-rw-r--r--gcc/config/mmix/mmix-protos.h6
-rw-r--r--gcc/config/mmix/mmix.c33
-rw-r--r--gcc/config/mmix/mmix.h7
3 files changed, 0 insertions, 46 deletions
diff --git a/gcc/config/mmix/mmix-protos.h b/gcc/config/mmix/mmix-protos.h
index 0a3aca1ca80..b936625c707 100644
--- a/gcc/config/mmix/mmix-protos.h
+++ b/gcc/config/mmix/mmix-protos.h
@@ -131,12 +131,6 @@ extern rtx mmix_gen_compare_reg PARAMS ((enum rtx_code, rtx, rtx));
extern int mmix_asm_preferred_eh_data_format PARAMS ((int, int));
extern void mmix_setup_frame_addresses PARAMS ((void));
-/* Need real.h */
-#ifdef GCC_REAL_H
-extern void mmix_asm_output_double PARAMS ((FILE *, REAL_VALUE_TYPE *));
-extern void mmix_asm_output_float PARAMS ((FILE *, REAL_VALUE_TYPE *));
-#endif /* GCC_REAL_H */
-
/*
* Local variables:
* eval: (c-set-style "gnu")
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index 9ba6c2d2b40..3269d5b4075 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -1890,39 +1890,6 @@ mmix_asm_output_source_line (stream, lineno)
fprintf (stream, "\n");
}
-/* ASM_OUTPUT_DOUBLE. */
-
-void
-mmix_asm_output_double (stream, valuep)
- FILE * stream;
- REAL_VALUE_TYPE * valuep;
-{
- unsigned long bits[2];
- HOST_WIDEST_INT value;
-
- REAL_VALUE_TO_TARGET_DOUBLE (*valuep, (long *) bits);
- value
- = (((HOST_WIDEST_INT) bits[0]) << 32) | (HOST_WIDEST_INT) bits[1];
- mmix_output_octa (stream, value, 1);
-}
-
-/* ASM_OUTPUT_FLOAT. */
-
-void
-mmix_asm_output_float (stream, valuep)
- FILE * stream;
- REAL_VALUE_TYPE * valuep;
-{
- unsigned long bits;
-
- REAL_VALUE_TO_TARGET_SINGLE (*valuep, bits);
-
- fprintf (stream, "\tTETRA #%lx\n",
- (unsigned long) (bits
- & (((unsigned HOST_WIDEST_INT) (1 << 31) - 1) * 2
- + 1)));
-}
-
/* Target hook for assembling integer objects. Use mmix_print_operand
for WYDE and TETRA. Use mmix_output_octa to output 8-byte
CONST_DOUBLEs. */
diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h
index 8cb14e29f8a..8e8198184aa 100644
--- a/gcc/config/mmix/mmix.h
+++ b/gcc/config/mmix/mmix.h
@@ -966,16 +966,9 @@ const_section () \
/* Node: Data Output */
-#define ASM_OUTPUT_DOUBLE(STREAM, VALUE) \
- mmix_asm_output_double (STREAM, &VALUE)
-
-#define ASM_OUTPUT_FLOAT(STREAM, VALUE) \
- mmix_asm_output_float (STREAM, &VALUE)
-
#define ASM_OUTPUT_ASCII(STREAM, PTR, LEN) \
mmix_asm_output_ascii (STREAM, PTR, LEN)
-
/* Node: Uninitialized Data */
#define ASM_OUTPUT_ALIGNED_COMMON(ST, N, S, A) \