summaryrefslogtreecommitdiff
path: root/gcc/config/mmix
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2011-06-06 04:06:08 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2011-06-06 04:06:08 +0000
commit114948308a0f87a701161f6f1d67dfb628caedaa (patch)
treea3db15f79b4c3e510efe49bd55c846c7d0faa658 /gcc/config/mmix
parent5a9f48b4fbb507334ecbceb4f97049fb6e3b8202 (diff)
downloadgcc-114948308a0f87a701161f6f1d67dfb628caedaa.tar.gz
re PR target/49285 (build fails on mmix in libgcc2.c:__powisf2: ICE in emit_unop_insn)
PR target/49285 * config/mmix/mmix.md ("truncdfsf2", "extendsfdf2"): Correct predicate to nonimmediate_operand from memory_operand for the operand that is to be forced to memory by the expander. Lose the constraints. From-SVN: r174681
Diffstat (limited to 'gcc/config/mmix')
-rw-r--r--gcc/config/mmix/mmix.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/mmix/mmix.md b/gcc/config/mmix/mmix.md
index 97ab5e1312e..dbd4c0f778d 100644
--- a/gcc/config/mmix/mmix.md
+++ b/gcc/config/mmix/mmix.md
@@ -625,8 +625,8 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
;; define_expand with the old pattern as "anonymous".
;; FIXME: Perhaps with SECONDARY_MEMORY_NEEDED?
(define_expand "truncdfsf2"
- [(set (match_operand:SF 0 "memory_operand" "")
- (float_truncate:SF (match_operand:DF 1 "register_operand" "")))]
+ [(set (match_operand:SF 0 "nonimmediate_operand")
+ (float_truncate:SF (match_operand:DF 1 "register_operand")))]
""
"
{
@@ -660,8 +660,8 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
;; Same comment as for truncdfsf2.
(define_expand "extendsfdf2"
- [(set (match_operand:DF 0 "register_operand" "=r")
- (float_extend:DF (match_operand:SF 1 "memory_operand" "m")))]
+ [(set (match_operand:DF 0 "register_operand")
+ (float_extend:DF (match_operand:SF 1 "nonimmediate_operand")))]
""
"
{