Commit 7638d8b6 by Segher Boessenkool Committed by Segher Boessenkool

rs6000: Fix absif2

Without this patch absif2 always FAILs.  There is no testcase for
that, nor do we see it during bootstrap, but it is obvious.


	* config/rs6000/rs6000.md (abs<mode>2 for FLOAT128): Handle IFmode.

From-SVN: r261158
parent 389f7757
2018-06-04 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.md (abs<mode>2 for FLOAT128): Handle IFmode.
2018-06-04 Richard Sandiford <richard.sandiford@linaro.org>
* expr.c (expand_expr_real_1): Force the operand into memory if
......
......@@ -7980,7 +7980,7 @@
label = gen_label_rtx ();
if (<MODE>mode == TFmode)
emit_insn (gen_abstf2_internal (operands[0], operands[1], label));
else if (<MODE>mode == TFmode)
else if (<MODE>mode == IFmode)
emit_insn (gen_absif2_internal (operands[0], operands[1], label));
else
FAIL;
......
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