Commit 0e808055 by Richard Sandiford Committed by Richard Sandiford

re PR target/14496 (ICE at recog.c:2083 building libgcc2.c)

	PR target/14496
	* config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
	TARGET_SINGLE_FLOAT.

From-SVN: r79342
parent 3ed8e5b6
2004-03-11 Richard Sandiford <rsandifo@redhat.com>
PR target/14496
* config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for
TARGET_SINGLE_FLOAT.
2004-03-11 Steve Ellcey <sje@cup.hp.com> 2004-03-11 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef. * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef.
......
...@@ -1308,8 +1308,10 @@ extern const struct mips_cpu_info *mips_tune_info; ...@@ -1308,8 +1308,10 @@ extern const struct mips_cpu_info *mips_tune_info;
/* The largest size of value that can be held in floating-point /* The largest size of value that can be held in floating-point
registers. */ registers. */
#define UNITS_PER_FPVALUE \ #define UNITS_PER_FPVALUE \
(TARGET_SOFT_FLOAT ? 0 : (LONG_DOUBLE_TYPE_SIZE / BITS_PER_UNIT)) (TARGET_SOFT_FLOAT ? 0 \
: TARGET_SINGLE_FLOAT ? UNITS_PER_FPREG \
: LONG_DOUBLE_TYPE_SIZE / BITS_PER_UNIT)
/* The number of bytes in a double. */ /* The number of bytes in a double. */
#define UNITS_PER_DOUBLE (TYPE_PRECISION (double_type_node) / BITS_PER_UNIT) #define UNITS_PER_DOUBLE (TYPE_PRECISION (double_type_node) / BITS_PER_UNIT)
......
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