OSDN Git Service

* config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
authormarekm <marekm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Jan 2001 16:49:01 +0000 (16:49 +0000)
committermarekm <marekm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Jan 2001 16:49:01 +0000 (16:49 +0000)
commit7b172a1670b75d894e7473f251059611f53a7daa
tree75f03b137a710860f037be265d3c44482bd2144e
parentd07f8d2135839ffee7141622be331aa70f0b5c22
* config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
the same as the default library function names.
* config/avr/avr.md: Document special characters after '%'.
(mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
knowing which of the call-used registers are really clobbered.
(divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
New.  Both quotient and remainder from one libgcc.S call.
* config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
clobber as few registers as possible.
* config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39155 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/avr/avr.h
gcc/config/avr/avr.md
gcc/config/avr/libgcc.S
gcc/config/avr/t-avr