All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "The development of GNU GRUB" <grub-devel@gnu.org>,
	"Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
Subject: Re: arm64 softfloat
Date: Wed, 3 Jun 2015 19:29:16 +0300	[thread overview]
Message-ID: <20150603192916.3318ceef@opensuse.site> (raw)
In-Reply-To: <20150603110650.GM8790@bivouac.eciton.net>

В Wed, 3 Jun 2015 12:06:50 +0100
Leif Lindholm <leif.lindholm@linaro.org> пишет:

> On Tue, Jun 02, 2015 at 07:51:12PM +0300, Andrei Borzenkov wrote:
> > > What is the relation of -mgeneral-regs-only with +nofp? The decription
> > > of -mgeneral-regs-only in manual is very vague
> > 
> > According to
> > http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0774a/chr1392305446662.html
> 
> That is ARM's commercial clang-based compiler suite though, not
> upstream clang.
>  
> > 1.16 -mgeneral-regs-only
> > 
> > Prevents the use of floating-point instructions or floating-point registers.
> > Note
> > The -mgeneral-regs-only option is only valid with the aarch64-arm-none-eabi target. Use -mfpu=none to prevent the use of floating-point instructions or floating-point registers for the armv8a-arm-none-eabi target.
> > 
> > The description is for armclang; we can just hope that GCC is using the
> > same semantic.
> 
> https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
> ---
> Generate code which uses only the general registers. 
> ---
> 

Sure, I know this. Unfortunately it does not say how it is related to
floating point arithmetic at all. armclang at least makes it explicit.

> http://clang.llvm.org/docs/UsersManual.html
> ---
> Generate code which only uses the general purpose registers.
> 
> This option restricts the generated code to use general registers
> only. This only applies to the AArch64 architecture.
> ---
> 
> /
>     Leif
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel



  reply	other threads:[~2015-06-03 16:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 12:09 arm64 softfloat Leif Lindholm
2015-06-02 12:25 ` Vladimir 'phcoder' Serbinenko
2015-06-02 14:55   ` Leif Lindholm
2015-06-02 16:37     ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-06-02 16:51       ` Andrei Borzenkov
2015-06-03 11:06         ` Leif Lindholm
2015-06-03 16:29           ` Andrei Borzenkov [this message]
2015-06-03 16:52             ` Leif Lindholm
2015-06-03 18:10               ` Andrei Borzenkov
2015-06-03 18:12                 ` Vladimir 'phcoder' Serbinenko

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=20150603192916.3318ceef@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=leif.lindholm@linaro.org \
    --cc=phcoder@gmail.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 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.