summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-02 00:11:20 +0000
committerChris Lattner <sabre@nondot.org>2005-12-02 00:11:20 +0000
commit986cb40953bdac68dcfd765b57d5be5197e5e138 (patch)
tree39d3d150104667a3ed2b4a48c97f9cdf1995abb4 /llvm/lib/Target
parent0142afd6c1a91182d0df0d87d4d34c34d4f8d914 (diff)
downloadbcm5719-llvm-986cb40953bdac68dcfd765b57d5be5197e5e138.tar.gz
bcm5719-llvm-986cb40953bdac68dcfd765b57d5be5197e5e138.zip
add a note
llvm-svn: 24572
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/README.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt
index c9f23d598be..57aec86d2e5 100644
--- a/llvm/lib/Target/X86/README.txt
+++ b/llvm/lib/Target/X86/README.txt
@@ -12,6 +12,12 @@ long long test(long long X, long long Y) { return X*Y; }
by using the EAX result from the mul. We should add a similar node for
DIVREM.
+another case is:
+
+long long test(int X, int Y) { return (long long)X*Y; }
+
+... which should only be one imul instruction.
+
//===---------------------------------------------------------------------===//
This should be one DIV/IDIV instruction, not a libcall:
OpenPOWER on IntegriCloud