nope...
when you do integer division, the number operations is proportional to 
divident size and does not depend on divider size.

GCC also cannot generate 16/8 or 64/32 code (just try to figure out how will 
you do this).


I'll commit 64 bits optimized mul/div/mod routines shortly.


~d



On Sunday 01 December 2002 19:24, Lev Serebryakov wrote:
> Hello, Dmitry!
> Saturday, November 30, 2002, 5:29:17 PM, you wrote:
>
> D> yes we do...
> D> otherwise one has to write its own divmod code, which is really simple
> :) One more question: is it possible to have distinct 64/32 code and 64/64
> code? And all other combinations? for example, if you have only 32/16
> division (or 16/8), it is not good idea to make it via 32/32 or 16/16 ones.
> Or is it limitation of GCC architecture?
>
>
>                Lev Serebryakov
> /-----------------------------------------------\
>
> | FIDONet: 2:5030/661.0                         |
> | E-Mail:  [email protected]               |
> | Page:    http://lev.serebryakov.spb.ru/       |
> | ICQ UIN: 3670018                              |
> | Phone:   You know, if you have world nodelist |
>
> \===============================================/
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
*********************************************************************
   ("`-''-/").___..--''"`-._     (\       Dimmy the Wild      UA1ACZ
    `6_ 6  )   `-.  (     ).`-.__.`)      Enterprise Information Sys 
    (_Y_.)'  ._   )  `._ `. ``-..-'       Nevsky prospekt,   20 / 44
  _..`--'_..-_/  /--'_.' ,'               Saint Petersburg,   Russia
 (il),-''  (li),'  ((!.-'                 +7 (812) 314-8860, 5585314
*********************************************************************




Reply via email to