projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary readme entry
[oota-llvm.git]
/
lib
/
Target
/
X86
/
README.txt
diff --git
a/lib/Target/X86/README.txt
b/lib/Target/X86/README.txt
index fcbae96bee01112350bd9497f2b84fed52f64b28..2374659a519a3bd5270cc5eae2d4298cc481ed81 100644
(file)
--- a/
lib/Target/X86/README.txt
+++ b/
lib/Target/X86/README.txt
@@
-1691,3
+1691,19
@@
LBB1_1: ## bb.i
...
//===---------------------------------------------------------------------===//
...
//===---------------------------------------------------------------------===//
+
+We compile:
+
+int test(int x, int y) {
+ return x-y-1;
+}
+
+into (-m64):
+
+_test:
+ decl %edi
+ movl %edi, %eax
+ subl %esi, %eax
+ ret
+
+it would be better to codegen as: x+~y (notl+addl)