This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262357 - in /trunk/gcc: ChangeLog config/h8300...
- From: law at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 03 Jul 2018 19:37:42 -0000
- Subject: r262357 - in /trunk/gcc: ChangeLog config/h8300...
Author: law
Date: Tue Jul 3 19:37:41 2018
New Revision: 262357
URL: https://gcc.gnu.org/viewcvs?rev=262357&root=gcc&view=rev
Log:
* 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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/h8300/h8300.c
trunk/gcc/config/h8300/h8300.md