[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/7] PPC64: Add support for the new prefixed instructions
From: |
Gustavo Romero |
Subject: |
[PATCH v2 0/7] PPC64: Add support for the new prefixed instructions |
Date: |
Wed, 16 Dec 2020 06:07:57 -0300 |
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
- [PATCH v2 0/7] PPC64: Add support for the new prefixed instructions,
Gustavo Romero <=
- [PATCH v2 1/7] target/ppc: Add infrastructure for prefixed instructions, Gustavo Romero, 2020/12/16
- [PATCH v2 3/7] tests/tcg: Add tests for prefixed load/store instructions, Gustavo Romero, 2020/12/16
- [PATCH v2 2/7] target/ppc: Add support for prefixed load/store instructions, Gustavo Romero, 2020/12/16
- [PATCH v2 4/7] target/ppc: Add support for paired vector load/store instructions, Gustavo Romero, 2020/12/16
- [PATCH v2 5/7] tests/tcg: Add tests for paired vector load/store instructions, Gustavo Romero, 2020/12/16
- [PATCH v2 6/7] target/ppc: Add support for prefixed load/store FP instructions, Gustavo Romero, 2020/12/16
- [PATCH v2 7/7] tests/tcg: Add tests for prefixed load/store FP instructions, Gustavo Romero, 2020/12/16
- Re: [PATCH v2 0/7] PPC64: Add support for the new prefixed instructions, no-reply, 2020/12/16