mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
11 lines
257 B
LLVM
11 lines
257 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 > %t
|
||
|
; RUN: grep {fld %%st(0)} %t
|
||
|
; PR4185
|
||
|
|
||
|
define void @test() {
|
||
|
return:
|
||
|
call void asm sideeffect "fistpl $0", "{st}"(double 1.000000e+06)
|
||
|
call void asm sideeffect "fistpl $0", "{st}"(double 1.000000e+06)
|
||
|
ret void
|
||
|
}
|