* MULSI3_LIBCALL definition
@ 2001-01-16 6:27 lorenzo ivaldi
2001-01-16 13:03 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: lorenzo ivaldi @ 2001-01-16 6:27 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]
Could someone tell me how to
implement MULSI3_LIBCALL macro apart from the libgcc1.a?
I am writing a compiler for a microcontroller
produced in my laboratory and I haven't found any documentation apart a brief
note on the gccdocs that refer to the examples provided in the description of
the m68k.
Our chip do not have a physical mul and i have
adapted the booth algorithm. But now I must insert it in place of the
mul.
The compiler's asm calls "__mulsi3" and i do
not know how to insert the algorithm.
Thanks in advance for assistance.
Â
Â
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Â Ing.
Lorenzo Ivaldi Research Affiliate at D.I.B.E (University of Genova,
Italy)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
 E-Mail Casa: Amantar@libero.it                             Â
 E-Mail Lab: lord@atlas.dibe.unige.it                                                                                  Â
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MULSI3_LIBCALL definition
2001-01-16 6:27 MULSI3_LIBCALL definition lorenzo ivaldi
@ 2001-01-16 13:03 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-01-16 13:03 UTC (permalink / raw)
To: lorenzo ivaldi; +Cc: gcc-help
On Jan 16, 2001, "lorenzo ivaldi" <lord@atlas.dibe.unige.it> wrote:
> The compiler's asm calls "__mulsi3" and i do not know how to insert
> the algorithm.
Add it to libgcc2. For an example, look for LIB1ASM in
gcc/config/sh/t-sh, and have a look at gcc/config/sh/lib1funcs.asm.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-16 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-16 6:27 MULSI3_LIBCALL definition lorenzo ivaldi
2001-01-16 13:03 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).