Reinstate branch-on-bit insns for H8
authorJeff Law <jeffreyalaw@gmail.com>
Thu, 29 Jul 2021 18:32:59 +0000 (14:32 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Thu, 29 Jul 2021 18:57:53 +0000 (14:57 -0400)
commit0c6d21faa426bd6e6fdb3a6b47af530e49944118
tree721776ab50f4bebe90a729d0701cbf4f55539f09
parent2f6bdd51cfe15403085b69c133065ebda4af9bb9
Reinstate branch-on-bit insns for H8

gcc/
* config/h8300/h8300-modes.def: Add CCZ, CCV and CCC, drop CCZNV.
* config/h8300/h8300.md (H8cc mode iterator): Add CCZ.
(cc mode_attr): Similarly.
(ccz subst_attr): Similarly.
* config/h8300/jumpcall.md: Add new patterns for branch-on-bit.
* config/h8300/testcompare.md: Remove various cc0 based patterns
that had been commented out.  Add pattern to set CCZ from a bit
test.
gcc/config/h8300/h8300-modes.def
gcc/config/h8300/h8300.md
gcc/config/h8300/jumpcall.md
gcc/config/h8300/testcompare.md