rs6000: Use more correct names for some trunc/extend libcalls
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 16 Jul 2018 23:00:03 +0000 (01:00 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 16 Jul 2018 23:00:03 +0000 (01:00 +0200)
They had source and destination swapped in the name.

* config/rs6000/rs6000.c (init_float128_ibm): Use more correct names
for the conversions between TDmode and IFmode.
(init_float128_ieee): Use more correct names for the conversions
between TDmode and KFmode.

From-SVN: r262752

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index f09e49c7fd9b3746d25b03d9497b28021db0632c..f032fcd789a0399b98ad45974fd4ce1a290c2274 100644 (file)
@@ -1,3 +1,10 @@
+2018-07-16  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000.c (init_float128_ibm): Use more correct names
+       for the conversions between TDmode and IFmode.
+       (init_float128_ieee): Use more correct names for the conversions
+       between TDmode and KFmode.
+
 2018-07-16  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/86526
index 197607214ff52e6f97f1b78c71a656bb95ace0f7..f95aa59b116a533b7ec1291c63c2c4c7b32b3da7 100644 (file)
@@ -17849,10 +17849,10 @@ init_float128_ibm (machine_mode mode)
     {
       set_conv_libfunc (sext_optab, mode, SDmode, "__dpd_extendsdtf2");
       set_conv_libfunc (sext_optab, mode, DDmode, "__dpd_extendddtf2");
-      set_conv_libfunc (trunc_optab, mode, TDmode, "__dpd_trunctftd2");
+      set_conv_libfunc (trunc_optab, mode, TDmode, "__dpd_trunctdtf2");
       set_conv_libfunc (trunc_optab, SDmode, mode, "__dpd_trunctfsd2");
       set_conv_libfunc (trunc_optab, DDmode, mode, "__dpd_trunctfdd2");
-      set_conv_libfunc (sext_optab, TDmode, mode, "__dpd_extendtdtf2");
+      set_conv_libfunc (sext_optab, TDmode, mode, "__dpd_extendtftd2");
 
       if (TARGET_POWERPC64)
        {
@@ -17953,10 +17953,10 @@ init_float128_ieee (machine_mode mode)
 
       set_conv_libfunc (sext_optab, mode, SDmode, "__dpd_extendsdkf2");
       set_conv_libfunc (sext_optab, mode, DDmode, "__dpd_extendddkf2");
-      set_conv_libfunc (trunc_optab, mode, TDmode, "__dpd_trunckftd2");
+      set_conv_libfunc (trunc_optab, mode, TDmode, "__dpd_trunctdkf2");
       set_conv_libfunc (trunc_optab, SDmode, mode, "__dpd_trunckfsd2");
       set_conv_libfunc (trunc_optab, DDmode, mode, "__dpd_trunckfdd2");
-      set_conv_libfunc (sext_optab, TDmode, mode, "__dpd_extendtdkf2");
+      set_conv_libfunc (sext_optab, TDmode, mode, "__dpd_extendkftd2");
 
       set_conv_libfunc (sfix_optab, SImode, mode, "__fixkfsi");
       set_conv_libfunc (ufix_optab, SImode, mode, "__fixunskfsi");