NetBSD-Bugs archive

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

Re: port-hppa/59294: tests/lib/libc/gen/t_siginfo: sigfpe_flt raises SIGILL, not SIGFPE



The following reply was made to PR port-hppa/59294; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-hppa/59294: tests/lib/libc/gen/t_siginfo: sigfpe_flt raises SIGILL, not SIGFPE
Date: Mon, 14 Apr 2025 00:46:46 +0000

 Might be another qemu hppa fpu bug.  I printed the exception registers
 (32-bit halves of fr0-fr3) in the T_EXCEPTION | T_USER case of trap in
 hppa/trap.c, and:
 
 [  52.9324218] fpp[0]=0x0
 [  52.9324218] fpp[1]=0x0
 [  52.9450154] fpp[2]=0x0
 [  52.9450154] fpp[3]=0x0
 [  52.9450154] fpp[4]=0x0
 [  52.9450154] fpp[5]=0x0
 [  52.9450154] fpp[6]=0x0
 [  52.9450154] fpp[7]=0x0
 [  52.9450154] trap:829: type=0x4e ex=0x0 inst=0x0
 
 I don't think they're supposed to be all zero!  I think they're
 supposed to have copies of the instructions that triggered the
 exception.  (Except for the first one, which is the fp status
 register.)
 


Home | Main Index | Thread Index | Old Index