diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2021-10-13 16:42:47 +0100 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2021-10-13 16:44:03 +0100 |
commit | 5efeaa0d29525fa28e189e6278c1b1651fb0d7bf (patch) | |
tree | b295b1d5cae56f6685ce89fdcbd415f871366787 /gcc/dwarf2ctf.c | |
parent | 20995e68c28c1091be915f5ab4fcfa45c1cd0bc5 (diff) | |
download | gcc-5efeaa0d29525fa28e189e6278c1b1651fb0d7bf.zip gcc-5efeaa0d29525fa28e189e6278c1b1651fb0d7bf.tar.gz gcc-5efeaa0d29525fa28e189e6278c1b1651fb0d7bf.tar.bz2 |
[arm] Fix MVE addressing modes for VLDR[BHW] and VSTR[BHW]
The way we were previously dealing with addressing modes for MVE was preventing
the use of pre, post and offset addressing modes for the normal loads and
stores, including widening and narrowing. This patch fixes that and
adds tests to ensure we are capable of using all the available addressing
modes.
gcc/ChangeLog:
2021-10-12 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/arm.c (thumb2_legitimate_address_p): Use VALID_MVE_MODE
when checking mve addressing modes.
(mve_vector_mem_operand): Fix the way we handle pre, post and offset
addressing modes.
(arm_print_operand): Fix printing of POST_ and PRE_MODIFY.
* config/arm/mve.md: Use mve_memory_operand predicate everywhere where
there is a single Ux constraint.
gcc/testsuite/ChangeLog:
2021-10-12 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/mve/mve.exp: Make it test main directory.
* gcc.target/arm/mve/mve_load_memory_modes.c: New test.
* gcc.target/arm/mve/mve_store_memory_modes.c: New test.
Diffstat (limited to 'gcc/dwarf2ctf.c')
0 files changed, 0 insertions, 0 deletions