diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-03-18 02:34:11 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-03-18 02:34:11 +0000 |
commit | b4b8b0cc901ce41a0fb025885897d022eab390f2 (patch) | |
tree | 9c2923505ed4dfcca54242b7c8576cf34d6351b9 /lib/Support/MemoryBuffer.cpp | |
parent | a4f983970133c934d6af66dc8dc50fbf908c31dd (diff) |
Add a target-specific branchless method for double-width relational
comparisons on x86. Essentially, the way this works is that SUB+SBB sets
the relevant flags the same way a double-width CMP would.
This is a substantial improvement over the generic lowering in LLVM. The output
is also shorter than the gcc-generated output; I haven't done any detailed
benchmarking, though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions