mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
28beeeac4d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
283 B
LLVM
12 lines
283 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | count 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
|
|
}
|