re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp to short...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Tue, 6 Feb 2018 20:15:40 +0000 (20:15 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 6 Feb 2018 20:15:40 +0000 (20:15 +0000)
2018-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/84154
* config/rs6000/rs6000.md (su code attribute): Use "u" for
unsigned_fix, not "s".

From-SVN: r257429

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index f13481bcea6a677de7ba8b87c9d3df91a1b23242..2f203b6b7b755107d0ecee4ab7138008704d9986 100644 (file)
@@ -1,3 +1,9 @@
+2018-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/84154
+       * config/rs6000/rs6000.md (su code attribute): Use "u" for
+       unsigned_fix, not "s".
+
 2018-02-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * configure.ac (gcc_fn_eh_frame_ro): New function.
index b668dc2742b9d709149c59b09a5d6d044e3df327..f085f0da7bdf4c13f0ab9127647e8219ef620b2c 100644 (file)
 (define_code_attr su [(sign_extend     "s")
                      (zero_extend      "u")
                      (fix              "s")
-                     (unsigned_fix     "s")
+                     (unsigned_fix     "u")
                      (float            "s")
                      (unsigned_float   "u")])