blob: dbf9aca2097179f110f7e5330bbab4f9082c6b33 [file] [log] [blame]
Evan Cheng9bd79b12006-01-27 21:14:23 +00001; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | wc -l | grep 2
Chris Lattner955c07c2005-05-14 07:09:25 +00002
3fastcc double %sint64_to_fp(long %X) {
4 %R = cast long %X to double
5 ret double %R
6}
7
8fastcc double %uint64_to_fp(ulong %X) {
9 %R = cast ulong %X to double
10 ret double %R
11}