mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
56afd5e90b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189143 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
378 B
LLVM
12 lines
378 B
LLVM
; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse2,-sse4.1 | FileCheck %s
|
|
; CHECK: pshufd $3, %xmm0, %xmm0
|
|
|
|
; RUN: llc < %s -mtriple=x86_64-win32 -mattr=+sse2,-sse4.1 | FileCheck %s -check-prefix=WIN64
|
|
; %a is passed indirectly on Win64.
|
|
; WIN64: movss 12(%rcx), %xmm0
|
|
|
|
define float @foo(<8 x float> %a) nounwind {
|
|
%c = extractelement <8 x float> %a, i32 3
|
|
ret float %c
|
|
}
|