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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc                     |powerpc*
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2025-10-16

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Did you use -mcpu=power10 ?  Without it you won't see any setbc of course :-)

I very recently added CCFP (as used in the pattern here) to the CCANY mode
iterator, that probably fixes this, for this testcase I get

bcdadd:
        bcdadd. 2,2,3,0  # 8    [c=4 l=4]  *bcdadd_test_v1ti
        setbc 3,27       # 15   [c=4 l=4]  setbc_ccfp_di
        blr              # 24   [c=4 l=4]  simple_return

(as you wanted).  Please confirm?

Reply via email to