aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000.md
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-08-23 02:39:56 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-08-23 02:39:56 +0000
commit5447a72782dbceded2d7d4a8e82ebecd90425083 (patch)
tree98588db07a9e8c4055184355eb343c78247a864c /gcc/config/rs6000/rs6000.md
parentf877430c4951f81579a6f9f5d5078323a1c8d6ad (diff)
PR target/21571
* config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename from legitimate_small_data_p, and make global. Update use. Remove forward declaration. * config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p): Declare. * config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@103382 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/rs6000.md')
-rw-r--r--gcc/config/rs6000/rs6000.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index d18b1248b1c..84db59fd14a 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -7549,9 +7549,10 @@
if (GET_CODE (operands[1]) == MEM
&& (rs6000_legitimate_offset_address_p (DFmode, XEXP (operands[1], 0),
reload_completed || reload_in_progress)
+ || rs6000_legitimate_small_data_p (DFmode, XEXP (operands[1], 0))
|| GET_CODE (XEXP (operands[1], 0)) == REG
|| GET_CODE (XEXP (operands[1], 0)) == LO_SUM
- || GET_CODE (XEXP (operands[1], 0)) == PRE_INC
+ || GET_CODE (XEXP (operands[1], 0)) == PRE_INC
|| GET_CODE (XEXP (operands[1], 0)) == PRE_DEC))
{
/* If the low-address word is used in the address, we must load
@@ -7591,9 +7592,10 @@
if (GET_CODE (operands[0]) == MEM
&& (rs6000_legitimate_offset_address_p (DFmode, XEXP (operands[0], 0),
reload_completed || reload_in_progress)
+ || rs6000_legitimate_small_data_p (DFmode, XEXP (operands[0], 0))
|| GET_CODE (XEXP (operands[0], 0)) == REG
|| GET_CODE (XEXP (operands[0], 0)) == LO_SUM
- || GET_CODE (XEXP (operands[0], 0)) == PRE_INC
+ || GET_CODE (XEXP (operands[0], 0)) == PRE_INC
|| GET_CODE (XEXP (operands[0], 0)) == PRE_DEC))
return \"{st%U0|stw%U0} %1,%0\;{st|stw} %L1,%L0\";
else