NetBSD-Bugs archive

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

port-arm/49754: SIGILL handling broken for armv8 instructions on Cortex-A7



>Number:         49754
>Category:       port-arm
>Synopsis:       SIGILL handling broken for armv8 instructions on Cortex-A7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 17 16:30:00 +0000 2015
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.6
>Organization:
The NetBSD foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 7.99.6 NetBSD 7.99.6 (CUBIETRUCK) #164: Tue Mar 17 11:53:34 CET 2015 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/evbarm/compile/CUBIETRUCK evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:

The below test code is a variant of the runtime CPU detection code from 
openssl and is expecting to get a SIGILL on Cortex A7 CPUs. However, this
does not happen. It properly dumps core on Kirkwood.

>How-To-Repeat:

--8<--
.global	main
.type	main,%function
main:
	.inst	0xf2a00e00	@ vmull.p64	q0,d0,d0
	bx	lr
-->8--
cc test.S; ./a.out

watch it not dump core (SIGINT properly terminates the program - maybe signal
handling restarts the instruction?).

>Fix:
n/a



Home | Main Index | Thread Index | Old Index