qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 00/49] target/ppc: PowerISA Vector/VSX instruction batch
@ 2022-02-25 21:08 matheus.ferst
  2022-02-25 21:08 ` [PATCH v5 01/49] target/ppc: Introduce TRANS*FLAGS macros matheus.ferst
                   ` (49 more replies)
  0 siblings, 50 replies; 65+ messages in thread
From: matheus.ferst @ 2022-02-25 21:08 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc
  Cc: danielhb413, richard.henderson, groug, clg, Matheus Ferst, david

From: Matheus Ferst <matheus.ferst@eldorado.org.br>

This patch series implements 5 missing instructions from PowerISA v3.0
and 58 new instructions from PowerISA v3.1, moving 87 other instructions
to decodetree along the way.

Patches without review: 4, 24, 26, 27, 34, 35, 38, 40, 44-46

This series can also be found at:
https://github.com/PPC64/qemu/tree/ppc-isa31-2112-v5

v5:
 - 2 new instructions: vrlqnm/vrlqmi;
 - DEF_HELPER_FLAGS_N with TCG_CALL_NO_RWG where possible (rth);
 - Other fixes/optimizations (rth).

v4:
 - Rebase on master;
 - 16 new instructions: vs[lr]q, vrlq, vextsd2q, lxvr[bhwd]x/stxvr[bhwd]x,
   plxssp/pstxssp and plxsd/pstxsd;
 - Multiple fixes/optimizations (rth)

v3:
 - Dropped patch 33, which caused a regression in xxperm[r]

v2:
 - New patch (30) to remove xscmpnedp

Leandro Lupori (2):
  target/ppc: implement plxsd/pstxsd
  target/ppc: implement plxssp/pstxssp

Lucas Coutinho (3):
  target/ppc: Move vexts[bhw]2[wd] to decodetree
  target/ppc: Implement vextsd2q
  target/ppc: implement lxvr[bhwd]/stxvr[bhwd]x

Lucas Mateus Castro (alqotel) (3):
  target/ppc: moved vector even and odd multiplication to decodetree
  target/ppc: Moved vector multiply high and low to decodetree
  target/ppc: vmulh* instructions without helpers

Luis Pires (1):
  target/ppc: Introduce TRANS*FLAGS macros

Matheus Ferst (29):
  target/ppc: Move Vector Compare Equal/Not Equal/Greater Than to
    decodetree
  target/ppc: Move Vector Compare Not Equal or Zero to decodetree
  target/ppc: Implement Vector Compare Equal Quadword
  target/ppc: Implement Vector Compare Greater Than Quadword
  target/ppc: Implement Vector Compare Quadword
  target/ppc: implement vstri[bh][lr]
  target/ppc: implement vclrlb
  target/ppc: implement vclrrb
  target/ppc: implement vcntmb[bhwd]
  target/ppc: implement vgnb
  target/ppc: move vs[lr][a][bhwd] to decodetree
  target/ppc: implement vslq
  target/ppc: implement vsrq
  target/ppc: implement vsraq
  target/ppc: move vrl[bhwd] to decodetree
  target/ppc: move vrl[bhwd]nm/vrl[bhwd]mi to decodetree
  target/ppc: implement vrlq
  target/ppc: implement vrlqnm
  target/ppc: implement vrlqmi
  target/ppc: Move vsel and vperm/vpermr to decodetree
  target/ppc: Move xxsel to decodetree
  target/ppc: move xxperm/xxpermr to decodetree
  target/ppc: Move xxpermdi to decodetree
  target/ppc: Implement xxpermx instruction
  tcg/tcg-op-gvec.c: Introduce tcg_gen_gvec_4i
  target/ppc: Implement xxeval
  target/ppc: Implement xxgenpcv[bhwd]m instruction
  target/ppc: move xs[n]madd[am][ds]p/xs[n]msub[am][ds]p to decodetree
  target/ppc: implement xs[n]maddqp[o]/xs[n]msubqp[o]

Víctor Colombo (11):
  target/ppc: Implement vmsumcud instruction
  target/ppc: Implement vmsumudm instruction
  target/ppc: Implement xvtlsbb instruction
  target/ppc: Remove xscmpnedp instruction
  target/ppc: Refactor VSX_SCALAR_CMP_DP
  target/ppc: Implement xscmp{eq,ge,gt}qp
  target/ppc: Move xscmp{eq,ge,gt}dp to decodetree
  target/ppc: Move xs{max, min}[cj]dp to use do_helper_XX3
  target/ppc: Refactor VSX_MAX_MINC helper
  target/ppc: Implement xs{max,min}cqp
  target/ppc: Implement xvcvbf16spn and xvcvspbf16 instructions

 include/tcg/tcg-op-gvec.h           |   22 +
 target/ppc/fpu_helper.c             |  221 +++--
 target/ppc/helper.h                 |  155 ++-
 target/ppc/insn32.decode            |  234 ++++-
 target/ppc/insn64.decode            |   56 +-
 target/ppc/int_helper.c             |  408 ++++----
 target/ppc/translate.c              |   58 +-
 target/ppc/translate/vmx-impl.c.inc | 1348 +++++++++++++++++++++++++--
 target/ppc/translate/vmx-ops.c.inc  |   59 +-
 target/ppc/translate/vsx-impl.c.inc |  842 ++++++++++++++---
 target/ppc/translate/vsx-ops.c.inc  |   67 --
 tcg/ppc/tcg-target.c.inc            |    6 +
 tcg/tcg-op-gvec.c                   |  146 +++
 13 files changed, 2845 insertions(+), 777 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 65+ messages in thread

end of thread, other threads:[~2022-03-03  7:21 UTC | newest]

Thread overview: 65+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-25 21:08 [PATCH v5 00/49] target/ppc: PowerISA Vector/VSX instruction batch matheus.ferst
2022-02-25 21:08 ` [PATCH v5 01/49] target/ppc: Introduce TRANS*FLAGS macros matheus.ferst
2022-02-25 21:08 ` [PATCH v5 02/49] target/ppc: moved vector even and odd multiplication to decodetree matheus.ferst
2022-02-25 21:08 ` [PATCH v5 03/49] target/ppc: Moved vector multiply high and low " matheus.ferst
2022-02-25 21:08 ` [PATCH v5 04/49] target/ppc: vmulh* instructions without helpers matheus.ferst
2022-02-25 21:16   ` Richard Henderson
2022-02-25 21:08 ` [PATCH v5 05/49] target/ppc: Implement vmsumcud instruction matheus.ferst
2022-02-25 21:08 ` [PATCH v5 06/49] target/ppc: Implement vmsumudm instruction matheus.ferst
2022-02-25 21:08 ` [PATCH v5 07/49] target/ppc: Move vexts[bhw]2[wd] to decodetree matheus.ferst
2022-02-25 21:08 ` [PATCH v5 08/49] target/ppc: Implement vextsd2q matheus.ferst
2022-02-25 21:08 ` [PATCH v5 09/49] target/ppc: Move Vector Compare Equal/Not Equal/Greater Than to decodetree matheus.ferst
2022-02-25 21:08 ` [PATCH v5 10/49] target/ppc: Move Vector Compare Not Equal or Zero " matheus.ferst
2022-02-25 21:08 ` [PATCH v5 11/49] target/ppc: Implement Vector Compare Equal Quadword matheus.ferst
2022-02-25 21:08 ` [PATCH v5 12/49] target/ppc: Implement Vector Compare Greater Than Quadword matheus.ferst
2022-02-25 21:09 ` [PATCH v5 13/49] target/ppc: Implement Vector Compare Quadword matheus.ferst
2022-02-25 21:09 ` [PATCH v5 14/49] target/ppc: implement vstri[bh][lr] matheus.ferst
2022-02-25 21:09 ` [PATCH v5 15/49] target/ppc: implement vclrlb matheus.ferst
2022-02-25 21:09 ` [PATCH v5 16/49] target/ppc: implement vclrrb matheus.ferst
2022-02-25 21:09 ` [PATCH v5 17/49] target/ppc: implement vcntmb[bhwd] matheus.ferst
2022-02-25 21:09 ` [PATCH v5 18/49] target/ppc: implement vgnb matheus.ferst
2022-02-25 21:09 ` [PATCH v5 19/49] target/ppc: move vs[lr][a][bhwd] to decodetree matheus.ferst
2022-02-25 21:09 ` [PATCH v5 20/49] target/ppc: implement vslq matheus.ferst
2022-02-25 21:09 ` [PATCH v5 21/49] target/ppc: implement vsrq matheus.ferst
2022-02-25 21:09 ` [PATCH v5 22/49] target/ppc: implement vsraq matheus.ferst
2022-02-25 21:09 ` [PATCH v5 23/49] target/ppc: move vrl[bhwd] to decodetree matheus.ferst
2022-02-25 21:09 ` [PATCH v5 24/49] target/ppc: move vrl[bhwd]nm/vrl[bhwd]mi " matheus.ferst
2022-02-25 21:31   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 25/49] target/ppc: implement vrlq matheus.ferst
2022-02-25 21:09 ` [PATCH v5 26/49] target/ppc: implement vrlqnm matheus.ferst
2022-02-25 21:42   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 27/49] target/ppc: implement vrlqmi matheus.ferst
2022-02-25 21:44   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 28/49] target/ppc: Move vsel and vperm/vpermr to decodetree matheus.ferst
2022-02-25 21:09 ` [PATCH v5 29/49] target/ppc: Move xxsel " matheus.ferst
2022-02-25 21:09 ` [PATCH v5 30/49] target/ppc: move xxperm/xxpermr " matheus.ferst
2022-02-25 21:09 ` [PATCH v5 31/49] target/ppc: Move xxpermdi " matheus.ferst
2022-02-25 21:09 ` [PATCH v5 32/49] target/ppc: Implement xxpermx instruction matheus.ferst
2022-02-25 21:09 ` [PATCH v5 33/49] tcg/tcg-op-gvec.c: Introduce tcg_gen_gvec_4i matheus.ferst
2022-02-25 21:09 ` [PATCH v5 34/49] target/ppc: Implement xxeval matheus.ferst
2022-02-25 21:50   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 35/49] target/ppc: Implement xxgenpcv[bhwd]m instruction matheus.ferst
2022-02-25 21:53   ` Richard Henderson
2022-02-25 21:59   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 36/49] target/ppc: move xs[n]madd[am][ds]p/xs[n]msub[am][ds]p to decodetree matheus.ferst
2022-02-25 21:09 ` [PATCH v5 37/49] target/ppc: implement xs[n]maddqp[o]/xs[n]msubqp[o] matheus.ferst
2022-02-25 21:09 ` [PATCH v5 38/49] target/ppc: Implement xvtlsbb instruction matheus.ferst
2022-02-25 22:01   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 39/49] target/ppc: Remove xscmpnedp instruction matheus.ferst
2022-02-25 21:09 ` [PATCH v5 40/49] target/ppc: Refactor VSX_SCALAR_CMP_DP matheus.ferst
2022-02-25 22:04   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 41/49] target/ppc: Implement xscmp{eq,ge,gt}qp matheus.ferst
2022-02-25 21:09 ` [PATCH v5 42/49] target/ppc: Move xscmp{eq,ge,gt}dp to decodetree matheus.ferst
2022-02-25 21:09 ` [PATCH v5 43/49] target/ppc: Move xs{max, min}[cj]dp to use do_helper_XX3 matheus.ferst
2022-02-25 21:09 ` [PATCH v5 44/49] target/ppc: Refactor VSX_MAX_MINC helper matheus.ferst
2022-02-25 22:10   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 45/49] target/ppc: Implement xs{max,min}cqp matheus.ferst
2022-02-25 22:12   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 46/49] target/ppc: Implement xvcvbf16spn and xvcvspbf16 instructions matheus.ferst
2022-02-25 22:17   ` Richard Henderson
2022-02-25 21:09 ` [PATCH v5 47/49] target/ppc: implement plxsd/pstxsd matheus.ferst
2022-02-25 21:09 ` [PATCH v5 48/49] target/ppc: implement plxssp/pstxssp matheus.ferst
2022-02-25 21:09 ` [PATCH v5 49/49] target/ppc: implement lxvr[bhwd]/stxvr[bhwd]x matheus.ferst
2022-03-01  8:29 ` [PATCH v5 00/49] target/ppc: PowerISA Vector/VSX instruction batch Cédric Le Goater
2022-03-02 19:56   ` Matheus K. Ferst
2022-03-03  7:20     ` Cédric Le Goater

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).