linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: Expose ASIMD dot product instruction support
Date: Mon, 2 Oct 2017 11:26:43 +0100	[thread overview]
Message-ID: <20171002102643.GA3823@arm.com> (raw)
In-Reply-To: <20170927143316.14761-1-suzuki.poulose@arm.com>

On Wed, Sep 27, 2017 at 03:33:16PM +0100, Suzuki K Poulose wrote:
> ARM v8-A adds two new optional instructions in architecture version v8.2
> and v8.3, for performing dot product of 8bit elements in each 32bit element
> of two vectors and accumulating the result into a third vector. Expose the
> functionality via ELF HWCAPs and MRS emulation.
> 
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
> ---
>  Documentation/arm64/cpu-feature-registers.txt | 6 +++++-
>  arch/arm64/include/asm/sysreg.h               | 1 +
>  arch/arm64/include/uapi/asm/hwcap.h           | 1 +
>  arch/arm64/kernel/cpufeature.c                | 2 ++
>  arch/arm64/kernel/cpuinfo.c                   | 1 +
>  5 files changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/arm64/cpu-feature-registers.txt b/Documentation/arm64/cpu-feature-registers.txt
> index dad411d635d8..f25cfbfa91a7 100644
> --- a/Documentation/arm64/cpu-feature-registers.txt
> +++ b/Documentation/arm64/cpu-feature-registers.txt
> @@ -110,7 +110,11 @@ infrastructure:
>       x--------------------------------------------------x
>       | Name                         |  bits   | visible |
>       |--------------------------------------------------|
> -     | RES0                         | [63-32] |    n    |
> +     | RES0                         | [63-48] |    n    |
> +     |--------------------------------------------------|
> +     | DP                           | [47-44] |    y    |
> +     |--------------------------------------------------|
> +     | RES0                         | [43-32] |    n    |

Can you also add the other new features that occupy this RES0 space, please?
They're listed in the public XML descriptions of the system registers.

Will

      reply	other threads:[~2017-10-02 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 14:33 [PATCH] arm64: Expose ASIMD dot product instruction support Suzuki K Poulose
2017-10-02 10:26 ` Will Deacon [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=20171002102643.GA3823@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 NNTP newsgroup(s).