This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters
- From: "clyon at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Mar 2016 11:46:24 +0000
- Subject: [Bug target/70133] AArch64 -mtune=native generates improperly formatted -march parameters
- Auto-submitted: auto-generated
- References: <bug-70133-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70133
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #3 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I do not have access to the hardware you are using, but here is what I observed
on an APM board.
I built several flavors of GCC, and compiled your attached testcase, and here
are the directives generated in the assembler file:
gcc-trunk: .arch armv8-a+fp+sim
gcc-linaro-5.2-2015.11-2/hello.s: .cpu generic+fp+simd
gcc-linaro-snapshot-5.3-2016.02/hello.s: .arch armv8-a+fp+simd
All 3 are accepted by the version of gas installed on the machine (2.25/ubuntu)
As Kyrylo suggested, can you try either with gcc-trunk or with a newer version
of Linaro GCC?
In particular, we backported the commit he mentions (r227028) after release
2015.11 was made, and it is available in our latest snapshot.