Andrey Savchenko wrote: > This is not possible. Four generations of hardware are already > manufactured and they use SIGILL for such cases. It may be fixed in > future generations if CPU designers will agree to do so
The mapping from hardware exception code to Unix signal number is done in software, not in hardware. For an example, look in linux-4.20/arch/sparc/mm/fault_32.c. Bruno