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 | f9e0a56b94df1c3308203fb5992f6b697bfe664f (patch) | |
tree | 2f54df98320e621691f65130860e33350332c8aa /llvm/lib/Target | |
parent | 424de3498ba168ce00c4a520e622d5c0ae44a07c (diff) | |
download | bcm5719-llvm-f9e0a56b94df1c3308203fb5992f6b697bfe664f.tar.gz bcm5719-llvm-f9e0a56b94df1c3308203fb5992f6b697bfe664f.zip |
fix some sort of weird pasto
llvm-svn: 122560
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/X86/README.txt | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt index 6b83d47bced..4005431b75a 100644 --- a/llvm/lib/Target/X86/README.txt +++ b/llvm/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) |