Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Daniel Dragomir <daniel.dragomir@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: otavio.salvador@ossystems.com.br
Subject: [master][PATCH] ARMv8 32-bit & 64-bit compiler tunings
Date: Fri, 11 Mar 2016 19:58:51 +0200	[thread overview]
Message-ID: <1457719132-2239-1-git-send-email-daniel.dragomir@windriver.com> (raw)


Hello!

This is a second version for the patch for 32-bit, against MASTER branch.

@Martin, I tested all the new tunes with your script, and I got no errors.

About 64-bit tunes, I need some guidance about the approach for adding 
specific tunes for aarch64.
I tried to inherit the ones from 32-bit and to add the aarch64 feature, but 
I got those errors when building libgcc-initial:

| aarch64_be-oe-linux-gcc: error: unrecognized command line option '-mfpu=crypto-neon-fp-armv8'
| aarch64_be-oe-linux-gcc: error: unrecognized command line option '-marm'
| aarch64_be-oe-linux-gcc: error: unrecognized command line option '-mfpu=neon'
| aarch64_be-oe-linux-gcc: error: unrecognized command line option '-mfloat-abi=hard'

I searched and I found that aarch64 didn't support thumb or neon options:
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
It seems that AArch64 and ARM backends are completely separate in gcc.
  
For aarch64 I found just those options:
‘crc’
    Enable CRC extension. This is on by default for -march=armv8.1-a.
‘crypto’
    Enable Crypto extension. This also enables Advanced SIMD and floating-point instructions.
‘fp’
    Enable floating-point instructions. This is on by default for all possible values for options 
    -march and -mcpu.
‘simd’
    Enable Advanced SIMD instructions. This also enables floating-point instructions. 
    This is on by default for all possible values for options -march and -mcpu.
‘lse’
    Enable Large System Extension instructions. This is on by default for -march=armv8.1-a.

Any help will be highly appreciated!

Thanks,
Daniel

Daniel Dragomir (1):
  arch-armv8a.inc: Add tune for 32-bit ARMv8a

 meta/conf/machine/include/arm/arch-armv8a.inc      | 382 +++++++++++++++++++++
 .../conf/machine/include/arm/feature-arm-thumb.inc |   1 +
 2 files changed, 383 insertions(+)
 create mode 100644 meta/conf/machine/include/arm/arch-armv8a.inc

-- 
1.9.1



             reply	other threads:[~2016-03-11 17:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11 17:58 Daniel Dragomir [this message]
2016-03-11 17:58 ` [PATCHv2][master] arch-armv8a.inc: Add tune for 32-bit ARMv8a Daniel Dragomir
2016-03-11 18:36   ` Otavio Salvador
2016-03-12  0:17   ` Khem Raj
2016-03-12 11:41     ` Otavio Salvador
2016-03-12 11:57       ` Khem Raj
2016-03-12 12:02         ` Otavio Salvador
2016-03-12 13:23           ` Richard Purdie
2016-03-12 13:23           ` Khem Raj
2016-03-12 14:06             ` Otavio Salvador
2016-03-12 14:15               ` 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=1457719132-2239-1-git-send-email-daniel.dragomir@windriver.com \
    --to=daniel.dragomir@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio.salvador@ossystems.com.br \
    /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