diff options
author | Andrew Pinski <apinski@marvell.com> | 2022-08-15 18:39:17 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2022-08-24 12:15:32 -0700 |
commit | 95989ab39bbedd34e6f508de3109cb5c17db433e (patch) | |
tree | 8fd16f0ab40f9451beb402f33aab7b8a777f9acd /libcpp/charset.cc | |
parent | b7d4b734f2d81eccb67903e4fa8f94249238d39c (diff) | |
download | gcc-95989ab39bbedd34e6f508de3109cb5c17db433e.zip gcc-95989ab39bbedd34e6f508de3109cb5c17db433e.tar.gz gcc-95989ab39bbedd34e6f508de3109cb5c17db433e.tar.bz2 |
[RISCV] Use a constraint for bset<mode>_mask and bset<mode>_1_mask
A constraint here just makes it easier to understand what the
operands are.
OK? Built and tested on riscv32-linux-gnu and riscv64-linux-gnu with
--with-arch=rvNimafdc_zba_zbb_zbc_zbs (where N is 32 and 64).
Thanks,
Andrew Pinski
gcc/ChangeLog:
* config/riscv/constraints.md (DsS): New constraint.
(DsD): New constraint.
* config/riscv/iterators.md (shiftm1c): New iterator.
* config/riscv/bitmanip.md (*bset<mode>_mask):
Use shiftm1c.
(*bset<mode>_1_mask): Likewise.
Diffstat (limited to 'libcpp/charset.cc')
0 files changed, 0 insertions, 0 deletions