This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Implement %c output template
- From: Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Fri, 21 Mar 2014 10:28:59 +1300
- Subject: Re: [PATCH][AArch64] Implement %c output template
- Authentication-results: sourceware.org; auth=none
- References: <525FC66A dot 2070806 at arm dot com>
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