SzukajSzukaj   Użytkownicy   Rejestracja   Wejście
Dzisiaj: 20.05.2026 - 04:12:56
Strony:  1  

Optimizing conditional code

AutorWiadomość

macio0107

users


Statystyka:
Wiadomości: 2
Rejestracja: 14 lis 2008, 17:27

I'm currently trying to wrestle my brain into the correct configuration for producing properly optimized assembly code, and it's really quite difficult ;). For the last couple of days I've been attempting to come up with an assembler version (vanilla, no extensions) of the following: Code:



Wiadomość # 1 05.08.23 - 17:38:19
RE: Optimizing conditional code

tk.pomatik

users


Statystyka:
Wiadomości: 18
Rejestracja: 10 sty 2012, 16:32

Here's what I've come up with so far. This verion, I believe, causes the fewest instructions to be executed given that a slight majority of pixels are copied rather than processed. esi = start of row, eax = index into row, pp = start of row in previous frame, np = start of row in next frame. Code:



Wiadomość # 2 05.08.23 - 17:42:47
RE: Optimizing conditional code

krystian1394

users


Statystyka:
Wiadomości: 69
Rejestracja: 28 lut 2008, 10:05

And here's another version: Code:



Wiadomość # 3 05.08.23 - 17:48:52
RE: Optimizing conditional code

Sabrina

users


Statystyka:
Wiadomości: 113
Rejestracja: 18 maja 2012, 22:36

Not sure about "(vanilla, no extensions)" but how about something like: Code:



Wiadomość # 4 05.08.23 - 17:55:40
RE: Optimizing conditional code
'Select next/previous item' function? : Poprzedni tematNastępny temat: Track name box is outlined in red?
Strony:  1  

Administrator zabronił gościom odpowiadać na wiadomości! Aby się zarejestrować, kliknij link: rejestr


Uczestnicy