[llvm-commits] [llvm] r142154 - in /llvm/trunk/test/CodeGen/X86: mmx-vzmovl-2.ll mmx-vzmovl.ll
NAKAMURA Takumi
geek4civic at gmail.com
Sun Oct 16 20:53:51 PDT 2011
Nadav, too weird. Two tests are still failing on msvc10.
I guess you are not wrong.
> +; RUN: llc < %s -mtriple=x86_64-linux -mattr=+mmx,+sse2 | grep movq | count 2
Two outputs attached;
x.s: llc -mtriple=x86_64-linux
x1.s: llc -mtriple=x86_64-linux -mattr=+sse2
It seems FeatureString override does not work expectedly. Stack
alignment would be narrowed?
...Takumi
-------------- next part --------------
.file "<stdin>"
.text
.globl foo
.align 16, 0x90
.type foo, at function
foo: # @foo
# BB#0: # %entry
movq (%rdi), %xmm0
pshufd $16, %xmm0, %xmm0 # xmm0 = xmm0[0,0,1,0]
pxor %xmm1, %xmm1
punpcklqdq %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0]
pshufd $8, %xmm0, %xmm0 # xmm0 = xmm0[0,2,0,0]
movq %xmm0, (%rsi)
ret
.Ltmp0:
.size foo, .Ltmp0-foo
.section ".note.GNU-stack","", at progbits
-------------- next part --------------
.file "<stdin>"
.text
.globl foo
.align 16, 0x90
.type foo, at function
foo: # @foo
# BB#0: # %entry
movl 4(%rdi), %eax
movl 8(%rdi), %ecx
movd %rcx, %xmm1
movd %rax, %xmm0
punpcklqdq %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0]
pxor %xmm1, %xmm1
punpcklqdq %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0]
pshufd $8, %xmm0, %xmm0 # xmm0 = xmm0[0,2,0,0]
movq %xmm0, (%rsi)
ret
.Ltmp0:
.size foo, .Ltmp0-foo
.section ".note.GNU-stack","", at progbits
More information about the llvm-commits
mailing list