From f972cae4b6dd9664b68a9c3a3f1198d79d206384 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 5 Jun 2005 07:54:50 +0000 Subject: [PATCH] re PR target/21914 (mmix-knuth-mmixware testsuite failure: compile/20030703-1.c) PR target/21914 * config/mmix/mmix.md ("*movdicc_real_foldable") ("*movdfcc_real_foldable", "*bCC_foldable") ("*bCC_inverted_foldable"): Specify DImode for register being compared. From-SVN: r100612 --- gcc/ChangeLog | 8 ++++++++ gcc/config/mmix/mmix.md | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df16d2a2c85..9cad0ce1a49 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2005-06-05 Hans-Peter Nilsson + + PR target/21914 + * config/mmix/mmix.md ("*movdicc_real_foldable") + ("*movdfcc_real_foldable", "*bCC_foldable") + ("*bCC_inverted_foldable"): Specify DImode for register being + compared. + 2005-06-04 Roger Sayle * reg-stack.c (struct block_info_def): Correct grammar typo. diff --git a/gcc/config/mmix/mmix.md b/gcc/config/mmix/mmix.md index 75e1446b4ab..af1409d7d9e 100644 --- a/gcc/config/mmix/mmix.md +++ b/gcc/config/mmix/mmix.md @@ -762,7 +762,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") [(set (match_operand:DI 0 "register_operand" "=r,r,r,r") (if_then_else:DI (match_operator 2 "mmix_foldable_comparison_operator" - [(match_operand 3 "register_operand" "r,r,r,r") + [(match_operand:DI 3 "register_operand" "r,r,r,r") (const_int 0)]) (match_operand:DI 1 "mmix_reg_or_8bit_operand" "rI,0 ,rI,GM") (match_operand:DI 4 "mmix_reg_or_8bit_operand" "0 ,rI,GM,rI")))] @@ -811,7 +811,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") (if_then_else:DF (match_operator 2 "mmix_foldable_comparison_operator" - [(match_operand 3 "register_operand" "r ,r ,r ,r") + [(match_operand:DI 3 "register_operand" "r ,r ,r ,r") (const_int 0)]) (match_operand:DF 1 "mmix_reg_or_0_operand" "rGM,0 ,rGM,GM") (match_operand:DF 4 "mmix_reg_or_0_operand" "0 ,rGM,GM ,rGM")))] @@ -1032,7 +1032,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") [(set (pc) (if_then_else (match_operator 1 "mmix_foldable_comparison_operator" - [(match_operand 2 "register_operand" "r") + [(match_operand:DI 2 "register_operand" "r") (const_int 0)]) (label_ref (match_operand 0 "" "")) (pc)))] @@ -1054,7 +1054,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") [(set (pc) (if_then_else (match_operator 1 "mmix_foldable_comparison_operator" - [(match_operand 2 "register_operand" "r") + [(match_operand:DI 2 "register_operand" "r") (const_int 0)]) (pc) (label_ref (match_operand 0 "" ""))))] -- 2.30.2