aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorJesse Taube <[email protected]>2024-10-17 12:00:21 -0700
committerPalmer Dabbelt <[email protected]>2024-10-18 12:38:33 -0700
commitd1703dc7bc8ec7adb91f5ceaf1556ff1ed212858 (patch)
tree8d6cfe05cb0dc3aba319c9aea977598eaa7174bd /rust/helpers/build_bug.c
parentc05a62c92516d7679c819f8a5177cf84c8668954 (diff)
RISC-V: Detect unaligned vector accesses supported
Run an unaligned vector access to test if the system supports vector unaligned access. Add the result to a new key in hwprobe. This is useful for usermode to know if vector misaligned accesses are supported and if they are faster or slower than equivalent byte accesses. Signed-off-by: Jesse Taube <[email protected]> Signed-off-by: Charlie Jenkins <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions