public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: lkcl <luke.leighton@gmail.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: Dmitry Selyutin <ghostmansd@gmail.com>, binutils@sourceware.org
Subject: Re: [PATCH] ppc/svp64: support svshape2 instruction
Date: Mon, 12 Sep 2022 11:30:00 +0100	[thread overview]
Message-ID: <CAPweEDzj19c5tDv_ywCyjLnCEeppAQy-qjony3vwEiun1RbWsQ@mail.gmail.com> (raw)
In-Reply-To: <096b4190-d6d2-0f99-3490-7eb2ab51368d@suse.com>

On Mon, Sep 12, 2022 at 7:24 AM Jan Beulich <jbeulich@suse.com> 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.

      parent reply	other threads:[~2022-09-12 10:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 18:25 Dmitry Selyutin
2022-09-08 18:34 ` Dmitry Selyutin
2022-09-08 19:03   ` lkcl
2022-09-09  9:22   ` Dmitry Selyutin
2022-09-12  6:24 ` Jan Beulich
2022-09-12  8:43   ` Dmitry Selyutin
2022-09-12 10:30   ` lkcl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPweEDzj19c5tDv_ywCyjLnCEeppAQy-qjony3vwEiun1RbWsQ@mail.gmail.com \
    --to=luke.leighton@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=ghostmansd@gmail.com \
    --cc=jbeulich@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).