t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, _xmulhisi3_exit.
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 29 Jun 2011 07:52:56 +0000 (07:52 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 29 Jun 2011 07:52:56 +0000 (07:52 +0000)
commit9a63dee43dc3415c872f8087c9ef4ea7cb68208b
treebc2060ac8eb6c415f5985e6e51b7e04a1b03d11c
parent2ac88e57d709dfc484b3d41ef365b08cd761fe65
t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, _xmulhisi3_exit.

* config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3,
_xmulhisi3_exit.
* config/avr/libgcc.S (_xmulhisi3_exit): New Function.
(__mulhisi3): Optimize if have MUL*.  Use XJMP instead of rjmp.
(__umulhisi3): Ditto.
* config/avr/avr.md (mulhisi3): New insn expender.
(umulhisi3): New insn expender.
(*mulhisi3_call): New insn.
(*umulhisi3_call): New insn.

From-SVN: r175620
gcc/ChangeLog
gcc/config/avr/avr.md
gcc/config/avr/libgcc.S
gcc/config/avr/t-avr