Is it possible to disable NEON to cause a trap with NEON code?

Jeffrey Walton noloader at gmail.com
Fri Feb 12 06:17:27 EST 2021


Hi Everyone,

I'm trying to setup a test case on ARM A-32. I want to ensure a NEON
code path is properly guarded at runtime.

I'd like to disable NEON at boot time so that a SIGILL is raised for
NEON instructions. If I get a SIGILL, it tells me there's some NEON in
non-guarded paths.

Is it possible to disable NEON at boot time?

Thanks in advance.

Jeff



More information about the Kernelnewbies mailing list