summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-08-04 12:05:16 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-08-04 12:05:16 +0000
commit75311b7b4dbb284e7539c0c62331387f3c4cd1ec (patch)
treed44a1ce6a1fcb67f4cb4286ffd5e2ecbde8a2fa9 /Makefile.rules
parentf3e3417e652420a2880fe1efa98ff11936f082e1 (diff)
downloadllvm-75311b7b4dbb284e7539c0c62331387f3c4cd1ec.tar.gz
llvm-75311b7b4dbb284e7539c0c62331387f3c4cd1ec.tar.bz2
llvm-75311b7b4dbb284e7539c0c62331387f3c4cd1ec.tar.xz
X86: Turn fp selects into mask operations.
double test(double a, double b, double c, double d) { return a<b ? c : d; } before: _test: ucomisd %xmm0, %xmm1 ja LBB0_2 movaps %xmm3, %xmm2 LBB0_2: movaps %xmm2, %xmm0 after: _test: cmpltsd %xmm1, %xmm0 andpd %xmm0, %xmm2 andnpd %xmm3, %xmm0 orpd %xmm2, %xmm0 Small speedup on Benchmarks/SmallPT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
0 files changed, 0 insertions, 0 deletions