diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2021-07-02 11:58:47 -0400 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2021-07-02 12:02:31 -0400 |
commit | 7aa5fb17a30ff0ce9928e5eac35b892d95e7eba5 (patch) | |
tree | 6dd7cbabbc404d1b6d45a45e0b07d66cfc034ab3 /gcc/tree-diagnostic.c | |
parent | 84f7bab89279ca1234fef88929c74caeda8cb55e (diff) | |
download | gcc-7aa5fb17a30ff0ce9928e5eac35b892d95e7eba5.zip gcc-7aa5fb17a30ff0ce9928e5eac35b892d95e7eba5.tar.gz gcc-7aa5fb17a30ff0ce9928e5eac35b892d95e7eba5.tar.bz2 |
Use shift instructions to eliminate redundant compare/test instructions on the H8
gcc/ChangeLog
* config/h8300/h8300-protos.h (compute_a_shift_cc): Accept
additional argument for the code.
* config/h8300/h8300.c (compute_a_shift_cc): Accept additional
argument for the code. Just return if the ZN bits are useful or
not rather than the old style CC_* enums.
* config/h8300/shiftrotate.md (shiftqi_noscratch): Move before
more generic shiftqi patterns.
(shifthi_noscratch, shiftsi_noscratch): Similarly.
(shiftqi_noscratch_set_flags): New pattern.
(shifthi_noscratch_set_flags, shiftsi_noscratch_set_flags): Likewise.
Diffstat (limited to 'gcc/tree-diagnostic.c')
0 files changed, 0 insertions, 0 deletions