From: Segher Boessenkool Date: Mon, 1 Jul 2019 18:36:34 +0000 (+0200) Subject: rs6000.md (fix_truncsi2_fprs): Make this a parameterized name. X-Git-Tag: upstream/12.2.0~23563 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da29b9330adcb9d7ffd3ede2f567116d83664f15;p=platform%2Fupstream%2Fgcc.git rs6000.md (fix_truncsi2_fprs): Make this a parameterized name. @fix_truncsi2_fprs * config/rs6000/rs6000.md (fix_truncsi2_fprs): Make this a parameterized name. (fix_truncsi2): Use that name. Simplify. From-SVN: r272896 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c158a08..03e8dab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2019-07-01 Segher Boessenkool + * config/rs6000/rs6000.md (fix_truncsi2_fprs): Make this a + parameterized name. + (fix_truncsi2): Use that name. Simplify. + +2019-07-01 Segher Boessenkool + * config/rs6000/rs6000.md (neg2): Make this a parameterized name. (allocate_stack): Use that name. Simplify. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 233b896..f011035 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -7975,17 +7975,13 @@ { if (FLOAT128_IEEE_P (mode)) rs6000_expand_float128_convert (op0, op1, false); - else if (mode == TFmode) - emit_insn (gen_fix_trunctfsi2_fprs (op0, op1)); - else if (mode == IFmode) - emit_insn (gen_fix_truncifsi2_fprs (op0, op1)); else - gcc_unreachable (); + emit_insn (gen_fix_truncsi2_fprs (mode, op0, op1)); DONE; } }) -(define_expand "fix_truncsi2_fprs" +(define_expand "@fix_truncsi2_fprs" [(parallel [(set (match_operand:SI 0 "gpc_reg_operand") (fix:SI (match_operand:IBM128 1 "gpc_reg_operand"))) (clobber (match_dup 2))