Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/8] arch: Refactor BR2_SOFT_FLOAT into per-architecture options
Date: Mon, 8 Jul 2013 16:02:04 +0200	[thread overview]
Message-ID: <20130708160204.6b7b96f8@skate> (raw)
In-Reply-To: <87vc4mglui.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Sun, 07 Jul 2013 22:24:05 +0200, Peter Korsgaard wrote:

> Does avr32 SoCs with hard float even exist? Does
> uClibc/kernel/.. support it? If not, we could just make this a hidden
> option.

According to http://en.wikipedia.org/wiki/AVR32, the AVR32 AP7 never
had a floating point unit, only the UC3, but I believe Linux was only
running on AP7 cores, but I'm not sure. Anyway, I'll make AVR32
soft-float only.

>  Thomas> +config BR2_POWERPC_SOFT_FLOAT
>  Thomas> +	bool "Use soft-float"
>  Thomas> +	default y
>  Thomas> +	select BR2_SOFT_FLOAT
>  Thomas> +	help
>  Thomas> +	  If your target CPU does not have a Floating Point Unit (FPU)
>  Thomas> +	  or a kernel FPU emulator, but you still wish to support
>  Thomas> +	  floating point functions, then everything will need to be
>  Thomas> +	  compiled with soft floating point support (-msoft-float).
> 
> We didn't use to default to soft float for powerpc, as most cores have a
> FPU.

Correct, will fix. As a followup to this patch set, it'd be nice if
someone knowledgeable in PPC stuff did a similar handling of FPU stuff.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-07-08 14:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-06 15:08 [Buildroot] [PATCH 0/8] ARM floating point improvements and EABIhf support Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 1/8] arch: introduce BR2_GCC_TARGET_{FPU, FLOAT} Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 2/8] arch: Refactor BR2_SOFT_FLOAT into per-architecture options Thomas Petazzoni
2013-07-07 20:24   ` Peter Korsgaard
2013-07-08 14:02     ` Thomas Petazzoni [this message]
2013-07-06 15:08 ` [Buildroot] [PATCH 3/8] arch: improve ARM floating point support and add support for EABIhf Thomas Petazzoni
2013-07-07 20:44   ` Peter Korsgaard
2013-07-08 14:05     ` Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 4/8] binutils: exclude binutils versions that don't support EABIhf Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 5/8] gcc: take into account ARM floating point capabilities Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 6/8] toolchain: remove the old BR2_VFP_FLOAT option Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 7/8] configs: update defconfigs after VFP option changes Thomas Petazzoni
2013-07-06 15:08 ` [Buildroot] [PATCH 8/8] toolchain-external: update config options after EABIhf introduction Thomas Petazzoni
2013-07-07 20:45 ` [Buildroot] [PATCH 0/8] ARM floating point improvements and EABIhf support Peter Korsgaard

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=20130708160204.6b7b96f8@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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