diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2024-12-09 14:55:20 +0800 |
---|---|---|
committer | Kito Cheng <kito.cheng@sifive.com> | 2024-12-17 22:28:05 +0800 |
commit | fcbb8456a58ba073d4d5b10fcb9057b6e9a100db (patch) | |
tree | 0857b040a42c242b35245422d3589f43e393e6aa /gcc/tree-inline.h | |
parent | 2a22db391d1819f6068aa43e63632b350a0b4bec (diff) | |
download | gcc-fcbb8456a58ba073d4d5b10fcb9057b6e9a100db.zip gcc-fcbb8456a58ba073d4d5b10fcb9057b6e9a100db.tar.gz gcc-fcbb8456a58ba073d4d5b10fcb9057b6e9a100db.tar.bz2 |
RISC-V: Add new constraint R for register even-odd pairs
Although this constraint is not currently used for any instructions, it is very
useful for custom instructions. Additionally, some new standard extensions
(not yet upstream), such as `Zilsd` and `Zclsd`, are potential users of this
constraint. Therefore, I believe there is sufficient justification to add it
now.
gcc/ChangeLog:
* config/riscv/constraints.md (R): New constraint.
* doc/md.texi: Document new constraint `R`.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/constraint-R.c: New.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions