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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|gcn                         |amdgcn-*-*
   Last reconfirmed|                            |2022-11-02
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
It just looks like a copy and pasto and not really causing any issues:
  bool use_moves = (((unspec == UNSPEC_SMIN_DPP_SHR
                      || unspec == UNSPEC_SMIN_DPP_SHR
                      || unspec == UNSPEC_SMAX_DPP_SHR
                      || unspec == UNSPEC_UMIN_DPP_SHR
                      || unspec == UNSPEC_UMAX_DPP_SHR)
                     && (scalar_mode == DImode
                         || scalar_mode == DFmode))
                    || (unspec == UNSPEC_PLUS_DPP_SHR
                        && scalar_mode == DFmode));
  rtx_code code = (unspec == UNSPEC_SMIN_DPP_SHR ? SMIN
                   : unspec == UNSPEC_SMIN_DPP_SHR ? SMIN
                   : unspec == UNSPEC_SMAX_DPP_SHR ? SMAX
                   : unspec == UNSPEC_UMIN_DPP_SHR ? UMIN
                   : unspec == UNSPEC_UMAX_DPP_SHR ? UMAX
                   : unspec == UNSPEC_PLUS_DPP_SHR ? PLUS
                   : UNKNOWN);
  bool use_extends = ((unspec == UNSPEC_SMIN_DPP_SHR
                       || unspec == UNSPEC_SMAX_DPP_SHR
                       || unspec == UNSPEC_UMIN_DPP_SHR
                       || unspec == UNSPEC_UMAX_DPP_SHR)
                      && (scalar_mode == QImode
                          || scalar_mode == HImode));


It was added afterwards too: r13-3574-gf539029c1ce6fb

Reply via email to