aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2005-04-02 09:58:36 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2005-04-02 09:58:36 +0000
commit51b759248a56e7638ea4c5d7afc7586ffa98a2dc (patch)
tree58c6f203179882a25cd48a11b0f08368804d2095 /gcc/config/rs6000
parent5f89fef6c49500be489aeca3d76bb69b49ca47dd (diff)
downloadgcc-51b759248a56e7638ea4c5d7afc7586ffa98a2dc.zip
gcc-51b759248a56e7638ea4c5d7afc7586ffa98a2dc.tar.gz
gcc-51b759248a56e7638ea4c5d7afc7586ffa98a2dc.tar.bz2
re PR target/20650 (float.c fails to build with weird error message)
PR 20650 * config/rs6000/rs6000.md (fix_truncdfsi2): Make destination a register. From-SVN: r97435
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 916f391..d97d3be 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -5272,8 +5272,10 @@
DONE;
}")
+; In the TARGET_PPC_GFXOPT case, this could and probably should
+; take a memory destination; but actually making this work is hard.
(define_expand "fix_truncdfsi2"
- [(parallel [(set (match_operand:SI 0 "reg_or_mem_operand" "")
+ [(parallel [(set (match_operand:SI 0 "gpc_reg_operand" "")
(fix:SI (match_operand:DF 1 "gpc_reg_operand" "")))
(clobber (match_dup 2))
(clobber (match_dup 3))])]