summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fildll.ll
blob: dbf9aca2097179f110f7e5330bbab4f9082c6b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | wc -l | grep 2

fastcc double %sint64_to_fp(long %X) {
	%R = cast long %X to double
	ret double %R
}

fastcc double %uint64_to_fp(ulong %X) {
	%R = cast ulong %X to double
	ret double %R
}