This is done.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 29 Apr 2011 14:09:57 +0000 (14:09 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 29 Apr 2011 14:09:57 +0000 (14:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130499 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index 8237fbd094250af0315e0b7f200b985abd02e9eb..ea3014e7b92763838173abec4d1effc745553d2a 100644 (file)
@@ -1727,26 +1727,6 @@ are functionally identical.
 
 //===---------------------------------------------------------------------===//
 
-Take the following C code:
-int x(int y) { return (y & 63) << 14; }
-
-Code produced by gcc:
-       andl    $63, %edi
-       sall    $14, %edi
-       movl    %edi, %eax
-       ret
-
-Code produced by clang:
-       shll    $14, %edi
-       movl    %edi, %eax
-       andl    $1032192, %eax
-       ret
-
-The code produced by gcc is 3 bytes shorter.  This sort of construct often
-shows up with bitfields.
-
-//===---------------------------------------------------------------------===//
-
 Take the following C code:
 int f(int a, int b) { return (unsigned char)a == (unsigned char)b; }