From patchwork Thu Oct 16 06:28:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Yukhin X-Patchwork-Id: 400145 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 7DD5C1400B5 for ; Thu, 16 Oct 2014 17:29:01 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=q0ARBxO5ff6Xu4VEj3lcjv5ulhxCPeYyUPHuexecU55fZzQ+G+ rMOI0jAS9Nb9XV2lsZ1SucQ18xJlw8i3WB91neyZ+F8VIN7HucDU6V+d9Fn26wIi hleSz+awe6+EOh6UQNfynv69W0J3EegEBU7PNBDH/2fCPhnWgNbhhQkeE= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=HAXxp/RdTEvh8GU/Eo24ANH0lrQ=; b=BtHtrvX0/pCKHQT+MFGE bSv3hzdMzGlUIN8IkZn5s5TNp8+KYYTMtyHO8Oq35e2s+PZ7h5N2jyaiiF8FT4/v 5+9GNVZ3ozqN/nDOctf2BQQI2qgAQ+d60VibbsRxusBgUnLlVrJSyLwZJa6nb3OP T1BYSLwyL4Der41wb5evyLU= Received: (qmail 6123 invoked by alias); 16 Oct 2014 06:28:55 -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 6114 invoked by uid 89); 16 Oct 2014 06:28:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f49.google.com Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 16 Oct 2014 06:28:53 +0000 Received: by mail-wg0-f49.google.com with SMTP id x12so2936782wgg.20 for ; Wed, 15 Oct 2014 23:28:50 -0700 (PDT) X-Received: by 10.180.186.175 with SMTP id fl15mr3210308wic.38.1413440930459; Wed, 15 Oct 2014 23:28:50 -0700 (PDT) Received: from msticlxl57.ims.intel.com (fmdmzpr01-ext.fm.intel.com. [192.55.54.36]) by mx.google.com with ESMTPSA id cx1sm788452wib.1.2014.10.15.23.28.47 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Oct 2014 23:28:50 -0700 (PDT) Date: Thu, 16 Oct 2014 10:28:38 +0400 From: Kirill Yukhin To: Uros Bizjak Cc: Jakub Jelinek , Richard Henderson , GCC Patches , kirill.yukhin@gmail.com Subject: [PATCH i386 AVX512] [79/n] Extend expand_mul_widen_hilo. Message-ID: <20141016062837.GB3755@msticlxl57.ims.intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Hello, This patch extends expand_mul_widen_hilo to 512-bit QI,SI,HI modes. Bootstrapped and regtested gcc/ * config/i386/i386.c (ix86_expand_mul_widen_hilo): Handle V32HI, V16SI, V64QI modes. Is it ok for trunk? --- Thanks, K diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ae64c44..945bc8d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -45610,6 +45610,9 @@ ix86_expand_mul_widen_hilo (rtx dest, rtx op1, rtx op2, case V16QImode: case V32QImode: + case V32HImode: + case V16SImode: + case V64QImode: t1 = gen_reg_rtx (wmode); t2 = gen_reg_rtx (wmode); ix86_expand_sse_unpack (t1, op1, uns_p, high_p);