[FFmpeg-devel] [PATCH] checkasm: disable unaligned access emulation
Rémi Denis-Courmont
remi at remlab.net
Wed Jun 5 22:46:30 EEST 2024
Le lauantaina 1. kesäkuuta 2024, 11.03.55 EEST Rémi Denis-Courmont a écrit :
> The OS may silently fix (emulate) unaligned hardware access exceptions.
> This is extremely slow and code should be fixed not to rely on unaligned
> access on affected hardware. Accordingly this requests that the OS
> disable emulation and instead throw Bus error, which will be caught by
> checkasm's signal handler.
>
> This has no effects if the hardware supports unaligned access in
> hardware, since no exceptions are generated. prctl() will fail safe in
> that case.
Will push soon.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the ffmpeg-devel
mailing list