From: Andrew Pinski <pinskia@gmail.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH/AARCH64] Fix -mcpu/arch=native support for LSE
Date: Sat, 19 Dec 2015 03:57:00 -0000 [thread overview]
Message-ID: <CA+=Sn1m4Ky4oQphwWUpCmcnhZD8BKpQ+Rh39vd1EG1vAibHV-w@mail.gmail.com> (raw)
In-Reply-To: <CA+=Sn1mZmRVLqf_5mHDQZUCX1r0HSiQh=HgLZAHfyXdZ2OBx4w@mail.gmail.com>
On Fri, Dec 11, 2015 at 11:54 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> Hi,
> The Linux kernel calls lse as atomics in /proc/cpuinfo. We should
> change aarch64-option-extensions.def to take that into account.
>
> OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions
> and tested with -mcpu=native on ThunderX T88 pass 2 with Linux 4.4 to
> see if lse gets enabled.
Ping.
apinski@arm64:~/src/linux-upstream$ cat /proc/cpuinfo |head -9
processor : 0
BogoMIPS : 200.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics
CPU implementer : 0x43
CPU architecture: 8
CPU variant : 0x1
CPU part : 0x0a1
CPU revision : 0
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
> * config/aarch64/aarch64-option-extensions.def (LSE): Change
> FEAT_STRING to "atomics".
next prev parent reply other threads:[~2015-12-19 3:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 19:54 Andrew Pinski
2015-12-19 3:57 ` Andrew Pinski [this message]
2015-12-21 13:31 ` Richard Earnshaw (lists)
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='CA+=Sn1m4Ky4oQphwWUpCmcnhZD8BKpQ+Rh39vd1EG1vAibHV-w@mail.gmail.com' \
--to=pinskia@gmail.com \
--cc=gcc-patches@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).