llvm-6502/test/CodeGen/X86/fildll.ll
Evan Cheng 9bd79b17ef These are fp stack test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25698 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:14:23 +00:00

12 lines
275 B
LLVM

; 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
}