diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-26 12:05:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-26 12:05:11 +0000 |
commit | 6dbb5dc5ebff0faa0b8fa8aaa0187c5ca6e03fc3 (patch) | |
tree | 24a85c41a9350fbcf83886c1081cef916f1b2fcc /lib/Target/X86/README.txt | |
parent | 8a4893e01380d63938b86bd8934ea19b5e8008f1 (diff) | |
download | external_llvm-6dbb5dc5ebff0faa0b8fa8aaa0187c5ca6e03fc3.zip external_llvm-6dbb5dc5ebff0faa0b8fa8aaa0187c5ca6e03fc3.tar.gz external_llvm-6dbb5dc5ebff0faa0b8fa8aaa0187c5ca6e03fc3.tar.bz2 |
fix some sort of weird pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/README.txt')
-rw-r--r-- | lib/Target/X86/README.txt | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 6b83d47..4005431 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -118,66 +118,6 @@ Instead of doing an explicit test, we can use the flags off the sar. This occurs in a bigger testcase like this, which is pretty common: #include <vector> - - -int test1(std::vector<int> &X) { - int Sum = 0; - for (long i = 0, e = X.size(); i != e; ++i) - X[i] = 0; - return Sum; -} -compiles into: - - movq %rsi, %rbx - movl %edi, %r14d - sarl $2, %r14d - testl %r14d, %r14d - je LBB0_2 - -Instead of doing an explicit test, we can use the flags off the sar. This -occurs in a bigger testcase like this, which is pretty common: - -#include <vector> - - -int test1(std::vector<int> &X) { - int Sum = 0; - for (long i = 0, e = X.size(); i != e; ++i) - X[i] = 0; - return Sum; -} -compiles into: - - movq %rsi, %rbx - movl %edi, %r14d - sarl $2, %r14d - testl %r14d, %r14d - je LBB0_2 - -Instead of doing an explicit test, we can use the flags off the sar. This -occurs in a bigger testcase like this, which is pretty common: - -#include <vector> - - -int test1(std::vector<int> &X) { - int Sum = 0; - for (long i = 0, e = X.size(); i != e; ++i) - X[i] = 0; - return Sum; -} -compiles into: - - movq %rsi, %rbx - movl %edi, %r14d - sarl $2, %r14d - testl %r14d, %r14d - je LBB0_2 - -Instead of doing an explicit test, we can use the flags off the sar. This -occurs in a bigger testcase like this, which is pretty common in bootstrap: - -#include <vector> int test1(std::vector<int> &X) { int Sum = 0; for (long i = 0, e = X.size(); i != e; ++i) |