aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-08 21:24:21 +0000
committerChris Lattner <sabre@nondot.org>2006-05-08 21:24:21 +0000
commit8ef67ac3c3d3b21d4d5e9b7275603a6366acef9a (patch)
tree4aa4df73570c62adb0ae37aef7c71a06439b51fe /lib
parent4b37e87ab9e7bfad8b87115278ca589f8d49ba26 (diff)
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/README.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index b8ec59ae36..af520afe1d 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -1166,4 +1166,13 @@ pressure. The scheduling issue is more pronounced without -static.
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).