This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/72736] warning: switch -mcpu=cortex-a53 conflicts with -march=armv8-a switch
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Jul 2016 09:32:06 +0000
- Subject: [Bug target/72736] warning: switch -mcpu=cortex-a53 conflicts with -march=armv8-a switch
- Auto-submitted: auto-generated
- References: <bug-72736-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72736
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktkachov at gcc dot gnu.org
--- Comment #2 from ktkachov at gcc dot gnu.org ---
The crypto instructions use the Advanced SIMD registers and on aarch32 (the arm
gcc port) are therefore enabled by the -mfpu option (unlike on aarch64 where
you can just add +crypto to an -mcpu or -march argument)
To enable them use -mfpu=crypto-neon-fp-armv8.
Note that the -mcpu option is used as a shorthand for an -march + -mtune option
combination.
-mcpu=cortex-a53 is in this case equivalent to -march=armv8-a+crc
-mtune=cortex-a53 which is why you get the complaint about the conflict with
-march=armv8-a