mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-28 00:04:51 +08:00
sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP modes.
* config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP modes. From-SVN: r37380
This commit is contained in:
parent
585ddf9c47
commit
93a7784807
@ -1,3 +1,8 @@
|
||||
2000-11-11 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
|
||||
modes.
|
||||
|
||||
2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* gcc.texi, gcov.texi: Update dates and version numbers.
|
||||
|
@ -537,10 +537,15 @@ do { \
|
||||
/* Value is 1 if it is a good idea to tie two pseudo registers
|
||||
when one has mode MODE1 and one has mode MODE2.
|
||||
If HARD_REGNO_MODE_OK could produce different values for MODE1 and MODE2,
|
||||
for any hard reg, then this must be 0 for correct output. */
|
||||
for any hard reg, then this must be 0 for correct output.
|
||||
That's the case for xd registers: we don't hold SFmode values in
|
||||
them, so we can't tie an SFmode pseudos with one in another
|
||||
floating-point mode. */
|
||||
|
||||
#define MODES_TIEABLE_P(MODE1, MODE2) \
|
||||
((MODE1) == (MODE2) || GET_MODE_CLASS (MODE1) == GET_MODE_CLASS (MODE2))
|
||||
((MODE1) == (MODE2) \
|
||||
|| (GET_MODE_CLASS (MODE1) == GET_MODE_CLASS (MODE2) \
|
||||
&& (MODE1) != SFmode && (MODE2) != SFmode))
|
||||
|
||||
/* Specify the registers used for certain standard purposes.
|
||||
The values of these macros are register numbers. */
|
||||
|
Loading…
Reference in New Issue
Block a user