aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2024-11-04 21:41:47 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2024-12-13 14:23:30 +0000
commitc0ab34339836b779ea161f54cb3bb397cdbc6f10 (patch)
tree9ce23f756a61cfefda8db27e24282bc91d9d5931 /libgo
parent294e5424f294cdbd79aa5dcd755f4c825fa814c9 (diff)
downloadgcc-c0ab34339836b779ea161f54cb3bb397cdbc6f10.zip
gcc-c0ab34339836b779ea161f54cb3bb397cdbc6f10.tar.gz
gcc-c0ab34339836b779ea161f54cb3bb397cdbc6f10.tar.bz2
arm: [MVE intrinsics] Check immediate is a multiple in a range
This patch adds support to check that an immediate is a multiple of a given value in a given range. This will be used for instance by scatter_base to check that offset is in +/-4*[0..127]. Unlike require_immediate_range, require_immediate_range_multiple accepts signed range bounds to handle the above case. gcc/ChangeLog: * config/arm/arm-mve-builtins.cc (report_out_of_range_multiple): New. (function_checker::require_signed_immediate): New. (function_checker::require_immediate_range_multiple): New. * config/arm/arm-mve-builtins.h (function_checker::require_immediate_range_multiple): New. (function_checker::require_signed_immediate): New.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions