Add RISC-V unaligned access
Ouverte
- Langage dominant
- C
- Étoiles
- 27.9k
- Forks
- 2.6k
- Merge moyen
- 1 j 3 h
- PR mergées (30 j)
- 8
Description
RISC-V C API Specification says that if the C compiler defines `__riscv_misaligned_fast`, then unaligned access is known to be fast.
Maybe we can update `xxhash.h` to add unaligned access for some RISC-V machines.
The related code:
https://github.com/facebook/zstd/blob/bfd8ad886f2948a8a0159a28e0aa6153611cd1c1/lib/common/xxhash.h#L2254-L2260
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.