diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-12-05 10:11:18 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-12-05 10:11:18 +0000 |
commit | c0cf2c893d54420b0c19fee7bd41ae40017d0106 (patch) | |
tree | e93d2728fb5b505cc65216812b24ddfa0f1a34ac /libgcc | |
parent | f33294d68339127741911de2634012b8fecd9122 (diff) | |
download | gcc-c0cf2c893d54420b0c19fee7bd41ae40017d0106.zip gcc-c0cf2c893d54420b0c19fee7bd41ae40017d0106.tar.gz gcc-c0cf2c893d54420b0c19fee7bd41ae40017d0106.tar.bz2 |
aarch64: Generalise require_immediate_lane_index
require_immediate_lane_index previously hard-coded the assumption
that the group size is determined by the argument immediately before
the index. However, for SME, there are cases where it should be
determined by an earlier argument instead.
gcc/
* config/aarch64/aarch64-sve-builtins.h:
(function_checker::require_immediate_lane_index): Add an argument
for the index of the indexed vector argument.
* config/aarch64/aarch64-sve-builtins.cc
(function_checker::require_immediate_lane_index): Likewise.
* config/aarch64/aarch64-sve-builtins-shapes.cc
(ternary_bfloat_lane_base::check): Update accordingly.
(ternary_qq_lane_base::check): Likewise.
(binary_lane_def::check): Likewise.
(binary_long_lane_def::check): Likewise.
(ternary_lane_def::check): Likewise.
(ternary_lane_rotate_def::check): Likewise.
(ternary_long_lane_def::check): Likewise.
(ternary_qq_lane_rotate_def::check): Likewise.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions