Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari demoscene BBS
 
Re: 32 bit muls
Posted by: ggn May,17.2014-07:58 

Weird, nobody replied to this yet?

This topic has been also been bugging me for a while also but up till now I didn't have reason to dig it up. I did google around and found some pages about this problem like:

http://documentation.renesas.com/doc/products/mpumcu/apn/rej06b0061_h8300htinyan.pdf
http://trac.bookofhook.com/bookofhook/trac.cgi/wiki/IntroductionToFixedPointMath
http://stackoverflow.com/questions/15123638/fixed-point-multiplication-without-64-bit-temporary
http://www.intel-assembler.it/portale/5/fixed-point-math-in-c-and-asm/fixed-point-math-in-c-and-asm.asp
http://gameprogrammer.com/4-fixed.html (also has a link to download source code)
http://www.yaldex.com/games-programming/0672323699_ch11lev1sec5.html

More or less they all suggest doing 4 multiplications and shift the result (especially the stackoverflow page). Is there any reason you can't use data registers to store intermediate results instead of writing them to ram?







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
32 bit muls PeyloW May,15.2014-22:51
  Re: 32 bit muls ggn May,17.2014-07:58
    Re: 32 bit muls ggn May,17.2014-08:00
    Re: 32 bit muls PeyloW May,17.2014-15:05
      Re: 32 bit muls PeyloW May,18.2014-17:55
  Re: 32 bit muls bob_er/mec May,17.2014-09:57
    Re: 32 bit muls Alien / ST-CNX May,21.2014-21:14
    Re: 32 bit muls PeyloW May,22.2014-10:52
      Re: 32 bit muls PeyloW May,23.2014-10:10
        Re: 32 bit muls dml May,23.2014-22:29


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson