From 08417efa3ad973ba7b1be5b6a530e0b186e3c294 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Wed, 25 Apr 2018 00:49:41 +0200 Subject: [PATCH] rs6000: Fix __powikf2 and __abskf2 spelling Both of these libfuncs had a "tkf" misspelling, which caused gcc.target/powerpc/pr85456.c to fail (there is no test for __abskf2). * config/rs6000/rs6000.c (init_float128_ieee): Fix spelling mistakes in __abskf2 and __powikf2. From-SVN: r259622 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1837b262189..4218f831eee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-04-24 Segher Boessenkool + + * config/rs6000/rs6000.c (init_float128_ieee): Fix spelling mistakes + in __abskf2 and __powikf2. + 2018-04-24 Kyrylo Tkachov PR target/85512 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index cbd4cfe3eb2..ddc61bdaffe 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -18656,8 +18656,8 @@ init_float128_ieee (machine_mode mode) set_optab_libfunc (smul_optab, mode, "__mulkf3"); set_optab_libfunc (sdiv_optab, mode, "__divkf3"); set_optab_libfunc (sqrt_optab, mode, "__sqrtkf2"); - set_optab_libfunc (abs_optab, mode, "__abstkf2"); - set_optab_libfunc (powi_optab, mode, "__powitkf2"); + set_optab_libfunc (abs_optab, mode, "__abskf2"); + set_optab_libfunc (powi_optab, mode, "__powikf2"); set_optab_libfunc (eq_optab, mode, "__eqkf2"); set_optab_libfunc (ne_optab, mode, "__nekf2"); -- 2.30.2