xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine i32 @test(i16 %tmp40414244) {
4*9880d681SAndroid Build Coastguard Worker  %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
5*9880d681SAndroid Build Coastguard Worker  ret i32 %tmp48
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdefine i32 @test2(i16 %tmp40414244) {
9*9880d681SAndroid Build Coastguard Worker  %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 14 )
10*9880d681SAndroid Build Coastguard Worker  ret i32 %tmp48
11*9880d681SAndroid Build Coastguard Worker}
12