This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][AArch64] Implement %c output template


On Oct 18, 2013, at 12:13 AM, Kyrill Tkachov <kyrylo.tkachov@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.tkachov@arm.com>
> 
>    * config/aarch64/aarch64.c (aarch64_print_operand): Handle 'c'.
> 
> [gcc/testsuite]
> 2013-10-17  Kyrylo Tkachov  <kyrylo.tkachov@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]