xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=x86 -mcpu=i686 -mattr=+mmx < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; <rdar://problem/10106006>
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine void @func() nounwind ssp {
5*9880d681SAndroid Build Coastguard Worker; CHECK:  psrlw %mm0, %mm1
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker  call void asm sideeffect "psrlw $0, %mm1", "y,~{dirflag},~{fpsr},~{flags}"(i32 8) nounwind
8*9880d681SAndroid Build Coastguard Worker  unreachable
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerbb367:                                            ; preds = %entry
11*9880d681SAndroid Build Coastguard Worker  ret void
12*9880d681SAndroid Build Coastguard Worker}
13