This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

MULSI3_LIBCALL definition


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                                                                                  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]