2011-05-18 19:16:37 +02:00
|
|
|
; RUN: llc < %s -fast-isel -fast-isel-abort -mtriple=x86_64-apple-darwin10 | FileCheck %s
|
2009-09-13 01:45:47 +02:00
|
|
|
; RUN: llc < %s -fast-isel -march=x86 -mattr=+sse2 | grep xor | count 2
|
2009-09-04 00:53:57 +02:00
|
|
|
|
|
|
|
; CHECK: doo:
|
2009-09-11 02:34:46 +02:00
|
|
|
; CHECK: xor
|
2009-09-04 00:53:57 +02:00
|
|
|
define double @doo(double %x) nounwind {
|
|
|
|
%y = fsub double -0.0, %x
|
|
|
|
ret double %y
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK: foo:
|
2009-09-11 02:34:46 +02:00
|
|
|
; CHECK: xor
|
2009-09-04 00:53:57 +02:00
|
|
|
define float @foo(float %x) nounwind {
|
|
|
|
%y = fsub float -0.0, %x
|
|
|
|
ret float %y
|
|
|
|
}
|