]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: [MVE intrinsics] Add support for void and load/store pointers as argument types.
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 15 Nov 2023 08:03:51 +0000 (08:03 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 20 Nov 2023 11:23:56 +0000 (11:23 +0000)
commit524c892e642e87da853d2a9d0314dd6c220f59de
tree639d0a6c1bd4ff8c5ef94233a9d3dd44e42264f5
parentb8592186611b671d6dc47332ecaf4a4b9c3802fb
arm: [MVE intrinsics] Add support for void and load/store pointers as argument types.

This patch adds support for '_', 'al' and 'as' for void, load pointer
and store pointer argument/return value types in intrinsic signatures.

It also adds a mew memory_scalar_type() helper to function_instance,
which is used by 'al' and 'as'.

2023-11-16  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* config/arm/arm-mve-builtins-shapes.cc (build_const_pointer):
New.
(parse_type): Add support for '_', 'al' and 'as'.
* config/arm/arm-mve-builtins.h (function_instance): Add
memory_scalar_type.
(function_base): Likewise.
gcc/config/arm/arm-mve-builtins-shapes.cc
gcc/config/arm/arm-mve-builtins.h