blob: 3e1786bef7932f051ffcd3d1e707214a38d540a5 [file] [log] [blame]
Chandler Carrutha7440ff2011-07-02 20:42:59 +00001; RUN: llc < %s -march=x86 | FileCheck %s
Chris Lattner60891462007-03-25 04:35:23 +00002target datalayout = "e-p:32:32"
3target triple = "i686-apple-darwin9"
4
5define void @test() {
Stephen Linf799e3f2013-07-13 20:38:47 +00006; CHECK-LABEL: test:
Chandler Carrutha7440ff2011-07-02 20:42:59 +00007; CHECK-NOT: ret
8; CHECK: psrlw $8, %xmm0
9; CHECK: ret
10
11 tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 )
12 ret void
Chris Lattner60891462007-03-25 04:35:23 +000013}
14