All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Romero <gromero@linux.ibm.com>
To: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, gromero@linux.ibm.com,
	gustavo.romero@protonmail.com, mroth@lamentation.net,
	clg@kaod.org, david@gibson.dropbear.id.au,
	alex.bennee@linaro.org, rth@twiddle.net
Subject: [PATCH v2 0/7] PPC64: Add support for the new prefixed instructions
Date: Wed, 16 Dec 2020 06:07:57 -0300	[thread overview]
Message-ID: <20201216090804.58640-1-gromero@linux.ibm.com> (raw)

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



             reply	other threads:[~2020-12-16  9:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16  9:07 Gustavo Romero [this message]
2020-12-16  9:07 ` [PATCH v2 1/7] target/ppc: Add infrastructure for prefixed instructions 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

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=20201216090804.58640-1-gromero@linux.ibm.com \
    --to=gromero@linux.ibm.com \
    --cc=alex.bennee@linaro.org \
    --cc=clg@kaod.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=gustavo.romero@protonmail.com \
    --cc=mroth@lamentation.net \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=rth@twiddle.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.