On Thu,  9 Jul 2026 16:34:32 -0700 Brian Cain <[email protected]> 
wrote:
>
> I took some "working" programs under userspace emulation into a linux
> instance running on a fork with comprehensive system mode support and
> discovered a compiler bug causing unaligned accesses.  This bug had
> gone undetected in userspace tests because they were not handled correctly
> by QEMU.
> 
> With these patches, unaligned accesses cause an exception that generates
> SIGBUS.
> 
> Brian Cain (4):
>   target/hexagon: raise SIGBUS on unaligned scalar loads
>   target/hexagon: raise SIGBUS on unaligned scalar stores
>   target/hexagon: raise SIGBUS on unaligned data access in sysemu
>   tests/tcg/hexagon: add unaligned scalar test

Reviewed-by: Matheus Tavares Bernardino <[email protected]>

Reply via email to