From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10930 invoked by alias); 8 May 2014 19:12: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 10917 invoked by uid 89); 8 May 2014 19:12:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f53.google.com Received: from mail-oa0-f53.google.com (HELO mail-oa0-f53.google.com) (209.85.219.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 08 May 2014 19:12:28 +0000 Received: by mail-oa0-f53.google.com with SMTP id m1so3648366oag.40 for ; Thu, 08 May 2014 12:12:26 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.97.97 with SMTP id dz1mr7680642obb.13.1399576346744; Thu, 08 May 2014 12:12:26 -0700 (PDT) Received: by 10.182.89.229 with HTTP; Thu, 8 May 2014 12:12:26 -0700 (PDT) Date: Thu, 08 May 2014 19:12:00 -0000 Message-ID: Subject: [PATCH, i386]: Fix PR59952, -march=core-avx2 should not enable RTM From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Content-Type: multipart/mixed; boundary=047d7b2e4386fbfd7a04f8e8427a X-SW-Source: 2014-05/txt/msg00516.txt.bz2 --047d7b2e4386fbfd7a04f8e8427a Content-Type: text/plain; charset=UTF-8 Content-length: 496 Hello! Apparently, not all Haswell processors have TSX. Attached patch removes PTA_RTM from default Haswell flags. PTA_HLX still makes sense for Haswell processors, since the prefix is ignored on non-TSX processors. 2014-05-08 Uros Bizjak PR target/59952 * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM. Bootstrapped and regression tested on x86_64-pc-linux-gnu. The patch is committed on mainline, will be backported to all relevant release branches. Uros. --047d7b2e4386fbfd7a04f8e8427a Content-Type: text/plain; charset=US-ASCII; name="p.diff.txt" Content-Disposition: attachment; filename="p.diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_huyfm8hr0 Content-length: 781 SW5kZXg6IGNvbmZpZy9pMzg2L2kzODYuYwo9PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09Ci0tLSBjb25maWcvaTM4Ni9pMzg2LmMJKHJldmlzaW9uIDIxMDIzMSkK KysrIGNvbmZpZy9pMzg2L2kzODYuYwkod29ya2luZyBjb3B5KQpAQCAtMzEz MCw3ICszMTMwLDcgQEAgaXg4Nl9vcHRpb25fb3ZlcnJpZGVfaW50ZXJuYWwg KGJvb2wgbWFpbl9hcmdzX3AsCiAgIChQVEFfU0FORFlCUklER0UgfCBQVEFf RlNHU0JBU0UgfCBQVEFfUkRSTkQgfCBQVEFfRjE2QykKICNkZWZpbmUgUFRB X0hBU1dFTEwgXAogICAoUFRBX0lWWUJSSURHRSB8IFBUQV9BVlgyIHwgUFRB X0JNSSB8IFBUQV9CTUkyIHwgUFRBX0xaQ05UIFwKLSAgIHwgUFRBX0ZNQSB8 IFBUQV9NT1ZCRSB8IFBUQV9SVE0gfCBQVEFfSExFKQorICAgfCBQVEFfRk1B IHwgUFRBX01PVkJFIHwgUFRBX0hMRSkKICNkZWZpbmUgUFRBX0JST0FEV0VM TCBcCiAgIChQVEFfSEFTV0VMTCB8IFBUQV9BRFggfCBQVEFfUFJGQ0hXIHwg UFRBX1JEU0VFRCkKICNkZWZpbmUgUFRBX0JPTk5FTEwgXAo= --047d7b2e4386fbfd7a04f8e8427a--