aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2024-08-30 13:52:23 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2024-10-18 07:41:16 +0000
commit8e74cbc3a834ee009a5e60e76b20e8df7114da31 (patch)
tree0fa3475e683c5cfae8cf4d0d20a75a374c24aea7 /gcc/fortran
parenta5efcfcc93a911c7a04626e64ee65f02d5ecce6f (diff)
downloadgcc-8e74cbc3a834ee009a5e60e76b20e8df7114da31.zip
gcc-8e74cbc3a834ee009a5e60e76b20e8df7114da31.tar.gz
gcc-8e74cbc3a834ee009a5e60e76b20e8df7114da31.tar.bz2
arm: [MVE intrinsics] use long_type_suffix / half_type_suffix helpers
In several places we are looking for a type twice or half as large as the type suffix: this patch introduces helper functions to avoid code duplication. long_type_suffix is similar to the SVE counterpart, but adds an 'expected_tclass' parameter. half_type_suffix is similar to it, but does not exist in SVE. 2024-08-28 Christophe Lyon <christophe.lyon@linaro.org> gcc/ * config/arm/arm-mve-builtins-shapes.cc (long_type_suffix): New. (half_type_suffix): New. (struct binary_move_narrow_def): Use new helper. (struct binary_move_narrow_unsigned_def): Likewise. (struct binary_rshift_narrow_def): Likewise. (struct binary_rshift_narrow_unsigned_def): Likewise. (struct binary_widen_def): Likewise. (struct binary_widen_n_def): Likewise. (struct binary_widen_opt_n_def): Likewise. (struct unary_widen_def): Likewise.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions