summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/darwin.md
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-08 21:41:50 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-08 21:41:50 +0000
commit561726287b5245fdddb7d7c0be61cf6d72d35309 (patch)
tree60f166fb37292e65b4613b1e1402915ae014bbb3 /gcc/config/rs6000/darwin.md
parent6783d878387d2474d8a694d0b0eb8f7257e15963 (diff)
downloadgcc-561726287b5245fdddb7d7c0be61cf6d72d35309.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105123 138bc75d-0d04-0410-961f-82ee72b054a4
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: