From: "Wang, Yalin" <Yalin.Wang@sonymobile.com>
To: "'Will Deacon'" <will.deacon@arm.com>
Cc: "'linux-arm-msm-owner@vger.kernel.org'"
<linux-arm-msm-owner@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: SDIV / UDIV Question
Date: Wed, 9 Oct 2013 15:08:05 +0800 [thread overview]
Message-ID: <35FD53F367049845BC99AC72306C23D1014D1A0971AC@CNBJMBX05.corpusers.net> (raw)
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
next reply other threads:[~2013-10-09 7:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 7:08 Wang, Yalin [this message]
2013-10-09 10:53 ` Will Deacon
2013-10-10 5:04 ` Wang, Yalin
2013-10-10 9:21 ` Will Deacon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35FD53F367049845BC99AC72306C23D1014D1A0971AC@CNBJMBX05.corpusers.net \
--to=yalin.wang@sonymobile.com \
--cc=linux-arm-msm-owner@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®