Ssu64xl is actually mandatory in RVA20S64 and RVA22S64 #141
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RVA20S64 and RVA22S64 are ratified and therefore mustn't be changed, but I claim that the behavior described by Ssu64xl was always mandatory anyway, and so it should have been listed as mandatory, rather than optional, all along. So this is not a semantic change.
It isn't possible to implement RVA20U64 and RVA20S64 together without having implemented the Ssu64xl extension along the way. The reasoning is as follows. When SXLEN=64 (as is the case for RVA20S64), the PrivArch v1.11 spec requires the sstatus.UXL field exist and be encoded the same as MXL. The table in the M-mode chapter that describes MXL's encoding only lists 3 values (RV32=1, RV64=2, RV128=3); it does not provide for representing XLEN=64 with any value other than 2. Since RVA20U64 requires UXLEN=64, it follows that sstatus.UXL must be capable of holding the value 2, which is exactly what Ssu64xl stipulates.
The same is true of PrivArch v1.12, and so the same argument holds for RVA22S64.