summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll
blob: a55c77bd2266104e91abc5baff398fef4ac84043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -march=x86 -mcpu=i686 -mattr=+mmx < %s | FileCheck %s
; <rdar://problem/10106006>

define void @func() nounwind ssp {
; CHECK:  psrlw %mm0, %mm1
entry:
  call void asm sideeffect "psrlw $0, %mm1", "y,~{dirflag},~{fpsr},~{flags}"(i32 8) nounwind
  unreachable

bb367:                                            ; preds = %entry                                                                                                                 
  ret void
}