From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56400 invoked by alias); 20 Aug 2015 15:49:30 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 56376 invoked by uid 89); 20 Aug 2015 15:49:29 -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_00,KAM_MXURI,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mail.ud10.udmedia.de Received: from ud10.udmedia.de (HELO mail.ud10.udmedia.de) (194.117.254.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 20 Aug 2015 15:49:27 +0000 Received: (qmail 17206 invoked from network); 20 Aug 2015 17:49:23 +0200 Received: from ip5b41f88a.dynamic.kabel-deutschland.de (HELO x4) (ud10?360p3@91.65.248.138) by mail.ud10.udmedia.de with ESMTPSA (ECDHE-RSA-AES256-SHA encrypted, authenticated); 20 Aug 2015 17:49:23 +0200 Date: Thu, 20 Aug 2015 15:52:00 -0000 From: Markus Trippelsdorf To: Yuri Rumyantsev Cc: gcc-patches , Uros Bizjak , Igor Zamyatin , =?utf-8?B?0JjQu9GM0Y8g0K3QvdC60L7QstC40Yc=?= Subject: Re: [PATCH] Missing Skylake -march=/-mtune= option Message-ID: <20150820154923.GA399@x4> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SW-Source: 2015-08/txt/msg01218.txt.bz2 On 2015.08.13 at 12:31 +0300, Yuri Rumyantsev wrote: > Hi All, > > Here is patch for adding march/mtune options for Skylake. http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/desktop-6th-gen-core-family-spec-update.pdf states that BMI1 and BMI2 are not supported. Is this true for all Skylake CPUs? Quote from the pdf: SKD002 CPUID Incorrectly Reports Bit Manipulation Instructions Support Executing CPUID with EAX = 7 and ECX = 0 may return EBX with bits [3] and [8] set, incorrectly indicating the presence of BMI1 and BMI2 instruction set extensions. Attempting to use instructions from the BMI1 or BMI2 instruction set extensions will result in a #UD exception. -- Markus