From: Michael Meissner Date: Thu, 15 Feb 2018 19:57:46 +0000 (+0000) Subject: backport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp... X-Git-Tag: releases/gcc-6.5.0~522 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d67389e600aa34f8f7111d8b30d450f45500500;p=thirdparty%2Fgcc.git backport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp to short/char and returning it) 2018-02-15 Michael Meissner Back port from trunk 2018-02-06 Michael Meissner PR target/84154 * config/rs6000/rs6000.md (su code attribute): Use "u" for unsigned_fix, not "s". From-SVN: r257707 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 983edf7bd22e..059f5e968d25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2018-02-15 Michael Meissner + + Back port from trunk + 2018-02-06 Michael Meissner + + PR target/84154 + * config/rs6000/rs6000.md (su code attribute): Use "u" for + unsigned_fix, not "s". + 2018-02-15 Aaron Sawdey Back port from mainline diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index bda465db833b..5cb37463cf61 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -535,7 +535,7 @@ (define_code_attr su [(sign_extend "s") (zero_extend "u") (fix "s") - (unsigned_fix "s") + (unsigned_fix "u") (float "s") (unsigned_float "u")])