From: Michael Meissner Date: Tue, 6 Feb 2018 20:15:40 +0000 (+0000) Subject: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp to short... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=478a853e03cc6561f2698a17d98b332d6296c40e;p=gcc.git re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp to short/char and returning it) 2018-02-06 Michael Meissner PR target/84154 * config/rs6000/rs6000.md (su code attribute): Use "u" for unsigned_fix, not "s". From-SVN: r257429 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f13481bcea6..2f203b6b7b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-02-06 Michael Meissner + + PR target/84154 + * config/rs6000/rs6000.md (su code attribute): Use "u" for + unsigned_fix, not "s". + 2018-02-06 Rainer Orth * configure.ac (gcc_fn_eh_frame_ro): New function. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index b668dc2742b..f085f0da7bd 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -550,7 +550,7 @@ (define_code_attr su [(sign_extend "s") (zero_extend "u") (fix "s") - (unsigned_fix "s") + (unsigned_fix "u") (float "s") (unsigned_float "u")])