mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-12 15:05:06 +00:00
10 lines
226 B
LLVM
10 lines
226 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86
|
||
|
; RUN: llvm-as < %s | llc -march=x86-64
|
||
|
|
||
|
define void @test(i64 %x) nounwind {
|
||
|
entry:
|
||
|
tail call void asm sideeffect "ASM: $0", "r,~{dirflag},~{fpsr},~{flags}"(i64 %x) nounwind
|
||
|
ret void
|
||
|
}
|
||
|
|