English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: paraj
Forum: Coders. Asm / Hardware 11 December 2022, 16:46
Replies: 21
Views: 2,339
Posted By paraj
Too bad, but such is life. Gotta go by the...

Too bad, but such is life. Gotta go by the numbers even if they don't fit with your mental model of what should be fast. Did you try inline asm'ing the new innerloops?

And just for funsies, here's...
Forum: Coders. Asm / Hardware 04 December 2022, 13:33
Replies: 21
Views: 2,339
Posted By paraj
Hmm, I don't think that does the same thing as...

Hmm, I don't think that does the same thing as the original code. It's the value read from the a1-array that's supposed to be compared with 255 (d5 in your code), right?


Maybe something like...
Forum: Coders. Asm / Hardware 03 December 2022, 15:04
Replies: 21
Views: 2,339
Posted By paraj
Have to correct some mistaken stuff I wrote...

Have to correct some mistaken stuff I wrote above. I made some wrong conclusions from my experiments due to lack of understanding. koobo is absolutely right that the instructions are prefetched...
Forum: Coders. Asm / Hardware 28 November 2022, 18:41
Replies: 21
Views: 2,339
Posted By paraj
And for non-nice x's if (bufplce[0] >=...

And for non-nice x's

if (bufplce[0] >= tsizx) {
if (xnice == 0)
bufplce[0] %= tsizx;
else
bufplce[0] &= tsizx;
}

it's probably faster to do:
Forum: Coders. Asm / Hardware 28 November 2022, 17:28
Replies: 21
Views: 2,339
Posted By paraj
Nice, that's actually better than I would have...

Nice, that's actually better than I would have hoped for.

At this point it's probably better/easier to turn vlineasm1 into inline assembly. You only need the loop part (d3/d6 should just be loaded...
Forum: Coders. Asm / Hardware 28 November 2022, 14:43
Replies: 21
Views: 2,339
Posted By paraj
Yeah, at 320x200 with no overdraw, 4 cycles/pixel...

Yeah, at 320x200 with no overdraw, 4 cycles/pixel would only give ~0.5% (50MHz).

If most of the time is spent in the wallscan...
Forum: Coders. Asm / Hardware 28 November 2022, 12:06
Replies: 21
Views: 2,339
Posted By paraj
Perfectly on topic, and it's bitten me before :)...

Perfectly on topic, and it's bitten me before :) A correctly predicted Bcc instruction is free if taken, but discards the instruction stream (1.4.2.1 of 68060UM):
Just checked by timing loops with...
Forum: Coders. Asm / Hardware 28 November 2022, 11:00
Replies: 21
Views: 2,339
Posted By paraj
It's probably completely memory bound then, and...

It's probably completely memory bound then, and not spending many cycles doing anything else. Also noticed I paired the instructions wrong (the first move.b can't pair with the add.l because it's...
Forum: Coders. Asm / Hardware 27 November 2022, 22:45
Replies: 21
Views: 2,339
Posted By paraj
Have you measured whether it's actually faster to...

Have you measured whether it's actually faster to render 4 columns at a time rather than simply doing 4x1? What you lose on doing more writes could be won by better cache utilization, simpler setup...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT +2. The time now is 15:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Page generated in 0.07790 seconds with 10 queries