aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/inline-asm-q-regs.ll
blob: 19df81b231e954214c51ea2175e692e78a33b040 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | llc -march=x86-64
; rdar://7066579

	type { i64, i64, i64, i64, i64 }		; type %0

define void @t() nounwind {
entry:
	%asmtmp = call %0 asm sideeffect "mov    %cr0, $0       \0Amov    %cr2, $1       \0Amov    %cr3, $2       \0Amov    %cr4, $3       \0Amov    %cr8, $0       \0A", "=q,=q,=q,=q,=q,~{dirflag},~{fpsr},~{flags}"() nounwind		; <%0> [#uses=0]
	ret void
}