qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] PPC64: Add support for the new prefixed instructions
@ 2020-12-16  9:07 Gustavo Romero
  2020-12-16  9:07 ` [PATCH v2 1/7] target/ppc: Add infrastructure for " Gustavo Romero
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Gustavo Romero @ 2020-12-16  9:07 UTC (permalink / raw)
  To: qemu-ppc, qemu-devel
  Cc: peter.maydell, gromero, gustavo.romero, mroth, clg, david,
	alex.bennee, rth

This series aims to add support for the new prefixed instructions
introduced with POWER10 CPUs (ISA v3.1).

v2:

- Fixes accordingly to Alex Bennée's review:
  Removed fixes for BUILD_DIR and quiet-command since
  they are already upstream.
  Reverted all the tests to ppc64le-linux-user as they
  are not softmmu tests. To run it:
  
  $ ../configure --target-list=ppc64le-linux-user
  $ make -j $(nproc) check-tcg

- Fixes accordingly to David's review:
  Clarifications for the opcode lookup table and its
  namespaces (normal insn, prefixed type 0/1, and prefixed 2/3).
  Clarification about R macro.
  Fixed missing switch 'break' in parse_prefix_subtype and c1_idx break.
  Fixed duplicated comments.

- Fixed build when target != TARGET_PPC64.


Michael Roth (7):
  target/ppc: Add infrastructure for prefixed instructions
  target/ppc: Add support for prefixed load/store instructions
  tests/tcg: Add tests for prefixed load/store instructions
  target/ppc: Add support for paired vector load/store instructions
  tests/tcg: Add tests for paired vector load/store instructions
  target/ppc: Add support for prefixed load/store FP instructions
  tests/tcg: Add tests for prefixed load/store FP instructions

 target/ppc/cpu.h                              |  30 +-
 target/ppc/helper.h                           |   3 +
 target/ppc/internal.h                         |  27 +
 target/ppc/mem_helper.c                       |  61 ++
 target/ppc/translate.c                        | 442 +++++++-
 target/ppc/translate/fp-impl.c.inc            |  48 +
 target/ppc/translate/fp-ops.c.inc             |   6 +
 target/ppc/translate/vsx-impl.c.inc           |  66 ++
 target/ppc/translate_init.c.inc               |  11 +-
 tests/tcg/ppc64                               |   1 +
 tests/tcg/ppc64le/Makefile.target             |  29 +
 .../test-paired-load-store-vsx.c              | 567 +++++++++++
 .../test-prefixed-load-store-fp.c             | 270 +++++
 .../test-prefixed-load-store.c                | 945 ++++++++++++++++++
 14 files changed, 2499 insertions(+), 7 deletions(-)
 create mode 120000 tests/tcg/ppc64
 create mode 100644 tests/tcg/ppc64le/Makefile.target
 create mode 100644 tests/tcg/ppc64le/instruction-tests/test-paired-load-store-vsx.c
 create mode 100644 tests/tcg/ppc64le/instruction-tests/test-prefixed-load-store-fp.c
 create mode 100644 tests/tcg/ppc64le/instruction-tests/test-prefixed-load-store.c

-- 
2.17.1



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

end of thread, other threads:[~2021-01-05  4:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16  9:07 [PATCH v2 0/7] PPC64: Add support for the new prefixed instructions Gustavo Romero
2020-12-16  9:07 ` [PATCH v2 1/7] target/ppc: Add infrastructure for " Gustavo Romero
2021-01-05  4:39   ` David Gibson
2020-12-16  9:07 ` [PATCH v2 2/7] target/ppc: Add support for prefixed load/store instructions Gustavo Romero
2020-12-16  9:08 ` [PATCH v2 3/7] tests/tcg: Add tests " Gustavo Romero
2020-12-16  9:08 ` [PATCH v2 4/7] target/ppc: Add support for paired vector " Gustavo Romero
2020-12-16  9:08 ` [PATCH v2 5/7] tests/tcg: Add tests " Gustavo Romero
2020-12-16  9:08 ` [PATCH v2 6/7] target/ppc: Add support for prefixed load/store FP instructions Gustavo Romero
2020-12-16  9:08 ` [PATCH v2 7/7] tests/tcg: Add tests " Gustavo Romero
2020-12-16  9:27 ` [PATCH v2 0/7] PPC64: Add support for the new prefixed instructions no-reply

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