Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RPI: * failed to add service - already in use?



On Tue, Mar 06, 2018 at 07:46:56AM +0000, Michael Blatt wrote:
> #if __ARM_MAX_ARCH__>=8
> .global _armv8_aes_probe
> 
> __ARM_MAX_ARCH should be 6, not 7, since we are on armv6 and do not
> have neon anyway.

The idea of the cpuid code is to execute the instructions and check
whether a SIGILL occurs, catch it, and then not use the implementation
optimized for armv7 or armv8.

This way you get optimal performance even if runing binaries compiled for
armv6 on armv7 machines.

So the SIGILL itself is perfectly fine, it not being caught and the program
dumping core, however, is not.

Martin


Home | Main Index | Thread Index | Old Index