mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 02:59:15 +00:00
6aa707f1b2
llvm-svn: 35323
12 lines
372 B
LLVM
12 lines
372 B
LLVM
; RUN: llvm-as < %s | llc -march=x86
|
|
|
|
define i32 @test(i16 %tmp40414244) {
|
|
%tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
|
|
ret i32 %tmp48
|
|
}
|
|
|
|
define i32 @test2(i16 %tmp40414244) {
|
|
%tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 14 )
|
|
ret i32 %tmp48
|
|
}
|