2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mcpu=yonah | \
|
2007-08-15 21:36:28 +08:00
|
|
|
; RUN: grep movsd | count 1
|
2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mcpu=yonah | \
|
2007-04-17 01:36:08 +08:00
|
|
|
; RUN: grep ucomisd
|
2008-02-21 15:42:26 +08:00
|
|
|
declare i1 @llvm.isunordered.f64(double, double)
|
2004-06-11 13:30:34 +08:00
|
|
|
|
2008-02-21 15:42:26 +08:00
|
|
|
define i1 @test1(double %X, double %Y) {
|
|
|
|
%COM = fcmp uno double %X, %Y ; <i1> [#uses=1]
|
|
|
|
ret i1 %COM
|
2004-06-11 13:30:34 +08:00
|
|
|
}
|
2008-02-21 15:42:26 +08:00
|
|
|
|