Add RISC-V unaligned access
Abierto
- Lenguaje dominante
- C
- Estrellas
- 27.9k
- Forks
- 2.6k
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 8
Descripción
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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.