aarch64: Use RTL builtins for integer mla intrinsics
authorJonathan Wright <jonathan.wright@arm.com>
Thu, 14 Jan 2021 18:38:07 +0000 (18:38 +0000)
committerJonathan Wright <jonathan.wright@arm.com>
Fri, 22 Jan 2021 23:18:11 +0000 (23:18 +0000)
commit16b7b8a32d430c23c3913aa2c04998fadb7cf273
treec180429372b603f494e1b3ab947efc5ee722f804
parent89100826acec92dfaa6ab8f2646b8053e7dbc67c
aarch64: Use RTL builtins for integer mla intrinsics

Rewrite integer mla Neon intrinsics to use RTL builtins rather than
inline assembly code, allowing for better scheduling and optimization.

gcc/Changelog:

2021-01-14  Jonathan Wright  <jonathan.wright@arm.com>

* config/aarch64/aarch64-simd-builtins.def: Add mla builtin
generator macro.
* config/aarch64/arm_neon.h (vmla_s8): Use RTL builtin rather
than asm.
(vmla_s16): Likewise.
(vmla_s32): Likewise.
(vmla_u8): Likewise.
(vmla_u16): Likewise.
(vmla_u32): Likewise.
(vmlaq_s8): Likewise.
(vmlaq_s16): Likewise.
(vmlaq_s32): Likewise.
(vmlaq_u8): Likewise.
(vmlaq_u16): Likewise.
(vmlaq_u32): Likewise.
gcc/config/aarch64/aarch64-simd-builtins.def
gcc/config/aarch64/arm_neon.h