From patchwork Thu Aug 6 11:13:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 504662 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4E87C1401E7 for ; Thu, 6 Aug 2015 21:14:04 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=OC4y0Han; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=TXnciWwQ8wU5MBSgeQ VqALsb+MzHJsD9FYYYEVBS5ix9sC6eWdqav1TEl7g5YRXxUR8Q897nO0gK43kDmi ISnwMcTSrQbeQTEBsu512naCoYfS6CjQHSJcnJwbKkbF/jeI0CH7akdZcCjbxsVx 1MSwhzsCcOOm+g4JwiKwa8NcY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=V2RiLJfwZ7g2VssCcEZHLHd9 Y6g=; b=OC4y0HanHIPaWWWiYflwtQftXoYKRQcpCUwvaKMk6VrsVzacQwAREQUZ h7lOiPLiWEqAvxp25y2NDVrVXOyE3X/bbk7Dvlseii27DH1+gczi0zaFK5amsrtP qkgRG/ZpWLkKHy9KVYAIMfKuUMRVyDo9QVvtARr/f4P+cqnCV4o= Received: (qmail 102306 invoked by alias); 6 Aug 2015 11:13:57 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 102278 invoked by uid 89); 6 Aug 2015 11:13:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f50.google.com Received: from mail-oi0-f50.google.com (HELO mail-oi0-f50.google.com) (209.85.218.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 06 Aug 2015 11:13:55 +0000 Received: by oihn130 with SMTP id n130so37731917oih.2 for ; Thu, 06 Aug 2015 04:13:53 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.202.240.215 with SMTP id o206mr943053oih.94.1438859632966; Thu, 06 Aug 2015 04:13:52 -0700 (PDT) Received: by 10.60.58.41 with HTTP; Thu, 6 Aug 2015 04:13:52 -0700 (PDT) In-Reply-To: References: <20150804114734.GA32256@msticlxl57.ims.intel.com> <20150804123126.GC32256@msticlxl57.ims.intel.com> <20150804123401.GE32256@msticlxl57.ims.intel.com> <20150805080728.GA47699@msticlxl57.ims.intel.com> Date: Thu, 6 Aug 2015 13:13:52 +0200 Message-ID: Subject: Re: [PATCH, i386] Disable AVX-512VL insns for scalar mode operands on -march=knl. From: Uros Bizjak To: Kirill Yukhin Cc: Jakub Jelinek , Richard Biener , Jeff Law , GCC Patches On Thu, Aug 6, 2015 at 9:27 AM, Uros Bizjak wrote: >> Is it ok to backport the patch to gcc-5-branch? > > A minor attribute fix is needed, please update type attribute of > *vec_concatv2df for added alternatives, also for mainline. Fixed in mainline with the following patch: 2015-08-06 Uros Bizjak * config/i386/sse.md (*vec_concatv2df): Declare added alternatives as sselog type. Bootstrapped and regression tested on x86_64-linux-gnu, committed to mainline SVN. Uros. (set (attr "prefix_data16") Index: sse.md =================================================================== --- sse.md (revision 226670) +++ sse.md (working copy) @@ -8683,7 +8683,7 @@ [(set_attr "isa" "sse2_noavx,avx,avx512vl,sse3,avx512vl,sse2_noavx,avx,sse2,noavx,noavx") (set (attr "type") (if_then_else - (eq_attr "alternative" "0,1,2") + (eq_attr "alternative" "0,1,2,3,4") (const_string "sselog") (const_string "ssemov")))