blob: a9808dfcad7a409596a6725da8eca074c3633fca [file] [log] [blame]
Chris Lattner955c07c2005-05-14 07:09:25 +00001; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep fildll | wc -l | grep 2
2
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}