|
Atari demoscene BBS
32 bit muls |
Posted by: PeyloW
|
May,15.2014-22:51
|
Is there a nice lib out there for fast 32bit muls on plain 68000?
I have a 32b*16b->32b down to 120/200 cycles (best/worst case).
And 32b*32b->32b to 164/284 cycles (Can save another 8 cycles if I allow d3 to be clobbered).
But from here to a 32b*32b->64b result my code kind of fails at 300/472 cycles. Which is dumb since it is the same number of mulu.w instructions, but I store the 64 bit result in memory, which is costly.
I feel dumb but I can not figure out how to do that one in regs only :/.
In all honesty only the middle 32bits are of interest to me, since what I want is really a 16.16*16.16 fix point multiply.
|
[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
|
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.
|