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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-02-24

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Hongtao Liu from comment #1)
> Looking at the hook description, it looks like x86 still need nozero return
> values under apx (due to AREG, DREG, CREG, BREG, SIREG, DIREG)

One usage is in cse.cc:

             record = true;
            else if (targetm.small_register_classes_for_mode_p (GET_MODE (x)))
              record = false;
            else if (targetm.class_likely_spilled_p (REGNO_REG_CLASS (regno)))
              record = false;

It should cover AREG, DREG, CREG, BREG, SIREG, DIREG.

Reply via email to