@@ -239,25 +239,33 @@ The following keys are defined:
239239 ratified in commit 98918c844281 ("Merge pull request #1217 from
240240 riscv/zawrs") of riscv-isa-manual.
241241
242- * :c:macro: `RISCV_HWPROBE_KEY_CPUPERF_0 `: A bitmask that contains performance
243- information about the selected set of processors.
242+ * :c:macro: `RISCV_HWPROBE_KEY_CPUPERF_0 `: Deprecated. Returns similar values to
243+ :c:macro: `RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF `, but the key was
244+ mistakenly classified as a bitmask rather than a value.
244245
245- * :c:macro: `RISCV_HWPROBE_MISALIGNED_UNKNOWN `: The performance of misaligned
246- accesses is unknown.
246+ * :c:macro: `RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF `: An enum value describing
247+ the performance of misaligned scalar native word accesses on the selected set
248+ of processors.
247249
248- * :c:macro: `RISCV_HWPROBE_MISALIGNED_EMULATED `: Misaligned accesses are
249- emulated via software, either in or below the kernel. These accesses are
250- always extremely slow.
250+ * :c:macro: `RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN `: The performance of
251+ misaligned scalar accesses is unknown.
251252
252- * :c:macro: `RISCV_HWPROBE_MISALIGNED_SLOW `: Misaligned accesses are slower
253- than equivalent byte accesses. Misaligned accesses may be supported
254- directly in hardware, or trapped and emulated by software .
253+ * :c:macro: `RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED `: Misaligned scalar
254+ accesses are emulated via software, either in or below the kernel. These
255+ accesses are always extremely slow .
255256
256- * :c:macro: `RISCV_HWPROBE_MISALIGNED_FAST `: Misaligned accesses are faster
257- than equivalent byte accesses.
257+ * :c:macro: `RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW `: Misaligned scalar native
258+ word sized accesses are slower than the equivalent quantity of byte
259+ accesses. Misaligned accesses may be supported directly in hardware, or
260+ trapped and emulated by software.
258261
259- * :c:macro: `RISCV_HWPROBE_MISALIGNED_UNSUPPORTED `: Misaligned accesses are
260- not supported at all and will generate a misaligned address fault.
262+ * :c:macro: `RISCV_HWPROBE_MISALIGNED_SCALAR_FAST `: Misaligned scalar native
263+ word sized accesses are faster than the equivalent quantity of byte
264+ accesses.
265+
266+ * :c:macro: `RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED `: Misaligned scalar
267+ accesses are not supported at all and will generate a misaligned address
268+ fault.
261269
262270* :c:macro: `RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE `: An unsigned int which
263271 represents the size of the Zicboz block in bytes.
0 commit comments