mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
794fa1f8f7
llvm-svn: 41097
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
|
|
}
|