mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SDIV / UDIV  Question
@ 2013-10-09  7:08 Wang, Yalin
  2013-10-09 10:53 ` Will Deacon
  0 siblings, 1 reply; 4+ messages in thread
From: Wang, Yalin @ 2013-10-09  7:08 UTC (permalink / raw)
  To: 'Will Deacon'
  Cc: 'linux-arm-msm-owner@vger.kernel.org', linux-kernel

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
  
 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-10  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-09  7:08 SDIV / UDIV Question Wang, Yalin
2013-10-09 10:53 ` Will Deacon
2013-10-10  5:04   ` Wang, Yalin
2013-10-10  9:21     ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®