Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#5623: AARCH64 feature FEAT_PAUTH2 is now recognized #6808

Merged
merged 18 commits into from
May 20, 2024

Conversation

philramsey-arm
Copy link
Collaborator

Enhance the AARCH64 feature interface so that we can correctly identify features identifed by more than one register nibble.

Update the identification of FEATURE_PAUTH so that all six identification nibbles are checked.

Remove the automatic assumption that if the value of the nibble in the register is greater than the expected value then the feature is implemented.

Issue: #5623

Enhance the AARCH64 feature interface so that we can correctly
identify features identifed by more than one register nibble.

Update the identification of FEATURE_PAUTH so that all six
identification nibbles are checked.

Remove the automatic assumption that if the value of the nibble in
the register is greater than the expected value then the feature is
implemented.

Issue: #5623
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/aarch64/proc.c Outdated Show resolved Hide resolved
core/arch/proc_shared.c Show resolved Hide resolved
suite/tests/client-interface/features.dll.c Outdated Show resolved Hide resolved
suite/tests/client-interface/features.dll.c Outdated Show resolved Hide resolved
core/arch/proc_api.h Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/aarch64/proc.c Outdated Show resolved Hide resolved
core/arch/aarch64/proc.c Outdated Show resolved Hide resolved
core/arch/aarch64/proc.c Show resolved Hide resolved
derekbruening and others added 8 commits May 14, 2024 15:40
Adds a very simple histogram with fixed bin sizes recording the
distribution of instructions per context switch in the schedule_stats
tool.

Updates two tests to confirm the histogram is produced.

This feature is structured to allow replacing this simple histogram with
a more sophisticated version in subclasses.

Issue: #6426
…ort (#6810)

This is the first part of adding RISC-V vector (RVV) extension support
to the core.

RVV is a vector architecture similar to SVE, and its vector length
(VLEN) can vary from 64 up to 65536. For more information about RVV,
please refer to https://github.com/riscv/riscv-isa-manual.

The code itself is compiled and preliminarily tested on real hardware
with RVV (VLEN=256) support by running
https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/main/examples/rvv_strlen.c.

isl/v.txt is transformed from
https://github.com/riscv/riscv-opcodes/blob/master/rv_v by an off-tree
one-time python script.

Follow-up patches will address the following parts with RVV support:
- encoder/decoder unit tests;
- code cache context switch;
- clean-call;
- signal context;
- scatter/gather emulation;
- sample clients and dr$sim;
- and maybe more.

Issue: #3544
Add ldg to the list of opcodes which are excluded from
instr_reads_memory() and add a similar mechanism to exclude stg/st2g
from instr_writes_memory().

These instructions have a similar operand signature to load/store
instructions but they actually read/write allocation tags for the
pointer indicated by the memory operand, rather than read/write the
memory it points to.

Issue: #6796
Fixes: #6796
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
core/arch/proc_api.h Outdated Show resolved Hide resolved
@philramsey-arm philramsey-arm merged commit b490914 into master May 20, 2024
17 checks passed
@philramsey-arm philramsey-arm deleted the i#5623-aarch64_feat_pauth2 branch May 20, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants