projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ensure these casts are done with the hardware fildll instruction
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fildll.ll
1
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep fildll | wc -l | grep 2
2
3
fastcc double %sint64_to_fp(long %X) {
4
%R = cast long %X to double
5
ret double %R
6
}
7
8
fastcc double %uint64_to_fp(ulong %X) {
9
%R = cast ulong %X to double
10
ret double %R
11
}