From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) by sourceware.org (Postfix) with ESMTPS id BB01C3856967 for ; Mon, 12 Sep 2022 10:30:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BB01C3856967 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ua1-x932.google.com with SMTP id u14so2970992ual.3 for ; Mon, 12 Sep 2022 03:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=/TdbCbB2BfyeBRv4WbwDpAPSX5qf9BBkDzwmjq433nU=; b=faPXKHTN7bmaq0WilfJnAs7W0uc85E4cJ41jEL4rKOSiu+D/I3zz7cWg1rRIHF8eTK ZkyQN5kt8l8YhFdm68Z55aHCmZHoxoAIq7HCROn3w01x2gP6g1gK0XxcKFv/6ZOJ1zMJ gUwaNJKeB7RMCi0bh9n7rsSMeHInZG7PuquYdBBVbRj4CJ27wHyGlT8alOIHpOsZqGm8 BE8ezEukD8sdk+fxLRc8++ffq86SCxst+y/aJpJ+KkbgCIx+1eJTd8DlljlWFj2CMoP9 4R2svytTOpE8GA6eIbIBsqY+V4GfsoWy3MfE823v7WOLP+VqU5h1JGjO4pegViK3kEH9 r6ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=/TdbCbB2BfyeBRv4WbwDpAPSX5qf9BBkDzwmjq433nU=; b=y0zpoB8TigpPsLQqv+GE0GQafZ65PtSw0ePXYtj8O93wuGQck11ACOaZE/vedzmvjU 4gG9TsAQYl1CGCSarLgmJM5pGceSg1KQIlmKzfwAg5yxdNYnGuVaYN0Jyq+AsasiAOZd whiXZVuXqEQGjJayogmH9hLt8Xe0nBq9AXkecFdg01yUJzzEpUY+qInly0koPJ+Wqxbh xLm/omnnmCnEZrJl/dJrcyHMNPr6pTdokjWAHFfSkxh9s6qjzrBOJ19VZWOdY1ew2a05 Ok4cWlH+MRs6tCeN5YYP/21UM44T6vtL3HN9NRt/L0d7D21pN0r57Lkuw0WAxVJSfS/n DnEQ== X-Gm-Message-State: ACgBeo2h2wCv5xydCvn5rGcEw6buiBBTo+lg/IG9UdG3z8whavYuF18s XD++KH6lXiDdcDjDuwzUHrVVg8DGdfQMd7sSySo= X-Google-Smtp-Source: AA6agR6LusW0rlp8Meqt6URmIxYJnPJRWB3u/GqA7V1v5RgcMAtL7CmGH3xBlR94dj9WsBS9CBiy5z2CTW5vPLjlJU8= X-Received: by 2002:ab0:70aa:0:b0:3ae:decd:3c1f with SMTP id q10-20020ab070aa000000b003aedecd3c1fmr8444027ual.54.1662978612348; Mon, 12 Sep 2022 03:30:12 -0700 (PDT) MIME-Version: 1.0 References: <20220908182530.118842-1-ghostmansd@gmail.com> <096b4190-d6d2-0f99-3490-7eb2ab51368d@suse.com> In-Reply-To: <096b4190-d6d2-0f99-3490-7eb2ab51368d@suse.com> From: lkcl Date: Mon, 12 Sep 2022 11:30:00 +0100 Message-ID: Subject: Re: [PATCH] ppc/svp64: support svshape2 instruction To: Jan Beulich Cc: Dmitry Selyutin , binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, Sep 12, 2022 at 7:24 AM Jan Beulich wrote: > > +{"svshape2", SVM2(22,281), SVM2_MASK, SVP64, PPCVLE, {SVo, yx10, rmm, SVd, sk, mm}}, > The doc talks of 7 arguments, the first one being merely a 3-bit > one (offs) with the fourth bit there instead being a separate > "inv". Is the doc stale or the patch? yep good catch, really appreciated jan, as Dmitry notes in a later message, i did try adding that "inv" argument you found in https://libre-soc.org/openpower/sv/remap/#svshape2 but backed it out fast when it reduced the range of the offset. the offsets being 0-15 (as opposed to 0-7) is an accidental but very useful compensator for some of the vectors otherwise being unable to start on anything other than even-numbered boundaries. l.