OSDN Git Service

PR target/26350
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Feb 2006 23:19:02 +0000 (23:19 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Feb 2006 23:19:02 +0000 (23:19 +0000)
        * config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
        MEM for ABI_V4 pic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111255 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 4305859..ce30e37 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-18  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/26350
+       * config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
+       MEM for ABI_V4 pic.
+
 2005-02-18  Richard Sandiford  <richard@codesourcery.com>
 
        * cselib.c (cselib_init): Change RTX_SIZE to RTX_CODE_SIZE.
 2005-02-18  Richard Sandiford  <richard@codesourcery.com>
 
        * cselib.c (cselib_init): Change RTX_SIZE to RTX_CODE_SIZE.
index 2dabd89..d214e21 100644 (file)
    && TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_LONG_DOUBLE_128"
 {
   operands[2] = CONST0_RTX (DFmode);
    && TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_LONG_DOUBLE_128"
 {
   operands[2] = CONST0_RTX (DFmode);
+  /* Generate GOT reference early for SVR4 PIC.  */
+  if (DEFAULT_ABI == ABI_V4 && flag_pic)
+    operands[2] = validize_mem (force_const_mem (DFmode, operands[2]));
 })
 
 (define_insn_and_split "*extenddftf2_internal"
 })
 
 (define_insn_and_split "*extenddftf2_internal"