From ba82f58bf1dbd9e183936303dd908494980aefd1 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 17 Mar 2002 13:07:29 +0000 Subject: mmix.md ("truncdfsf2"): Correct operator is float_truncate, not fix. * config/mmix/mmix.md ("truncdfsf2"): Correct operator is float_truncate, not fix. ("*truncdfsf2_real"): Ditto. ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. From-SVN: r50913 --- gcc/ChangeLog | 5 +++++ gcc/config/mmix/mmix.md | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e37139..82285b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2002-03-17 Hans-Peter Nilsson + * config/mmix/mmix.md ("truncdfsf2"): Correct operator is + float_truncate, not fix. + ("*truncdfsf2_real"): Ditto. + ("*nonlocal_goto_receiver_expanded"): Fix output template formatting. + * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define. 2002-03-16 Alexandre Oliva diff --git a/gcc/config/mmix/mmix.md b/gcc/config/mmix/mmix.md index da555ff..93dd3b0 100644 --- a/gcc/config/mmix/mmix.md +++ b/gcc/config/mmix/mmix.md @@ -582,7 +582,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") ;; FIXME: Perhaps with SECONDARY_MEMORY_NEEDED? (define_expand "truncdfsf2" [(set (match_operand:SF 0 "memory_operand" "") - (fix:SF (match_operand:DF 1 "register_operand" "")))] + (float_truncate:SF (match_operand:DF 1 "register_operand" "")))] "" " { @@ -610,7 +610,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") (define_insn "*truncdfsf2_real" [(set (match_operand:SF 0 "memory_operand" "=m") - (fix:SF (match_operand:DF 1 "register_operand" "r")))] + (float_truncate:SF (match_operand:DF 1 "register_operand" "r")))] "" "STSF %1,%0") @@ -1129,7 +1129,7 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") (clobber (reg:DI MMIX_rJ_REGNUM))] "" "GETA $255,0f\;PUT rJ,$255\;LDOU $255,%a0\n\ -0: GET %1,rO\;CMPU %1,%1,$255\;BNP %1,1f\;POP 0,0\n1:") +0:\;GET %1,rO\;CMPU %1,%1,$255\;BNP %1,1f\;POP 0,0\n1:") (define_insn "*Naddu" [(set (match_operand:DI 0 "register_operand" "=r") -- cgit v1.1