[AArch64] Implement TARGET_GIMPLE_FOLD_BUILTIN for aarch64 backend.
James Greenhalgh
james.greenhalgh@arm.com
Thu Apr 25 10:55:00 GMT 2013
Hi,
This patch supersedes the patch by Tejas here:
http://gcc.gnu.org/ml/gcc-patches/2013-03/msg00502.html
The patch uses the new TARGET_GIMPLE_FOLD_BUILTIN mechanism rather
than TARGET_FOLD_BUILTIN.
This patch therefore adds the infrastructure for
TARGET_GIMPLE_FOLD_BUILTIN and an implementation folding addv
to REDUC_PLUS_EXPR.
Regression tested on aarch64-none-elf with no regressions.
Thanks,
James Greenhalgh
---
gcc/
2013-04-25 James Greenhalgh <james.greenhalgh@arm.com>
Tejas Belagod <tejas.belagod@arm.com>
* config/aarch64/aarch64-builtins.c
(aarch64_gimple_fold_builtin): New.
* config/aarch64/aarch64-protos.h (aarch64_gimple_fold_builtin): New.
* config/aarch64/aarch64-simd-builtins.def (addv): New.
* config/aarch64/aarch64-simd.md (addpv4sf): New.
(addvv4sf): Update.
* config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define.
gcc/testsuite/
2013-04-25 James Greenhalgh <james.greenhalgh@arm.com>
Tejas Belagod <tejas.belagod@arm.com>
* gcc.target/aarch64/vaddv-intrinsic.c: New.
* gcc.target/aarch64/vaddv-intrinsic-compile.c: Likewise.
* gcc.target/aarch64/vaddv-intrinsic.x: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AArch64-Implement-TARGET_GIMPLE_FOLD_BUILTIN-for-aar.patch
Type: text/x-patch
Size: 7534 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130425/291feec4/attachment.bin>
More information about the Gcc-patches
mailing list