This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, AArch64] Fix the pointer-typed function argument expansion in aarch64_simd_expand_args
- From: Yufeng Zhang <Yufeng dot Zhang at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Thu, 19 Sep 2013 15:50:29 +0100
- Subject: Re: [PATCH, AArch64] Fix the pointer-typed function argument expansion in aarch64_simd_expand_args
- Authentication-results: sourceware.org; auth=none
- References: <522F51F6 dot 9040109 at arm dot com> <522F52E0 dot 8040007 at arm dot com>
On 09/10/13 18:12, Yufeng Zhang wrote:
Oops, now attach the correct patch and change log.
* config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args):
Call aarch64_simd_expand_args to update op[argc].
On 09/10/13 18:08, Yufeng Zhang wrote:
This patch fixes a number of test failures in gcc.target/aarch64/v*.c in
The corresponding RTL patterns for some load/store builtins have Pmode
(i.e. DImode) specified for their address operands. However, coming
from a pointer-typed function argument, op[argc] will have SImode in
ILP32. Instead of duplicating these RTL patterns to cope with SImode
operand (which e.g. would complicate arm_neon.h), we explicitly convert
the operand to Pmode here; an address operand in a RTL shall have Pmode
anyway. Note that if op[argc] already has DImode,
convert_memory_address will simply return it