blob: e2cd750e2cac96258609b17bafbc03cac15c9559 [file] [log] [blame]
Chandler Carruthb3ce9472011-07-02 20:42:59 +00001; RUN: llc < %s -march=x86 | FileCheck %s
Chris Lattnereab65a02007-03-25 04:35:23 +00002target datalayout = "e-p:32:32"
3target triple = "i686-apple-darwin9"
4
5define void @test() {
Chandler Carruthb3ce9472011-07-02 20:42:59 +00006; CHECK: test:
7; 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 Lattnereab65a02007-03-25 04:35:23 +000013}
14