mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Doh!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30ea2fa933
commit
9e8734595a
@ -2,7 +2,7 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep pshuflw | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhps | wc -l | grep 1
|
||||
|
||||
void %test_pshuf(<2 x long>* %res, <2 x long>* %A) {
|
||||
void %test1(<2 x long>* %res, <2 x long>* %A) {
|
||||
%tmp = load <2 x long>* %A
|
||||
%tmp = cast <2 x long> %tmp to <8 x short>
|
||||
%tmp0 = extractelement <8 x short> %tmp, uint 0
|
||||
@ -26,7 +26,7 @@ void %test_pshuf(<2 x long>* %res, <2 x long>* %A) {
|
||||
ret void
|
||||
}
|
||||
|
||||
void %testh_movhps(<4 x float>* %r, <2 x int>* %A) {
|
||||
void %test2(<4 x float>* %r, <2 x int>* %A) {
|
||||
%tmp = load <4 x float>* %r
|
||||
%tmp = cast <2 x int>* %A to double*
|
||||
%tmp = load double* %tmp
|
||||
|
Loading…
Reference in New Issue
Block a user