aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2024-11-13 15:31:21 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2024-12-13 14:25:35 +0000
commit87235d8ae8cc40468a757ec84e84461e96b7879d (patch)
tree9b2b6e97a92e6c9414d6eabf9d2e2b6c54846941 /gcc/config/arm
parente9c36605a4838cbcdb75c6364b9fa700c5a43227 (diff)
downloadgcc-87235d8ae8cc40468a757ec84e84461e96b7879d.zip
gcc-87235d8ae8cc40468a757ec84e84461e96b7879d.tar.gz
gcc-87235d8ae8cc40468a757ec84e84461e96b7879d.tar.bz2
arm: [MVE intrinsics] fix store shape to support tuples
Now that tuples are properly supported, we can update the store shape, to expect "t0" instead of "v0" as last argument. gcc/ChangeLog: * config/arm/arm-mve-builtins-shapes.cc (struct store_def): Add support for tuples.
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/arm-mve-builtins-shapes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/arm-mve-builtins-shapes.cc b/gcc/config/arm/arm-mve-builtins-shapes.cc
index 58ea2f5..5b45ee2 100644
--- a/gcc/config/arm/arm-mve-builtins-shapes.cc
+++ b/gcc/config/arm/arm-mve-builtins-shapes.cc
@@ -1701,7 +1701,7 @@ struct store_def : public overloaded_base<0>
bool preserve_user_namespace) const override
{
b.add_overloaded_functions (group, MODE_none, preserve_user_namespace);
- build_all (b, "_,as,v0", group, MODE_none, preserve_user_namespace);
+ build_all (b, "_,as,t0", group, MODE_none, preserve_user_namespace);
}
tree
@@ -1713,7 +1713,7 @@ struct store_def : public overloaded_base<0>
type_suffix_index type;
if (!r.check_gp_argument (2, i, nargs)
|| !r.require_pointer_type (0)
- || (type = r.infer_vector_type (1)) == NUM_TYPE_SUFFIXES)
+ || (type = r.infer_tuple_type (1)) == NUM_TYPE_SUFFIXES)
return error_mark_node;
return r.resolve_to (r.mode_suffix_id, type);