From: Phil Blundell <pb@pbcl.net>
To: Andre McCurdy <armccurdy@gmail.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] ARMv8-A: Add tune for AArch32 state and AArch64 state
Date: Wed, 30 Mar 2016 23:46:22 +0100 [thread overview]
Message-ID: <1459377982.2322.57.camel@pbcl.net> (raw)
In-Reply-To: <CAJ86T=V8ftVDVY498MULYspLE57JvzPCOgQhCk_hp-8UbTuBEg@mail.gmail.com>
On Wed, 2016-03-30 at 11:53 -0700, Andre McCurdy wrote:
> Either way it shouldn't be a concern for the CPU tuning files.
> Building Thumb2 for an armv8a CPU is really just an extension of
> "optimise for size" and we don't include -Os, -O2, etc options in the
> CPU tuning files.
Yes, agreed. In principle there's no reason that the compiler couldn't
choose between A32 and T32 instruction sets dynamically for each
compilation unit (or each function) according to which it thinks would
give the better result. And from the user's point of view, the outcome
should be equivalent apart from minor performance differences.
> >> For most cores from Cortex A9 onwards NEON and VFP are optional, so
> >> hardcoded assumptions won't work.
> Nothing very concrete. The ARM Cortex-A Series Programmer’s Guide for
> ARMv8-A mentions:
>
> "Both floating-point and NEON are required in all standard ARMv8
> implementations. However, implementations targeting specialized
> markets may support the following combinations:
>
> - No NEON or floating-point.
> - Full floating-point and SIMD support with exception trapping.
> - Full floating-point and SIMD support without exception trapping.
Is there any evidence that anyone is actually building ARMv8-A (as
opposed to -R or -M) cores that lack VFP and/or NEON? Unless there is a
fairly clear indication that such cores do exist and are likely to be
used with OE, I think we should not complicate the tuning files with
support for such things. Anybody who wants them can always add
appropriate tunes later, either in oe-core or in their own layer.
p.
next prev parent reply other threads:[~2016-03-30 22:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-28 15:29 [PATCH] ARMv8-A: Add tune for AArch32 state and AArch64 state Daniel Dragomir
2016-03-28 18:14 ` Otavio Salvador
2016-03-28 22:10 ` Phil Blundell
2016-03-29 15:59 ` Dragomir Daniel
2016-03-29 17:10 ` Phil Blundell
2016-03-29 18:49 ` Otavio Salvador
2016-03-29 16:07 ` Khem Raj
2016-03-30 16:03 ` Dragomir Daniel
2016-03-30 16:36 ` Khem Raj
2016-03-30 18:10 ` Andre McCurdy
2016-03-30 18:25 ` Khem Raj
2016-03-30 18:53 ` Andre McCurdy
2016-03-30 22:46 ` Phil Blundell [this message]
2016-03-30 23:13 ` Khem Raj
2016-03-30 23:59 ` Andre McCurdy
2016-04-01 19:13 ` Otavio Salvador
2016-04-01 22:03 ` Andre McCurdy
2016-04-01 22:13 ` Khem Raj
2016-04-02 11:21 ` Otavio Salvador
2016-03-30 23:11 ` Khem Raj
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=1459377982.2322.57.camel@pbcl.net \
--to=pb@pbcl.net \
--cc=armccurdy@gmail.com \
--cc=openembedded-core@lists.openembedded.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