aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2024-10-10 16:35:23 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2024-12-13 14:23:29 +0000
commit8080760951b563cedf7b68fcc119f7992bdb39fe (patch)
tree07ea6f369b7d7708865873ffaafff63e923d61a5 /libgo
parent46dd8acffe8264c5586cf5dc489157ea254dc152 (diff)
downloadgcc-8080760951b563cedf7b68fcc119f7992bdb39fe.zip
gcc-8080760951b563cedf7b68fcc119f7992bdb39fe.tar.gz
gcc-8080760951b563cedf7b68fcc119f7992bdb39fe.tar.bz2
arm: [MVE intrinsics] add mode_after_pred helper in function_shape
This new helper returns true if the mode suffix goes after the predicate suffix. This is true in most cases, so the base implementations in nonoverloaded_base and overloaded_base return true. For instance: vaddq_m_n_s32. This will be useful in later patches to implement vstr?q_scatter_offset_p (_p appears after _offset). gcc/ChangeLog: * config/arm/arm-mve-builtins-shapes.cc (struct nonoverloaded_base): Implement mode_after_pred. (struct overloaded_base): Likewise. * config/arm/arm-mve-builtins.cc (function_builder::get_name): Call mode_after_pred as needed. * config/arm/arm-mve-builtins.h (function_shape): Add mode_after_pred.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions