SDIV / UDIV Question

From: Wang, Yalin
Date: Wed Oct 09 2013 - 03:18:19 EST


Hi Will

I have a question about sdiv/ udiv instructions :
In armv7 A/R TRM, it said sdiv/udiv will cause
Divide by zero as undefined exception or just return zero
(decided by implementation) .

So in kernel , should we need register a undef hook to
Get this undef exception and send SIGFPE to user space
Process ?


Thanks




Yalin.Wang
Software Engineer
OS Kernel&Graphics
 
Sony Mobile Communications
Tel: +86 10 5966 9819
Phone: 18610323092
Address: No.16 Guangshun South Street, Chaoyang, Beijing, P.R.C.

sonymobile.com
  
 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/