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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
   Last reconfirmed|                            |2022-01-06
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The gimple level is decent:
  _7 = __builtin_ia32_ptestz128 (_4, _4);
  _1 = _7 == 0;
  bit_5 = (const u64) _1;

Though _7 is already 0 or 1. The problem is the target does not say the range
of __builtin_ia32_ptestz128 is 0 or 1.

Reply via email to