2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | \
|
2007-08-15 21:36:28 +08:00
|
|
|
; RUN: grep movsd | count 1
|
2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-- -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
|
|
|
|