rs6000: Fix for the previous abi_v4_pass_in_fpr change
I was a bit over-enthusiastic, we still support xilinxfp. * config/rs6000/rs6000.c (abi_v4_pass_in_fpr): Add back the TARGET_DOUBLE_FLOAT and TARGET_SINGLE_FLOAT conditions on the DFmode resp. SFmode cases. From-SVN: r258557
This commit is contained in:
parent
919674fb7d
commit
244688fb39
@ -1,3 +1,9 @@
|
|||||||
|
2018-03-15 Segher Boessenkool <segher@kernel.crashing.org>
|
||||||
|
|
||||||
|
* config/rs6000/rs6000.c (abi_v4_pass_in_fpr): Add back the
|
||||||
|
TARGET_DOUBLE_FLOAT and TARGET_SINGLE_FLOAT conditions on the DFmode
|
||||||
|
resp. SFmode cases.
|
||||||
|
|
||||||
2018-03-15 Tamar Christina <tamar.christina@arm.com>
|
2018-03-15 Tamar Christina <tamar.christina@arm.com>
|
||||||
|
|
||||||
PR target/84711
|
PR target/84711
|
||||||
|
@ -11453,9 +11453,9 @@ abi_v4_pass_in_fpr (machine_mode mode, bool named)
|
|||||||
{
|
{
|
||||||
if (!TARGET_HARD_FLOAT)
|
if (!TARGET_HARD_FLOAT)
|
||||||
return false;
|
return false;
|
||||||
if (mode == DFmode)
|
if (TARGET_DOUBLE_FLOAT && mode == DFmode)
|
||||||
return true;
|
return true;
|
||||||
if (mode == SFmode && named)
|
if (TARGET_SINGLE_FLOAT && mode == SFmode && named)
|
||||||
return true;
|
return true;
|
||||||
/* ABI_V4 passes complex IBM long double in 8 gprs.
|
/* ABI_V4 passes complex IBM long double in 8 gprs.
|
||||||
Stupid, but we can't change the ABI now. */
|
Stupid, but we can't change the ABI now. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user