Simplify length insn attribute and make more judicious use of insn attribute defaulting.
authorDavid S. Miller <davem@redhat.com>
Tue, 4 Sep 2001 13:10:26 +0000 (06:10 -0700)
committerDavid S. Miller <davem@gcc.gnu.org>
Tue, 4 Sep 2001 13:10:26 +0000 (06:10 -0700)
commit24697ca0c5ddbafc01308f84335a81e6cce4a0ee
tree6334d7388ae3db48ce2327f14e209892baeca60e
parentda86f08fd77a8fdc841d4b9dfdc732efcbe4099a
Simplify length insn attribute and make more judicious use of insn attribute defaulting.

2001-09-04  David S. Miller  <davem@redhat.com>

Simplify length insn attribute and make more judicious use
of insn attribute defaulting.
* config/sparc/sparc.md (all insns with length > one): Mark as
insn type multi if real instructions, else use default if
it is a forced splitter.
(all insns with length == one): Use default insn length.
(all insns of type ialu): Use default insn type.

Fix erroneous insn attribute settings.
(addx): Set insn type to misc.
(mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
const_umulsidi3_sp64): Set insn type to imul.

Track SFmode vs DFmode insns according to UltraSPARC
scheduling rules.
* config/sparc/sparc.md ("fptype"): New attribute, default
to "single".
(all DFmode single insns): Mark as fptype "double".

From-SVN: r45377
gcc/ChangeLog
gcc/config/sparc/sparc.md