hexagon: Add scalar v75=>v81 support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 5 repliesIn review
- v15 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | target/hexagon: add the v75, v79 and v81 CPU modelslinux-user/ target/ target/ | +15 | 0 replies | |
| 2/9 | target/hexagon: add the v73 J2_unpause scalar instructiontarget/ target/ target/ +2 more | +23 | 0 replies | |
| 3/9 | target/hexagon: add the v79 instructionstarget/ target/ target/ +5 more | +251 | 0 replies | |
| 4/9 | target/hexagon: add Y2_tlbpp as unimplementedtarget/ target/ target/ +2 more | +9 | 0 replies | |
| 5/9 | hw/hexagon: add the V81DGB_1 and V81QA_1 machineshw/ hw/ hw/ +2 more | +204 | 1 reply | |
| 6/9 | hw/hexagon: move "sim" alias to "V81QA_1"hw/ | +1 | 1 reply | |
| 7/9 | target/hexagon: widen v81 CPU maskstarget/ target/ | +10 | 1 reply | |
| 8/9 | target/hexagon: add v81 interrupt registershw/ target/ target/ +7 more | +224 | 1 reply | |
| 9/9 | tests/functional: cover v81 system registerstests/ | +21 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Marco Liebel |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] hexagon: Add scalar v75=>v81 support
Add support for the scalar opcodes from v75 through v81, and v81 machines to go along with those.
Added in v2:
- widened interrupt/CPU masks for v81
- expanded global system regs for v81
- moved 'sim' machine alias to v81qa_1
- test case to cover wider v81 interrupt masks
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Brian Cain (9):
target/hexagon: add the v75, v79 and v81 CPU models target/hexagon: add the v73 J2_unpause scalar instruction target/hexagon: add the v79 instructions target/hexagon: add Y2_tlbpp as unimplemented hw/hexagon: add the V81DGB_1 and V81QA_1 machines hw/hexagon: move "sim" alias to "V81QA_1" target/hexagon: widen v81 CPU masks target/hexagon: add v81 interrupt registers tests/functional: cover v81 system registers
include/hw/hexagon/hexagon.h | 11 ++ target/hexagon/cpu-qom.h | 6 + target/hexagon/cpu.h | 4 +- target/hexagon/hex_regs.h | 42 ++++++ target/hexagon/sys_macros.h | 11 +- hw/hexagon/machine_cfg_v81dgb_1.h.inc | 73 +++++++++ hw/hexagon/machine_cfg_v81qa_1.h.inc | 73 +++++++++ target/hexagon/attribs_def.h.inc | 3 + target/hexagon/reg_fields_def.h.inc | 10 +- hw/hexagon/hexagon_dsp.c | 48 +++++- hw/hexagon/hexagon_globalreg.c | 10 ++ linux-user/hexagon/elfload.c | 6 + target/hexagon/cpu.c | 14 +- target/hexagon/cpu_helper.c | 15 +- target/hexagon/genptr.c | 8 +- target/hexagon/hex_interrupts.c | 141 ++++++++++++------ target/hexagon/op_helper.c | 58 +++++--- target/hexagon/translate.c | 8 +- tests/tcg/hexagon/check_rev_gating.c | 32 +++- tests/tcg/hexagon/v73_scalar.c | 7 + tests/tcg/hexagon/v79_scalar.c | 157 ++++++++++++++++++++ target/hexagon/tag_rev_info.c.inc | 30 +++- target/hexagon/imported/encode_pp.def | 21 +++ target/hexagon/imported/ldst.idef | 21 +++ target/hexagon/imported/system.idef | 7 + tests/functional/hexagon/test_arch_tests.py | 21 +++ tests/tcg/hexagon/meson.build | 1 + 27 files changed, 752 insertions(+), 86 deletions(-) create mode 100644 hw/hexagon/machine_cfg_v81dgb_1.h.inc create mode 100644 hw/hexagon/machine_cfg_v81qa_1.h.inc create mode 100644 tests/tcg/hexagon/v79_scalar.c
Signature · 1 line
2.34.1