linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Greg Weeks <greg.weeks@timesys.com>
To: lily <lichanjuan04@st.lzu.edu.cn>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: floating point operation of ppc
Date: Fri, 11 Nov 2005 07:51:31 -0500	[thread overview]
Message-ID: <437493D3.2070301@timesys.com> (raw)
In-Reply-To: <331697990.25627@st.lzu.edu.cn>

lily wrote:

> hi,all:
> i build an embedded linux on powerpc 405ep,i need execute floating
> point operation,and i enable "math emulate" option in kernel, i run a
> while(1)loop ,in the loop there was floating point expression ,after
> test ,i found the while (1) exit because of the floating point
> computation,that is the floating point can't execute on ppc
> stablely.Is there someone meets the same problems ,please give me some
> suggestion,thanks!!!

The 405ep has some errata on floating point use. I didn't work on the
processor so I don't know exactly what they are, but Timesys has a
toolchain just for the 405ep to work around the problem. The other
workaround we've used is much slower and it involved disabling the
hardware floating point unit in the head.s for the 405ep and turning on
the emulator. Just turning on the emulator is insufficient. The Timesys
toolchain isn't the only one out there specifically for the 405ep.

Greg Weeks

  reply	other threads:[~2005-11-11 19:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000a01c5e6a0$1eba5150$f10cc9ca@lcj3bdfa4e34dd>
2005-11-11  9:13 ` floating point operation of ppc lily
2005-11-11 12:51   ` Greg Weeks [this message]
2005-11-11 19:35     ` Eugene Surovegin
2005-11-11 19:47       ` Greg Weeks

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=437493D3.2070301@timesys.com \
    --to=greg.weeks@timesys.com \
    --cc=lichanjuan04@st.lzu.edu.cn \
    --cc=linuxppc-embedded@ozlabs.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).