* config/h8300/h8300.c (h8300_insn_length_from_table): Consolidate
commit3f792b2e473c7635367768be1fba8c40f1732cfc
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jul 2018 19:37:41 +0000 (3 19:37 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jul 2018 19:37:41 +0000 (3 19:37 +0000)
tree1d354d0a767a047ef9c45b6fb002ac84846548f0
parentf6f5975491940612118b9d13abe524cc45549ba4
* config/h8300/h8300.c (h8300_insn_length_from_table): Consolidate
ADDB, ADDW and ADDL into a single ADD attribute which selects the
right table based on the size of the operand.
* config/h8300/h8300.md (length_table): Corresponding changes. All
references to "addb", "addw" and "addl" changed to "add".
(btst patterns): Merge two variants into a single pattern.
(tstqi, tsthi): Likewise.
(addhi3_incdec, addsi3_incdec): Likewise.
(subhi3_h8300hs, subsi3_h8300hs): Likewise.
(mulhi3, mulsi3): Likewise.
(udivhi3, udivsi3): Likewise.
(divhi3, divsi3): Likewise.
(andorqi3, andorhi3, andorsi3): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262357 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.md