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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Segher Boessenkool <seg...@gcc.gnu.org>:

https://gcc.gnu.org/g:a0b5843a9b2b3e93bd119d5aef583f53ad2ef0bc

commit r11-7695-ga0b5843a9b2b3e93bd119d5aef583f53ad2ef0bc
Author: Segher Boessenkool <seg...@kernel.crashing.org>
Date:   Tue Mar 16 18:29:11 2021 +0000

    rs6000: Workaround for PR98092

    The bcdinvalid_<mode> RTL instruction uses the "unordered" comparison,
    which cannot be used if we have -ffinite-math-only.  We really need
    CCMODEs that describe what bits in a CR field are set by other insns
    than just comparisons, but that is a lot more surgery, and it is stage 4
    now.  This patch does a simple workaround.

    2021-03-16  Segher Boessenkool  <seg...@kernel.crashing.org>

            PR target/98092
            * config/rs6000/predicates.md (branch_comparison_operator): Allow
            ordered and unordered for CCFPmode, if flag_finite_math_only.

    gcc/testsuite/
            PR target/98092
            * gcc.target/powerpc/pr98092.c: New.

Reply via email to