Commit 2cf2d928 by Thiemo Seufer Committed by Thiemo Seufer

mips.c (override_options): Don't allow too small integers in FP registers.

	* config/mips/mips.c (override_options): Don't allow too small
	integers in FP registers.

From-SVN: r108276
parent 18d83a6f
2005-12-09 Thiemo Seufer <ths@networkno.de>
* config/mips/mips.c (override_options): Don't allow too small
integers in FP registers.
2005-12-09 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_function_ok_for_sibcall): Use
......
......@@ -4916,8 +4916,13 @@ override_options (void)
&& size <= UNITS_PER_FPVALUE)
/* Allow integer modes that fit into a single
register. We need to put integers into FPRs
when using instructions like cvt and trunc. */
|| (class == MODE_INT && size <= UNITS_PER_FPREG)
when using instructions like cvt and trunc.
We can't allow sizes smaller than a word,
the FPU has no appropriate load/store
instructions for those. */
|| (class == MODE_INT
&& size >= MIN_UNITS_PER_WORD
&& size <= UNITS_PER_FPREG)
/* Allow TFmode for CCmode reloads. */
|| (ISA_HAS_8CC && mode == TFmode));
......
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