You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DO NOT MERGE]
Until the Supervisor Counter Delegation Architecture Extension is frozen /
ratified and final version number is determined, this patch should not be
merged upstream. This commit uses version 0.1 as a placeholder because
there's no version number in the current documentation.
This commit adds support for two extensions from the Supervisor Counter
Delegation Architecture Extension specification ('Smcdeleg' and 'Ssccfg')
based on the latest documentation (as of 2023-08-07):
<https://docs.google.com/document/d/1s-GeH5XpHBLzbQZucA8DPA7vvF7Xvf_nrPbrU2YLBcE>
bfd/ChangeLog:
* elfxx-riscv.c (riscv_implicit_subsets): Add related implications
including the ones to 'Zicsr' for compatibility and excluding
the ones to counter extensions that require *either* 'Zicntr' or
'Zihpm'.
(riscv_supported_std_s_ext): Add 'Smcdeleg' and 'Ssccfg' extensions
to the supported 'S' extension list.
(riscv_parse_check_conflicts): Check existence of either 'Zicntr' or
'Zihpm' if either 'Smcdeleg' or 'Ssccfg' is enabled.
0 commit comments