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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-21
           Severity|normal                      |enhancement
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Most likely the vec_extract_lo_<mode> pattern should have a tie for the input
and output being the same register

Something like:
(define_insn "vec_extract_lo_<mode>"
  [(set (match_operand:<ssehalfvecmode> 0 "nonimmediate_operand" "=v,v,vm,v")
        (vec_select:<ssehalfvecmode>
          (match_operand:V8FI 1 "nonimmediate_operand" "0,v,v,vm")
          (parallel [(const_int 0) (const_int 1)
                     (const_int 2) (const_int 3)])))]

Reply via email to