On Tue, Jun 20, 2017 at 6:50 AM, James Greenhalgh <james.greenha...@arm.com> wrote: > > Hi, > > While GCC doesn't need to know anything about the RcPc extension for code > generation, we do need to add the extension flag to the string we pass > to the assembler when we're compiling for a CPU which implements the RcPc > extension. > > I've built a toolchain with this patch applied, and checked that we > correctly pass +rcpc on to the assembler if we give something like > -mcpu=generic+rcpc . > > OK?
I think you forgot to update the documentation for this option extension. https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#g_t-march-and--mcpu-Feature-Modifiers I suspect there are other missing here too. Thanks, Andrew > > Thanks, > James > > --- > 2017-06-20 James Greenhalgh <james.greenha...@arm.com> > > * config/aarch64/aarch64-option-extensions.def (rcpc): New. > * config/aarch64/aarch64.h (AARCH64_FL_RCPC): New. >