From: Laurent Vivier <laurent@vivier.eu>
To: "Lucas Mateus Castro(alqotel)" <lucas.araujo@eldorado.org.br>,
qemu-ppc@nongnu.org
Cc: richard.henderson@linaro.org, "Joel Stanley" <joel@jms.id.au>,
"Alex Bennée" <clg@kaod.org>,
"Daniel Henrique Barboza" <danielhb413@gmail.com>,
qemu-devel@nongnu.org
Subject: Re: [PATCH v6 8/8] linux-user: Add PowerPC ISA 3.1 and MMA to hwcap
Date: Fri, 27 May 2022 16:28:10 +0200 [thread overview]
Message-ID: <c59bdffe-9954-6a0e-a9e7-aec611faa8b0@vivier.eu> (raw)
In-Reply-To: <20220524140537.27451-9-lucas.araujo@eldorado.org.br>
Le 24/05/2022 à 16:05, Lucas Mateus Castro(alqotel) a écrit :
> From: Joel Stanley <joel@jms.id.au>
>
> These are new hwcap bits added for power10.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/elfload.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/linux-user/elfload.c b/linux-user/elfload.c
> index 61063fd974..0908692e62 100644
> --- a/linux-user/elfload.c
> +++ b/linux-user/elfload.c
> @@ -779,6 +779,8 @@ enum {
> QEMU_PPC_FEATURE2_DARN = 0x00200000, /* darn random number insn */
> QEMU_PPC_FEATURE2_SCV = 0x00100000, /* scv syscall */
> QEMU_PPC_FEATURE2_HTM_NO_SUSPEND = 0x00080000, /* TM w/o suspended state */
> + QEMU_PPC_FEATURE2_ARCH_3_1 = 0x00040000, /* ISA 3.1 */
> + QEMU_PPC_FEATURE2_MMA = 0x00020000, /* Matrix-Multiply Assist */
> };
>
> #define ELF_HWCAP get_elf_hwcap()
> @@ -836,6 +838,8 @@ static uint32_t get_elf_hwcap2(void)
> QEMU_PPC_FEATURE2_VEC_CRYPTO);
> GET_FEATURE2(PPC2_ISA300, QEMU_PPC_FEATURE2_ARCH_3_00 |
> QEMU_PPC_FEATURE2_DARN | QEMU_PPC_FEATURE2_HAS_IEEE128);
> + GET_FEATURE2(PPC2_ISA310, QEMU_PPC_FEATURE2_ARCH_3_1 |
> + QEMU_PPC_FEATURE2_MMA);
>
> #undef GET_FEATURE
> #undef GET_FEATURE2
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
next prev parent reply other threads:[~2022-05-27 14:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-24 14:05 [PATCH v6 0/8] VSX MMA Implementation Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 1/8] target/ppc: Implement xxm[tf]acc and xxsetaccz Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 2/8] target/ppc: Implemented xvi*ger* instructions Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 3/8] target/ppc: Implemented pmxvi*ger* instructions Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 4/8] target/ppc: Implemented xvf*ger* Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 5/8] target/ppc: Implemented xvf16ger* Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 6/8] target/ppc: Implemented pmxvf*ger* Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 7/8] target/ppc: Implemented [pm]xvbf16ger2* Lucas Mateus Castro(alqotel)
2022-05-24 14:05 ` [PATCH v6 8/8] linux-user: Add PowerPC ISA 3.1 and MMA to hwcap Lucas Mateus Castro(alqotel)
2022-05-27 14:28 ` Laurent Vivier [this message]
2022-05-24 18:44 ` [PATCH v6 0/8] VSX MMA Implementation Daniel Henrique Barboza
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=c59bdffe-9954-6a0e-a9e7-aec611faa8b0@vivier.eu \
--to=laurent@vivier.eu \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=joel@jms.id.au \
--cc=lucas.araujo@eldorado.org.br \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=richard.henderson@linaro.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).