Commit c5634c4d by Segher Boessenkool Committed by Segher Boessenkool

rs6000.md (extenddf<mode>2): Make this a parameterized name.

@extenddf<mode>2


	* config/rs6000/rs6000.md (extenddf<mode>2): Make this a parameterized
	name.
	(floatsi<mode>2): Use that name.  Simplify.

From-SVN: r272903
parent 37d8d439
......@@ -8,6 +8,12 @@
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (extenddf<mode>2): Make this a parameterized
name.
(floatsi<mode>2): Use that name. Simplify.
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (extenddf<mode>2_fprs): Make this a
parameterized name.
(extenddf<mode>2_vsx): Make this a parameterized name.
......
......@@ -7781,7 +7781,7 @@
(const_string "8")
(const_string "16"))])])
(define_expand "extenddf<mode>2"
(define_expand "@extenddf<mode>2"
[(set (match_operand:FLOAT128 0 "gpc_reg_operand")
(float_extend:FLOAT128 (match_operand:DF 1 "gpc_reg_operand")))]
"TARGET_HARD_FLOAT && TARGET_LONG_DOUBLE_128"
......@@ -7928,12 +7928,7 @@
{
rtx tmp = gen_reg_rtx (DFmode);
expand_float (tmp, op1, false);
if (<MODE>mode == TFmode)
emit_insn (gen_extenddftf2 (op0, tmp));
else if (<MODE>mode == IFmode)
emit_insn (gen_extenddfif2 (op0, tmp));
else
gcc_unreachable ();
emit_insn (gen_extenddf2 (<MODE>mode, op0, tmp));
DONE;
}
})
......
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