This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Typo in sse_storelps pattern?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Apr 2008 10:58:02 -0700
- Subject: Typo in sse_storelps pattern?
sse.md has
(define_insn "sse_storelps"
[(set (match_operand:V2SF 0 "nonimmediate_operand" "=m,x,x")
(vec_select:V2SF
(match_operand:V4SF 1 "nonimmediate_operand" "x,x,m")
(parallel [(const_int 0) (const_int 1)])))]
"TARGET_SSE"
"@
movlps\t{%1, %0|%0, %1}
movaps\t{%1, %0|%0, %1}
movlps\t{%1, %0|%0, %1}"
[(set_attr "type" "ssemov")
(set_attr "mode" "V2SF,V4SF,V2SF")])
movaps will move the whole 128bit register. Shouldn't it be
movss\t{%1, %0|%0, %1}