[LLVMbugs] [Bug 8381] Incorrect x86/SSE code generation involving <<8 x i16>> vector
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 15 07:57:23 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8381
Duncan Sands <baldrick at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #11 from Duncan Sands <baldrick at free.fr> 2010-10-15 09:57:23 CDT ---
I can reproduce this with llc from LLVM 2.8. However with the latest llc from
svn I get:
movl 8(%esp), %eax
movl 4(%esp), %ecx
movd %eax, %xmm0
punpcklwd %xmm0, %xmm0 # xmm0 = xmm0[0,0,1,1,2,2,3,3]
pshufd $0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movd %ecx, %xmm1
punpcklwd %xmm1, %xmm1 # xmm1 = xmm1[0,0,1,1,2,2,3,3]
pshufd $0, %xmm1, %xmm1 # xmm1 = xmm1[0,0,0,0]
paddw %xmm0, %xmm1
movaps %xmm1, %xmm0
ret
So it seems to have been fixed already.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list