From: Kumar Gala <galak@kernel.crashing.org>
To: "Zhu Ebony-r57400" <ebony.zhu@freescale.com>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [patch][0/5] powerpc: Add support to fully comply with IEEE-754 standard
Date: Thu, 25 Jan 2007 02:28:30 -0600 [thread overview]
Message-ID: <A85281E5-1E9C-4938-8940-CF696C3C5174@kernel.crashing.org> (raw)
In-Reply-To: <32F3CC26D4DAC44E8ECD07155727A46E85D6E4@zch01exm20.fsl.freescale.net>
On Jan 25, 2007, at 2:25 AM, Zhu Ebony-r57400 wrote:
>
>> No, I think the round handler should try to do the rounding
>> by hand.
>> Since you have the non rounded information provided by HW,
>> its much simpler to just do the rounding step.
>
> Hi Kumar,
>
> I have some new thoughts about rounding handler.
> Suppose we set SPEFSCR[FRMC]=0b10 (rounding towards +Inf) and
> a normal "efsmul" may generate rounding interrupt. At this time,
> according
> to manual, unrounded (truncated) result is placed in the target
> register. Please
> note the target register contains a hexadecimal representation of a
> floating point number. Since it represents a floating point number
> exactly
> so we can not round it anymore.
I don't follow what you mean by not being able to round it anymore.
> Maybe we still need to emulate the whole "efsmul" instruction by
> software.
You can't always do that. Think about the following instruction:
efsmul r3, r3, r3
You'll have lost the original value of r3 when the exception occurs.
- k
next prev parent reply other threads:[~2007-01-25 8:28 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 5:19 [patch][0/5] powerpc: Add support to fully comply with IEEE-754 standard Zhu Ebony-r57400
2007-01-12 5:29 ` Paul Mackerras
2007-01-12 5:46 ` Kumar Gala
2007-01-12 8:27 ` Zhu Ebony-r57400
2007-01-12 12:06 ` Segher Boessenkool
2007-01-15 8:41 ` Zhu Ebony-r57400
2007-01-12 6:38 ` [patch][0/5] powerpc: Add support to fully comply with IEEE-754standard Zhu Ebony-r57400
2007-01-12 6:49 ` Kumar Gala
2007-01-12 12:03 ` Segher Boessenkool
2007-01-15 8:16 ` Zhu Ebony-r57400
2007-01-15 16:08 ` Segher Boessenkool
2007-01-12 6:41 ` [patch][0/5] powerpc: Add support to fully comply with IEEE-754 standard Kumar Gala
2007-01-12 8:09 ` Zhu Ebony-r57400
2007-01-12 12:04 ` Segher Boessenkool
2007-01-15 6:45 ` Zhu Ebony-r57400
2007-01-15 15:54 ` Segher Boessenkool
2007-01-12 18:36 ` Kumar Gala
2007-01-15 6:37 ` Zhu Ebony-r57400
2007-01-15 14:37 ` Kumar Gala
2007-01-16 9:54 ` Zhu Ebony-r57400
2007-01-25 8:25 ` Zhu Ebony-r57400
2007-01-25 8:28 ` Kumar Gala [this message]
2007-01-25 8:53 ` Zhu Ebony-r57400
2007-01-25 15:10 ` Kumar Gala
2007-01-26 6:16 ` Zhu Ebony-r57400
2007-01-29 10:00 ` Zhu Ebony-r57400
2007-01-29 14:30 ` Kumar Gala
2007-01-31 9:45 ` Zhu Ebony-r57400
2007-01-31 14:48 ` Kumar Gala
2007-02-01 9:35 ` Zhu Ebony-r57400
2007-02-07 5:52 ` Zhu Ebony-r57400
2007-02-07 7:11 ` Kumar Gala
2007-02-07 7:21 ` Zhu Ebony-r57400
2007-02-07 7:57 ` Kumar Gala
2007-02-07 8:04 ` Zhu Ebony-r57400
2007-02-08 3:50 ` [patch][0/5] powerpc V2 : " Zhu Ebony-r57400
2007-02-08 5:18 ` Kumar Gala
2007-02-08 5:40 ` Zhu Ebony-r57400
2007-02-08 7:06 ` Zhu Ebony-r57400
2007-02-08 7:15 ` Kumar Gala
2007-02-08 8:08 ` Zhu Ebony-r57400
2007-02-08 17:18 ` Kumar Gala
2007-02-09 5:15 ` Zhu Ebony-r57400
2007-07-30 14:56 ` Sergei Shtylyov
2007-07-31 3:36 ` Zhu Ebony-r57400
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=A85281E5-1E9C-4938-8940-CF696C3C5174@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=ebony.zhu@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/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;
as well as URLs for NNTP newsgroup(s).