aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-08-07 18:37:21 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-08-07 18:37:21 +0000
commit915d28fe74dbb30352702ab07ea5bf30747043bb (patch)
tree7cca074f1dbc49e60b143875574a67c89ccbad67 /gcc/gcc.c
parente3b4d9d7021e78a85b4627b67c89acb1515ae426 (diff)
downloadgcc-915d28fe74dbb30352702ab07ea5bf30747043bb.zip
gcc-915d28fe74dbb30352702ab07ea5bf30747043bb.tar.gz
gcc-915d28fe74dbb30352702ab07ea5bf30747043bb.tar.bz2
[AArch64] Reorganise aarch64-sve.md
aarch64-sve.md was getting a bit jumbled, with related operations separated by unrelated operations. Also, many SVE instructions need to have several patterns due to the various ways in which predication can be used, and it was getting hard to tell which instructions had a complete set of patterns. This patch therefore tries to use an explicit grouping scheme. Banner comments are usually frowned on, but md files have been a traditional exception (e.g. when using Mike's template for new targets). The patch also lists the instructions implemented by each section, so that it's possible to search the file by instruction mnemonic. I wouldn't be surprised if I end up having to rip out the contents section, but I found it useful for the month or so that that I've been using it locally. The patch checks that the contents remain up-to-date by running a checking script during an early stage of the build. No functional change intended. 2019-08-07 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/aarch64/aarch64-sve.md: Reorganize contents and add banner comments. * config/aarch64/check-sve-md.awk: New file. * config/aarch64/t-aarch64 (s-check-sve-md): New rule. (insn-conditions.md): Depend on it. From-SVN: r274184
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions