From patchwork Tue Mar 26 05:12:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 1065158 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-498419-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="RXN6LfYr"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GDszVvZG"; dkim-atps=neutral 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 44SzmJ3KWtz9sSR for ; Tue, 26 Mar 2019 16:13:04 +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=cw8oE/vjaAvEvk/8nB3aBh8SlOPMe5aP2gy53IdFHOI8DSbxj2 LKqtz1Bmwl81UkhI86gjkAPOm6c+gyF1S6XbcWgXrdHZrIKLzsf/oPpQft5qSJ7A RPPl7P/aRbgsWyql5xBRANpum/RxmbbClMB0qk6HJC8IgjSf1P/fW5d9g= 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=D95ffe+JKZMBoaDvbUmHfC9x4xk=; b=RXN6LfYrIhWGztCG4PV5 zQgAczd5fDR5psGrBpLDWExNp3Fzg0nxIsz8NqXQAPN/S38tyuvEnZuLWWO7SEAD LTgRXzd04qXOVM8gqXGiMaNL7RiKDCqMnxNoxBcwqIzoOxCmnbUdFToRGG0ZWEOg mJB9hQy2KGvYjJRTl1JE2H8= Received: (qmail 29838 invoked by alias); 26 Mar 2019 05:12: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 29814 invoked by uid 89); 26 Mar 2019 05:12:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-HELO:sk:mail-pl X-HELO: mail-pl1-f173.google.com Received: from mail-pl1-f173.google.com (HELO mail-pl1-f173.google.com) (209.85.214.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Mar 2019 05:12:52 +0000 Received: by mail-pl1-f173.google.com with SMTP id m10so1061257plt.10 for ; Mon, 25 Mar 2019 22:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=B9+FfZMIsWTm1vAA4q86ZAM67UgOmPdYAINJmSYvinA=; b=GDszVvZGCQWawjHZcJXD48mwr+GxH8ee4b5jhAF/wSQQq4NcllCRCyO+MmzqJkcaru 7zulFAnIewkBoR6bxSKojFCcgTo0aLTuNS+GwPYnOFOgGxu6caJ0LHvOCSkH+O3gaqRr HFZ7Nczedx/5s5uFZRcRhKnFruyOmUXrQIHuJkTmgy6s5NndnCr2Y2pJG6zk9qbxFzOC YJRhCHTpkXZRyY17ACxhL9LHgtfWHRriwMBI9r/ETrCARN3WEPs2vS54RL2FFaMDcaIo dAgTK/w7zdxC24tLuYsFQ5wHMF0CggMOrXN9QrePfymH9mj/CLKUUuEktG1tK05JK0z+ wcIw== Received: from bubble.grove.modra.org ([58.175.241.133]) by smtp.gmail.com with ESMTPSA id e23sm11313195pfd.11.2019.03.25.22.12.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 22:12:50 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 08316804D6; Tue, 26 Mar 2019 15:42:46 +1030 (ACDT) Date: Tue, 26 Mar 2019 15:42:46 +1030 From: Alan Modra To: gcc-patches@gcc.gnu.org Cc: Segher Boessenkool Subject: [RS6000] Fix typos Message-ID: <20190326051246.GB13871@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes Applying as obvious. * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Correct rs6000_vector_mem init. Correct wI and wJ comment. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f132c3a27c8..03c91432bff 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -3050,7 +3050,7 @@ rs6000_init_hard_regno_mode_ok (bool global_init_p) below. */ gcc_assert ((int)VECTOR_NONE == 0); memset ((void *) &rs6000_vector_unit[0], '\0', sizeof (rs6000_vector_unit)); - memset ((void *) &rs6000_vector_mem[0], '\0', sizeof (rs6000_vector_unit)); + memset ((void *) &rs6000_vector_mem[0], '\0', sizeof (rs6000_vector_mem)); gcc_assert ((int)CODE_FOR_nothing == 0); memset ((void *) ®_addr[0], '\0', sizeof (reg_addr)); @@ -3204,8 +3204,8 @@ rs6000_init_hard_regno_mode_ok (bool global_init_p) wy - Register class to do ISA 2.07 SF operations. wz - Float register if we can do 32-bit unsigned int loads. wH - Altivec register if SImode is allowed in VSX registers. - wI - VSX register if SImode is allowed in VSX registers. - wJ - VSX register if QImode/HImode are allowed in VSX registers. + wI - Float register if SImode is allowed in VSX registers. + wJ - Float register if QImode/HImode are allowed in VSX registers. wK - Altivec register if QImode/HImode are allowed in VSX registers. */ if (TARGET_HARD_FLOAT)