mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-05 17:30:02 +00:00
13 lines
277 B
LLVM
13 lines
277 B
LLVM
|
; RUN: llc -march=x86-64 < %s | FileCheck %s
|
||
|
|
||
|
@foobar = common global i32 0, align 4
|
||
|
|
||
|
define void @zed() nounwind {
|
||
|
entry:
|
||
|
call void asm "movq %mm2,${0:H}", "=*m,~{dirflag},~{fpsr},~{flags}"(i32* @foobar) nounwind
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK: zed
|
||
|
; CHECK: movq %mm2,foobar+8(%rip)
|