Commit da29b933 by Segher Boessenkool Committed by Segher Boessenkool

rs6000.md (fix_trunc<mode>si2_fprs): Make this a parameterized name.

@fix_trunc<mode>si2_fprs


	* config/rs6000/rs6000.md (fix_trunc<mode>si2_fprs): Make this a
	parameterized name.
	(fix_trunc<mode>si2): Use that name.  Simplify.

From-SVN: r272896
parent 0254f29a
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (fix_trunc<mode>si2_fprs): Make this a
parameterized name.
(fix_trunc<mode>si2): Use that name. Simplify.
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (neg<mode>2): Make this a parameterized name.
(allocate_stack): Use that name. Simplify.
......
......@@ -7975,17 +7975,13 @@
{
if (FLOAT128_IEEE_P (<MODE>mode))
rs6000_expand_float128_convert (op0, op1, false);
else if (<MODE>mode == TFmode)
emit_insn (gen_fix_trunctfsi2_fprs (op0, op1));
else if (<MODE>mode == IFmode)
emit_insn (gen_fix_truncifsi2_fprs (op0, op1));
else
gcc_unreachable ();
emit_insn (gen_fix_truncsi2_fprs (<MODE>mode, op0, op1));
DONE;
}
})
(define_expand "fix_trunc<mode>si2_fprs"
(define_expand "@fix_trunc<mode>si2_fprs"
[(parallel [(set (match_operand:SI 0 "gpc_reg_operand")
(fix:SI (match_operand:IBM128 1 "gpc_reg_operand")))
(clobber (match_dup 2))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment