[llvm-commits] CVS: llvm/lib/Target/X86/README.txt

Chris Lattner lattner at cs.uiuc.edu
Mon May 8 14:24:34 PDT 2006



Changes in directory llvm/lib/Target/X86:

README.txt updated: 1.101 -> 1.102
---
Log message:

add a note


---
Diffs of the changes:  (+9 -0)

 README.txt |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm/lib/Target/X86/README.txt
diff -u llvm/lib/Target/X86/README.txt:1.101 llvm/lib/Target/X86/README.txt:1.102
--- llvm/lib/Target/X86/README.txt:1.101	Tue May  2 17:43:31 2006
+++ llvm/lib/Target/X86/README.txt	Mon May  8 16:24:21 2006
@@ -1166,4 +1166,13 @@
 The 2) marked instructions are the lowered form of the 1,undef,3,4 
 shufflevector.  It seems that there should be a better way to do it :)
 
+//===---------------------------------------------------------------------===//
+
+If shorter, we should use things like:
+movzwl %ax, %eax
+instead of:
+andl $65535, %EAX
+
+The former can also be used when the two-addressy nature of the 'and' would
+require a copy to be inserted (in X86InstrInfo::convertToThreeAddress).
 






More information about the llvm-commits mailing list