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
This commit is contained in:
Segher Boessenkool 2018-06-04 18:36:24 +02:00 committed by Segher Boessenkool
parent 389f775789
commit 7638d8b640
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -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;