2007-04-17 01:36:08 +08:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
|
|
|
|
; RUN: grep movsd | wc -l | grep 1
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mcpu=yonah | \
|
|
|
|
; RUN: grep ucomisd
|
2006-10-26 00:35:10 +08:00
|
|
|
declare bool %llvm.isunordered.f64(double,double)
|
2004-06-11 13:30:34 +08:00
|
|
|
|
|
|
|
bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
|
2006-10-26 00:35:10 +08:00
|
|
|
%COM = call bool %llvm.isunordered.f64(double %X, double %Y)
|
2004-06-11 13:30:34 +08:00
|
|
|
ret bool %COM
|
|
|
|
}
|