diff options
author | Raphael Moreira Zinsly <rzinsly@ventanamicro.com> | 2023-05-19 21:41:12 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2023-05-19 21:41:12 -0600 |
commit | 31cc55f4ff32475f8552205cbf341d4af8bb4fb7 (patch) | |
tree | c326bd3666ba55d1cf9a8b484eff923b2b815bbe /gcc/expr.cc | |
parent | 9000da00dd70988f30d43806bae33b22ee6b9904 (diff) | |
download | gcc-31cc55f4ff32475f8552205cbf341d4af8bb4fb7.zip gcc-31cc55f4ff32475f8552205cbf341d4af8bb4fb7.tar.gz gcc-31cc55f4ff32475f8552205cbf341d4af8bb4fb7.tar.bz2 |
Add bext pattern for ZBS
Changes since v1:
- Removed name clash change.
- Fix new pattern indentation.
-- >8 --
When (a & (1 << bit_no)) is tested inside an IF we can use a bit extract.
gcc/ChangeLog:
* config/riscv/bitmanip.md (branch<X:mode>_bext): New split pattern.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/zbs-bext-02.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions