2013-08-23 22:27:02 +02:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse2,-sse4.1 | FileCheck %s
|
2011-03-16 14:52:51 +01:00
|
|
|
; CHECK: pshufd $3, %xmm0, %xmm0
|
|
|
|
|
2013-08-23 22:27:02 +02:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-win32 -mattr=+sse2,-sse4.1 | FileCheck %s -check-prefix=WIN64
|
2011-03-16 14:52:51 +01:00
|
|
|
; %a is passed indirectly on Win64.
|
|
|
|
; WIN64: movss 12(%rcx), %xmm0
|
2007-07-10 20:20:44 +02:00
|
|
|
|
2008-04-05 02:30:36 +02:00
|
|
|
define float @foo(<8 x float> %a) nounwind {
|
2007-07-10 20:20:44 +02:00
|
|
|
%c = extractelement <8 x float> %a, i32 3
|
|
|
|
ret float %c
|
|
|
|
}
|