All of lore.kernel.org
 help / color / mirror / Atom feed
From: Toni Van Remortel <t.vanremortel@ha.be>
To: Jon Masters <jonathan@jonmasters.org>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: ppc405 floating point emulation
Date: Fri, 28 Nov 2003 09:46:53 +0100	[thread overview]
Message-ID: <1070009213.4140.9.camel@toni> (raw)
In-Reply-To: <3FC4BACC.6000606@jonmasters.org>


Op wo 26-11-2003, om 15:38 schreef Jon Masters:
> Hi there,
>
> Can someone tell me what they think the status of the mathemu on ppc405
> currently is? I am faced with a situation in which we will probably
> require some kind of library or kernel emulation support and all around
> people suggest not to even go there :-).

That's what they told me too, but I did go there. And the result is
still quite good.
I'm currently writing the last documentation on our laser-projector.
This projects figures which are calculated by sin and cos together with
a pow function. Off course, we used lookup-tables and approx-functions,
but it works pretty well. Yesterday was the big show of it, and most
people liked it.

Anyhow, I use it in combination with real-time, and you cannot rely on
float calculations then. So you need a good implementation to get full
result of it.

Calculation isn't very fast, but on half a second, my module calculates
360 X and Y coordinates with 2 sin, 2 cos and 3 pow functions each
point.

So it is possible to use softfloat, but you MUST know that you cannot
rely on speed then. So far my small experience with it :)

PS: next week, I hope the docs will be ready and available on my website
under 'cases'/'our case'.

Regards,
--
                           Toni Van Remortel
              Wetenschappelijk Medewerker - D-science lab
  Real time Linux for embedded systems: http://linemb.d-sciencelab.com
              Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
                      E-mail: t.vanremortel@ha.be


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2003-11-28  8:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26 14:38 ppc405 floating point emulation Jon Masters
2003-11-26 14:48 ` Wolfgang Denk
2003-11-26 15:18   ` Jon Masters
2003-11-28  8:46 ` Toni Van Remortel [this message]

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=1070009213.4140.9.camel@toni \
    --to=t.vanremortel@ha.be \
    --cc=jonathan@jonmasters.org \
    --cc=linuxppc-embedded@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.