]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Thu, 15 Feb 2018 19:57:46 +0000 (19:57 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 15 Feb 2018 19:57:46 +0000 (19:57 +0000)
2018-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk
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: r257707

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

index 983edf7bd22e978f98277fd260b6a0d1c5734bc9..059f5e968d25d2e8fdf249c2be381c8b0304a9f6 100644 (file)
@@ -1,3 +1,12 @@
+2018-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       Back port from trunk
+       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-15  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
 
        Back port from mainline
index bda465db833b48e5481cbfb8db98baf531a47eaf..5cb37463cf61356218f9f958e08b2073e3d7c8ec 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")])