Without this patch absif2 always FAILs. There is no testcase for
that, nor do we see it during bootstrap, but it is obvious.
Bootstrapped and tested on powerpc64-linux {-m32,-m64}; committing
to trunk.
Segher
2018-06-04 Segher Boessenkool <[email protected]>
* config/rs6000/rs6000.md (abs<mode>2): Handle IFmode.
---
gcc/config/rs6000/rs6000.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 01bd6ba..e082fae 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -8030,7 +8030,7 @@ (define_expand "abs<mode>2"
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;
--
1.8.3.1