diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-12-03 09:53:59 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-12-03 09:53:59 +0000 |
commit | 5f3282f726bd4b0868ae3a5e3109081288ef7e4b (patch) | |
tree | 1191aed4e76d1cb6ff315fd5898113f59754435e /libcody/server.cc | |
parent | e8fc954631a85dcb9b1de4d936a5110d72a4986b (diff) | |
download | gcc-5f3282f726bd4b0868ae3a5e3109081288ef7e4b.zip gcc-5f3282f726bd4b0868ae3a5e3109081288ef7e4b.tar.gz gcc-5f3282f726bd4b0868ae3a5e3109081288ef7e4b.tar.bz2 |
aarch64: Split out aarch64_v64_mode
We had a function called aarch64_vq_mode, where "vq" stood for "vector
quadword". It was used by aarch64_simd_container_mode (from which it
originated) and in preparation for various SVE ...Q instructions.
It's useful for follow-on patches if we also split out the handling
of 64-bit modes from aarch64_simd_container_mode. Keeping to the
same naming scheme would replace "q" with "d", but that has
unfortunate connotations, and doesn't AFAIK correspond to any
actual SVE mnemonics.
This patch therefore splits the handling out into a function called
aarch64_v64_mode and renames aarch64_vq_mode to aarch64_v128_mode for
consistency. I didn't rename the "vq" local variables, since I think
those names make sense in context.
gcc/
* config/aarch64/aarch64-protos.h (aarch64_v64_mode): Declare.
(aarch64_vq_mode): Rename to...
(aarch64_v128_mode): ...this.
* config/aarch64/aarch64.cc (aarch64_v64_mode): New function,
split out from...
(aarch64_simd_container_mode): ...here.
(aarch64_vq_mode): Rename to...
(aarch64_v128_mode): ...this and update callers.
* config/aarch64/aarch64-sve-builtins-base.cc: Likewise update calls.
Diffstat (limited to 'libcody/server.cc')
0 files changed, 0 insertions, 0 deletions