From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44798 invoked by alias); 21 Feb 2020 11:57:34 -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 44770 invoked by uid 89); 21 Feb 2020 11:57:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: esa1.mentor.iphmx.com Received: from esa1.mentor.iphmx.com (HELO esa1.mentor.iphmx.com) (68.232.129.153) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Feb 2020 11:57:29 +0000 IronPort-SDR: 4bH6BYqWlDvJJlTls0ULTEP4+OR+LpA3PcZ9CU8rSKKt17rdeT3QcCW0dl6uGDM9dMtWIzoOY1 0zZoXnHM3rISGdX/0HMWbmChTg5ZdMTaDkfWdd/Uo/nqZ4/DJWCEms/xbkjK8ntT+h0hBgpQ3o fgfbIL1pBNErvZOBvshfkCNWeiYJifZmE4AQjH+SJcS7enHP4PQxxaT1XAvmdjFsqJMzX1dHsl Gv+PtTfdxYQTZjlXlY5HZMPqIsetxQeKPVUbDMk1e8Zen2DT2FD+pj3J062z9XNPZU6/qhAd8l gxA= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 21 Feb 2020 03:57:27 -0800 IronPort-SDR: c+J6VZMrn19KZnTdHMXx0oKByPj9iIov5r++TCONreNVuticrAA2k5cWV1eXkk+qQ3/TucWdt2 hKNcT5znQ63/RCKVSM9Jpjcqw5bhX0QgaakHp1Vk5nrym2hH01vQdOAeiMIIYARbZbwBXJgVN/ T/8Miukdx5VR1SvJfWabYDv5lxLyacJ+JkMhk/bIwQApqNYowoucXtOvpvhLYj9Fq+xcppzYj2 ShebYSbNC04ergCHArPD8tufTsm96a5eJfJ5SAOpsCQWe+TaE7rucMMmLqVzE77NsbeezTRbNF iKc= From: Andrew Stubbs Subject: [committed] amdgcn: fix mode in vec_series To: "gcc-patches@gcc.gnu.org" Message-ID: <63316793-eb80-1bbc-5d5a-89c8b84d528c@codesourcery.com> Date: Fri, 21 Feb 2020 11:57:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------AAE229F48FEB1D4DC675D9E0" Return-Path: ams@codesourcery.com X-SW-Source: 2020-02/txt/msg01203.txt.bz2 --------------AAE229F48FEB1D4DC675D9E0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 221 This patch fixes any obvious typo in the definition of vec_seriesv64di. It's never worked, so the fact it's taken this long for me to notice shows how little the middle-end takes advantage of this pattern. :-( Andrew --------------AAE229F48FEB1D4DC675D9E0 Content-Type: text/x-patch; charset="UTF-8"; name="200220-fix-vec_series.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="200220-fix-vec_series.patch" Content-length: 671 amdgcn: fix mode in vec_series 2020-02-20 Andrew Stubbs gcc/ * config/gcn/gcn-valu.md (vec_seriesv64di): Use gen_vec_duplicatev64di. diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md index ecdd60b8190..edac362fd46 100644 --- a/gcc/config/gcn/gcn-valu.md +++ b/gcc/config/gcn/gcn-valu.md @@ -3156,7 +3156,7 @@ rtx op1vec = gen_reg_rtx (V64DImode); emit_insn (gen_mulv64di3_zext_dup2 (tmp, v1, operands[2])); - emit_insn (gen_vec_duplicatev64si (op1vec, operands[1])); + emit_insn (gen_vec_duplicatev64di (op1vec, operands[1])); emit_insn (gen_addv64di3 (operands[0], tmp, op1vec)); DONE; }) --------------AAE229F48FEB1D4DC675D9E0--