You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sha2: remove RISC-V hack for unaligned loads (#879)
It simplifies the code of Zknh backends, but results in an atrocious
codegen without `-mno-strict-align`.
Arguably, it's both an LLVM and RISC-V problem (see
llvm/llvm-project#110454 and
riscv/riscv-profiles#187), so it's not our
responsibility to work around this stupidity. I will mention the issue
in the crate docs.
Hopefully, in future we will get either [this optimization][1], the
Zicclsm handling in LLVM will change, or the proposed Oilsm extension
will become the default instead of the currently useless Zicclsm.
[1]: llvm/llvm-project#150263
0 commit comments