Skip to content

Commit 4b69db2

Browse files
authored
In MAG definition, use XLEN rather than MXLEN (riscv#1664)
...because it's an unprivileged concept. Also, in mixed-XLEN environments, the weaker constraint should prevail, the less-privileged environment doesn't even know about MXLEN.
1 parent d33f3d8 commit 4b69db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ Specific supported values for this PMA are represented by MAG__NN__, e.g.,
27852785
MAG16 indicates the misaligned atomicity granule is at least 16 bytes.
27862786

27872787
The misaligned atomicity granule PMA applies only to AMOs, loads and stores
2788-
defined in the base ISAs, and loads and stores of no more than MXLEN bits
2788+
defined in the base ISAs, and loads and stores of no more than XLEN bits
27892789
defined in the F, D, and Q extensions.
27902790
For an instruction in that set, if all accessed bytes lie within the same
27912791
misaligned atomicity granule, the instruction will not raise an exception for

0 commit comments

Comments
 (0)