aboutsummaryrefslogtreecommitdiff
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
commit865874c88a387c4c1614db61083d2c2504dc1cdf (patch)
tree8ad572b307f7097e0bb3c5ce86e1ae570492787e
parentfe14b34d83c085e6b7d46e915fdd9c21344e323b (diff)
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24572 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/README.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index c9f23d598b..57aec86d2e 100644
--- a/lib/Target/X86/README.txt
+++ b/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: