summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/darwin.md
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2005-10-08 21:41:50 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2005-10-08 14:41:50 -0700
commitc5dce79bc330b8b5a0f0430b8c4e8506a77a90bd (patch)
tree60f166fb37292e65b4613b1e1402915ae014bbb3 /gcc/config/rs6000/darwin.md
parent077fc835e58ac603ad96128f26e1701ca5357b59 (diff)
downloadgcc-c5dce79bc330b8b5a0f0430b8c4e8506a77a90bd.tar.gz
[multiple changes]
2005-10-08 Andrew Pinski <pinskia@physics.uc.edu> PR target/24136 * config/rs6000/darwin.md (movdf_low_si): Remove early clobber. Rewrite for no need for the early clobber. 2005-10-07 Andrew Pinski <pinskia@physics.uc.edu> PR target/24136 * gfortran.fortran-torture/compile/pr24136.f: New test. From-SVN: r105123
Diffstat (limited to 'gcc/config/rs6000/darwin.md')
-rw-r--r--gcc/config/rs6000/darwin.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/rs6000/darwin.md b/gcc/config/rs6000/darwin.md
index 0732817ef15..49c6caa03ce 100644
--- a/gcc/config/rs6000/darwin.md
+++ b/gcc/config/rs6000/darwin.md
@@ -28,10 +28,10 @@ Boston, MA 02110-1301, USA. */
[(set_attr "length" "4")])
(define_insn "movdf_low_si"
- [(set (match_operand:DF 0 "gpc_reg_operand" "=f,!&r")
+ [(set (match_operand:DF 0 "gpc_reg_operand" "=f,!r")
(mem:DF (lo_sum:SI (match_operand:SI 1 "gpc_reg_operand" "b,b")
(match_operand 2 "" ""))))]
- "TARGET_MACHO && TARGET_HARD_FLOAT && TARGET_FPRS && ! TARGET_64BIT"
+ "TARGET_MACHO && TARGET_HARD_FLOAT && TARGET_FPRS && !TARGET_64BIT"
"*
{
switch (which_alternative)
@@ -45,9 +45,9 @@ Boston, MA 02110-1301, USA. */
return \"ld %0,lo16(%2)(%1)\";
else
{
- output_asm_insn (\"{l|lwz} %0,lo16(%2)(%1)\", operands);
- output_asm_insn (\"{cal|la} %L0,lo16(%2)(%1)\", operands);
- return (\"{l|lwz} %L0,4(%L0)\");
+ output_asm_insn (\"{cal|la} %0,lo16(%2)(%1)\", operands);
+ output_asm_insn (\"{l|lwz} %L0,4(%0)\", operands);
+ return (\"{l|lwz} %0,0(%0)\");
}
}
default: