https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87149

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Fri Aug 31 08:52:13 2018
New Revision: 264011

URL: https://gcc.gnu.org/viewcvs?rev=264011&root=gcc&view=rev
Log:
rs6000: Make lround<mode>di2 depend on TARGET_FPRND (PR86684)

TARGET_FPRND should be on for everything ISA 2.04 and later, and
TARGET_VSX implies ISA 2.06 or later; but it is possible to disable
TARGET_FPRND (separately via -mno-fprnd, but also implicitly)
currently, and then things fall down.  This patch makes things not
fall down.


        PR target/86684
        PR target/87149
        * config/rs6000/rs6000.md (lround<mode>di2): Gate on TARGET_FPRND.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.md

Reply via email to