On Oct 18, 2013, at 12:13 AM, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote:
> Hi all, > > This patch implements the %c output template for inline asm. The code for it > is almost identical to the support in arm, so it's pretty straightforward. > I've added a few compile tests for it as well. > > Tested aarch64-none-elf on a model. > > Ok for trunk? > > Thanks, > Kyrill > > [gcc/] > 2013-10-17 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > * config/aarch64/aarch64.c (aarch64_print_operand): Handle 'c'. > > [gcc/testsuite] > 2013-10-17 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > * gcc.target/aarch64/c-output-template.c: New testcase. > * gcc.target/aarch64/c-output-template-2.c: Likewise. > * gcc.target/aarch64/c-output-template-3.c: > Likewise.<aarch64-c-output-temp.patch> Kyrill, >From the testcases it appears that %c constraint modifier can be used by users >through inline assembly -- is this intended use-case or an [unsupported] >side-effect? If "yes" then it, probably, needs documentation in doc/tm.texi or elsewhere. Thank you, -- Maxim Kuvyrkov www.linaro.org