[PATCH 6/6] newlib: introduce HAVE_HW_UNALIGNED_ACCESS option
Alexey Lapshin
alexey.lapshin@espressif.com
Mon Jan 27 11:27:56 GMT 2025
Thanks for highlighting that! But unfortunately this was added too recently in GCC (14.1.0).
Moving to approach with __riscv_misaligned_fast will not work for older GCC.
Also, I'm not sure if this will be applicable to other compilers as well
https://github.com/gcc-mirror/gcc/commit/6e23440b5df4011bbe1dbee74d47641125dd7d16
On Mon, 2025-01-27 at 10:58 +0000, Christian Herber (OSS) wrote:
> Shouldn't this be controlled by __riscv_misaligned_fast according to https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/src/c-api.adoc#preprocessor-definitions
>
>
More information about the Newlib
mailing list