[llvm-commits] CVS: llvm/lib/Target/X86/README.txt
Evan Cheng
evan.cheng at apple.com
Sun Jun 4 02:08:14 PDT 2006
Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.115 -> 1.116
---
Log message:
A few new entries.
---
Diffs of the changes: (+19 -0)
README.txt | 19 +++++++++++++++++++
1 files changed, 19 insertions(+)
Index: llvm/lib/Target/X86/README.txt
diff -u llvm/lib/Target/X86/README.txt:1.115 llvm/lib/Target/X86/README.txt:1.116
--- llvm/lib/Target/X86/README.txt:1.115 Tue May 30 02:37:37 2006
+++ llvm/lib/Target/X86/README.txt Sun Jun 4 04:08:00 2006
@@ -538,6 +538,9 @@
sarl $24, %eax
ret
+SIGN_EXTEND_INREG can be implemented as (sext (trunc)) to take advantage of
+sub-registers.
+
//===---------------------------------------------------------------------===//
Consider this:
@@ -649,3 +652,19 @@
However, if we care more about code size, then imull is better. It's two bytes
shorter than movl + leal.
+
+//===---------------------------------------------------------------------===//
+
+Implement CTTZ, CTLZ with bsf and bsr.
+
+//===---------------------------------------------------------------------===//
+
+It appears gcc place string data with linkonce linkage in
+.section __TEXT,__const_coal,coalesced instead of
+.section __DATA,__const_coal,coalesced.
+Take a look at darwin.h, there are other Darwin assembler directives that we
+do not make use of.
+
+//===---------------------------------------------------------------------===//
+
+We should handle __attribute__ ((__visibility__ ("hidden"))).
More information about the llvm-commits
mailing list