]> git.ipfire.org Git - thirdparty/gcc.git/commit
[RISCV] Add the list of operand modifiers to riscv.md too
authorAndrew Pinski <apinski@marvell.com>
Fri, 12 Aug 2022 17:19:36 +0000 (17:19 +0000)
committerAndrew Pinski <apinski@marvell.com>
Wed, 24 Aug 2022 19:15:31 +0000 (12:15 -0700)
commit380b8fd96e10c45ce8470b906037cf487ac3f91f
tree96d6bf931ce4a884894f45c82db938a3448dd32b
parent7770e0ad8f4bcd2c7852fa88eb7d5235f68a811d
[RISCV] Add the list of operand modifiers to riscv.md too

To make it easier to find operands modifiers while in the md
file, add the list of modifiers to the top of the md file.
This is similar to i386 target.

OK? Built and tested for riscv32-linux-gnu and riscv64-linux-gnu.

gcc/ChangeLog:

* config/riscv/riscv.cc (riscv_print_operand): Make a mention to
keep the list in riscv.md in sync with this list.
* config/riscv/riscv.md: Add list of modifiers as comments.
gcc/config/riscv/riscv.cc
gcc/config/riscv/riscv.md