summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll
blob: 9b9d819c1efb5afebb15d7a06b47d9d35fcc3aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s | FileCheck %s
target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin9"

define void @test() {
; CHECK-LABEL: test:
; CHECK-NOT: ret
; CHECK: psrlw $8, %xmm0
; CHECK: ret

  tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 )
  ret void
}

OpenPOWER on IntegriCloud