public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Martin Guy <martinwguy@gmail.com>
To: "ng@piments.com" <ng@piments.com>
Cc: crossgcc@sourceware.org, linux-cirrus@freelists.org
Subject: Re: -mfloat-abi=softfp
Date: Mon, 19 Apr 2010 09:52:00 -0000	[thread overview]
Message-ID: <o2i56d259a01004190251k7f6fee8fs966e1c9448cd135e@mail.gmail.com> (raw)
In-Reply-To: <4BCBB03F.2000100@piments.com>

On 4/19/10, ng@piments.com <ng@piments.com> wrote:
> On 04/18/10 20:58, Martin Guy wrote:
> > On 4/18/10, ng@piments.com<ng@piments.com>  wrote:
> > >  I am experimenting with building a toolchain with maverick enabled
> based on
> > > patching gcc according to Martin Guy's patch set.
> > > http://martinwguy.co.uk/martin/crunch/
> > >
> > >  He suggests using -mfpu=maverick -mfloat-abi=softfp
> > probably be called LIBCFLAGS or something like that;
>
>   CT_LIBC_GLIBC_EXTRA_CFLAGS:
>   Extra target CFLAGS to use when building.
>
>  I've added the following to the latter option only :
>  -mfpu=maverick -mfloat-abi=softfp
>
>  Does that look like the correct place to put this?

That sounds like the one. There must also be -mcpu=ep9312, otherwise
the assembler fails to recognize the maverick asm instructions, even
though it is told -mfpu=maverick.

I tried building native glibc to get faster sin/cos etc but found that
it went into an infinite loop on certain values of sin(). However,
that was with an unmodified glibc source.
There are patches to put Maverick hacks into glibc, to do with
endianness, rounding modes, the FPU control word and more.

One is large: martinwguy.co.uk/crunch/glibc-crunch.patch
Another is very small and looks half-finished but may be worth investigating
martinwguy.co.uk/crunch/glibc-crunch2.patch

If you have any joy with these let me know.

Good luck!

   M

--
For unsubscribe information see http://sourceware.org/lists.html#faq

  reply	other threads:[~2010-04-19  9:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-18 18:39 -mfloat-abi=softfp ng
2010-04-18 18:58 ` -mfloat-abi=softfp Martin Guy
2010-04-19  1:22   ` -mfloat-abi=softfp ng
2010-04-19  9:52     ` Martin Guy [this message]
2010-04-19  9:53       ` -mfloat-abi=softfp Martin Guy
2010-04-19 17:53         ` -mfloat-abi=softfp ng
2010-04-19 18:16           ` -mfloat-abi=softfp Martin Guy
2010-04-19 18:21           ` -mfloat-abi=softfp Martin Guy
2010-04-27 10:13       ` -mfloat-abi=softfp ng
2010-04-27 11:08         ` -mfloat-abi=softfp Martin Guy
2010-04-27 12:58           ` -mfloat-abi=softfp ng
     [not found]             ` <v2j56d259a01004270621i6e44dbb2p87cc64e96b5c6032@mail.gmail.com>
2010-04-27 18:55               ` -mfloat-abi=softfp ng
2010-04-27 13:27           ` -mfloat-abi=softfp ng
2010-04-27 15:25             ` -mfloat-abi=softfp Martin Guy
     [not found]               ` <4BD7CBFD.8010702@piments.com>
     [not found]                 ` <q2v56d259a01004280152t2d59959ah57cdf11440f63c06@mail.gmail.com>
2010-04-29 20:20                   ` -mfloat-abi=softfp ng

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=o2i56d259a01004190251k7f6fee8fs966e1c9448cd135e@mail.gmail.com \
    --to=martinwguy@gmail.com \
    --cc=crossgcc@sourceware.org \
    --cc=linux-cirrus@freelists.org \
    --cc=ng@piments.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).