This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Does vectorizer support extension?


Hi Dorit,

SSE4 has vector zero/sign-extensions like:

(define_insn "sse4_1_zero_extendv2siv2di2"
  [(set (match_operand:V2DI 0 "register_operand" "=x")
        (zero_extend:V2DI
           (vec_select:V2SI
              (match_operand:V4SI 1 "nonimmediate_operand" "xm")
              (parallel [(const_int 0)
                         (const_int 1)]))))]
  "TARGET_SSE4_1"
  "pmovzxdq\t{%1, %0|%0, %1}"
  [(set_attr "type" "ssemov")
   (set_attr "mode" "TI")])

Does vectorizer support them?

Thanks.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]