mbox series

[v2,0/3] target/ppc: Implement Vector Expand/Extract Mask and Vector Mask

Message ID 20211112141430.631732-1-matheus.ferst@eldorado.org.br (mailing list archive)
Headers show
Series target/ppc: Implement Vector Expand/Extract Mask and Vector Mask | expand

Message

Matheus K. Ferst Nov. 12, 2021, 2:14 p.m. UTC
From: Matheus Ferst <matheus.ferst@eldorado.org.br>

This is a small patch series just to allow Ubuntu 21.10 to boot with
-cpu POWER10. Glibc 2.34 is using vextractbm, so the init is killed by
SIGILL without the second patch of this series. The other two insns. are
included as they are somewhat close to Vector Extract Mask (at least in
pseudocode).

v2:
- Applied rth suggestions to VEXTRACT[BHWDQ]M and MTVSR[BHWDQ]M[I]

Matheus Ferst (3):
  target/ppc: Implement Vector Expand Mask
  target/ppc: Implement Vector Extract Mask
  target/ppc: Implement Vector Mask Move insns

 target/ppc/insn32.decode            |  28 ++++
 target/ppc/translate/vmx-impl.c.inc | 209 ++++++++++++++++++++++++++++
 2 files changed, 237 insertions(+)

Comments

Cédric Le Goater Dec. 3, 2021, 8:34 a.m. UTC | #1
Hello,

On 11/12/21 15:14, matheus.ferst@eldorado.org.br wrote:
> From: Matheus Ferst <matheus.ferst@eldorado.org.br>
> 
> This is a small patch series just to allow Ubuntu 21.10 to boot with
> -cpu POWER10. Glibc 2.34 is using vextractbm, so the init is killed by
> SIGILL without the second patch of this series. The other two insns. are
> included as they are somewhat close to Vector Extract Mask (at least in
> pseudocode).
> 
> v2:
> - Applied rth suggestions to VEXTRACT[BHWDQ]M and MTVSR[BHWDQ]M[I]

I am planning to include these patches in the next ppc pull request
for QEMU 7.0 since they fix support for recent glibc/distros. Unless
something still needs to be done fpr patch 2+3.

Thanks,

C.

> 
> Matheus Ferst (3):
>    target/ppc: Implement Vector Expand Mask
>    target/ppc: Implement Vector Extract Mask
>    target/ppc: Implement Vector Mask Move insns
> 
>   target/ppc/insn32.decode            |  28 ++++
>   target/ppc/translate/vmx-impl.c.inc | 209 ++++++++++++++++++++++++++++
>   2 files changed, 237 insertions(+)
>