This is done.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 27 Feb 2008 20:26:32 +0000 (20:26 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 27 Feb 2008 20:26:32 +0000 (20:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47688 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index e140c147c6117f784c6af90a442def69f1582429..530a3f26beb1c934dc52301c93d50cdf02bff137 100644 (file)
@@ -1553,30 +1553,6 @@ abs:
 
 //===---------------------------------------------------------------------===//
 
-Consider:
-
-#include <inttypes.h>
-uint64_t a;
-uint16_t b;
-uint64_t mul(void) {
-  return a * b;
-}
-
-Currently, we generate the following:
-
-mul:
-        movzwl  b, %ecx
-        movl    %ecx, %eax
-        mull    a
-        imull   a+4, %ecx
-        addl    %edx, %ecx
-        movl    %ecx, %edx
-        ret
-
-llvm should be able to commute the addl so that the movl isn't necessary.
-
-//===---------------------------------------------------------------------===//
-
 Consider:
 int test(unsigned long a, unsigned long b) { return -(a < b); }