summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commit5bcea612f4b6ed60aa2bc1c1c632dcb4c5b508b4 (patch)
tree427180bb4a26cfce8c5d0e9e01fdc9a39af78490 /llvm/lib/Target
parent446e1ef26a4a1c842fe40eb9bc15b8c882062418 (diff)
downloadbcm5719-llvm-5bcea612f4b6ed60aa2bc1c1c632dcb4c5b508b4.tar.gz
bcm5719-llvm-5bcea612f4b6ed60aa2bc1c1c632dcb4c5b508b4.zip
add a note
llvm-svn: 28176
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/README.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt
index b8ec59ae364..af520afe1d8 100644
--- a/llvm/lib/Target/X86/README.txt
+++ b/llvm/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).
OpenPOWER on IntegriCloud