diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-18 10:52:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-18 10:52:33 +0530 |
| commit | 677da1c4e5110805d66f576d5831c330da860521 (patch) | |
| tree | f5b18fdbcd98f29df29b7c2d56863e2120150918 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 77fb0cd3aa276919e00397f526616c5036562ea1 (diff) | |
| parent | 08f7e32a6ec132649aee2b586a9356a95320c5d8 (diff) | |
| download | rust-677da1c4e5110805d66f576d5831c330da860521.tar.gz rust-677da1c4e5110805d66f576d5831c330da860521.zip | |
Rollup merge of #110884 - korran:unaligned-scalar-mem, r=wesleywiser
Support RISC-V unaligned-scalar-mem target feature This adds `unaligned-scalar-mem` as an allowed RISC-V target feature. Some RISC-V cores support unaligned access to memory without trapping. On such cores, the compiler could significantly improve code-size and performance when using functions like core::ptr::read_unaligned<u32> by emitting a single load or store instruction with an unaligned address, rather than a long sequence of byte load/store/bitmanip instructions. Enabling the `unaligned-scalar-mem` target feature allows LLVM to do this optimization. Fixes #110883
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
