From patchwork Wed Oct 22 20:48:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jb999@gmx.de X-Patchwork-Id: 3326 Received: (qmail 8794 invoked by alias); 22 Oct 2014 20:48:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 8772 invoked by uid 89); 22 Oct 2014 20:48:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL, BAYES_20, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: mout.gmx.net MIME-Version: 1.0 Message-ID: From: jb999@gmx.de To: libc-alpha@sourceware.org Subject: [PATCH] Recognize recent x86 CPUs in string.h Date: Wed, 22 Oct 2014 22:48:00 +0200 X-UI-Out-Filterresults: notjunk:1; If gcc is compiled --with-arch, recent CPUs won't be recognized. * sysdeps/x86/bits/string.h: Add recent CPUs. diff -Nur a/sysdeps/x86/bits/string.h b/sysdeps/x86/bits/string.h --- a/sysdeps/x86/bits/string.h 2014-10-22 22:31:44.000000000 +0200 +++ b/sysdeps/x86/bits/string.h 2014-10-22 22:39:54.000000000 +0200 @@ -29,6 +29,10 @@ || defined __pentiumpro__ || defined __pentium4__ \ || defined __nocona__ || defined __atom__ \ || defined __core2__ || defined __corei7__ \ + || defined __nehalem__ || defined __westmere__ \ + || defined __sandybridge__ || defined __ivybridge__ \ + || defined __haswell__ || defined __broadwell__ \ + || defined __bonnell__ || defined __silvermont__ \ || defined __k6__ || defined __geode__ \ || defined __k8__ || defined __athlon__ \ || defined __amdfam10__)