Revert 2004-08-16 Stan Shebs <shebs@apple.com>
authorDavid Edelsohn <dje@gcc.gnu.org>
Tue, 17 Aug 2004 16:20:35 +0000 (12:20 -0400)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 17 Aug 2004 16:20:35 +0000 (12:20 -0400)
        Revert 2004-08-16  Stan Shebs  <shebs@apple.com>
        * config/rs6000/rs6000.md: Include darwin.md.
        (builtin_setjmp_receiver): Add DImode case.
        * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to
        Darwin bits.

From-SVN: r86132

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

index 99a4aab4aa0dca8a6a8103f9d2b5f2ab02eaee43..47a6ede89925e6666e4a634b3155fd3cac7cb6b6 100644 (file)
@@ -1,3 +1,11 @@
+2004-08-17  David Edelsohn  <edelsohn@gnu.org>
+
+       Revert 2004-08-16  Stan Shebs  <shebs@apple.com>
+       * config/rs6000/rs6000.md: Include darwin.md.
+       (builtin_setjmp_receiver): Add DImode case.
+       * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to
+       Darwin bits.
+
 2004-08-17  Dorit Naishlos  <dorit@il.ibm.com>
 
        * tree-vectorizer.c: New File: loop vectorization on SSAed GIMPLE trees.
        * config/i386/xmmintrin.h: Include <mm_malloc.h>.
 
 2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
-           Tanguy FautrÃ\83  <tfautre@pandora.be>
+           Tanguy Fautrà <tfautre@pandora.be>
 
        * config/i386/pmm_malloc.h: New file.
 
index a1760ed0e4890c80f332a8a4a6410d4f44dfe7e7..a3a8f34e2371f1139336f08d765f40b181f81c1f 100644 (file)
@@ -4319,16 +4319,8 @@ rs6000_emit_move (rtx dest, rtx source, enum machine_mode mode)
                  return;
                }
 #endif
-             if (mode == DImode)
-               {
-                 emit_insn (gen_macho_high_di (target, operands[1]));
-                 emit_insn (gen_macho_low_di (operands[0], target, operands[1]));
-               }
-             else
-               {
-                 emit_insn (gen_macho_high (target, operands[1]));
-                 emit_insn (gen_macho_low (operands[0], target, operands[1]));
-               }
+             emit_insn (gen_macho_high (target, operands[1]));
+             emit_insn (gen_macho_low (operands[0], target, operands[1]));
              return;
            }
 
index 149adf7e0e7a9466b60fee651bdd171d374404c7..198291e22b40be589bde2c8b162c88c44d286d30 100644 (file)
 (include "8540.md")
 (include "power4.md")
 (include "power5.md")
-(include "darwin.md")
 
 \f
 ;; Start with fixed-point load and store insns.  Here we put only the more
                                  CODE_LABEL_NUMBER (operands[0]));
       tmplabrtx = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (tmplab));
 
-      emit_insn (TARGET_64BIT
-        ? gen_load_macho_picbase_di (picreg, tmplabrtx)
-        : gen_load_macho_picbase (picreg, tmplabrtx));
-      emit_insn (TARGET_64BIT
-        ? gen_macho_correct_pic_di (picreg, picreg, picrtx, tmplabrtx)
-        : gen_macho_correct_pic (picreg, picreg, picrtx, tmplabrtx));
+      emit_insn (gen_load_macho_picbase (picreg, tmplabrtx));
+      emit_insn (gen_macho_correct_pic (picreg, picreg, picrtx, tmplabrtx));
     }
   else
 #endif