VOGONS


First post, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

This may interest some(I'm glad you liked it), insence others(take your meds), whatever the case, here it is:

http://sourceforge.net/tracker/index.php?func … 551&atid=467234

$ patch -p0 < opt.diff
patching file `src/cpu/core_dyn_x86/risc_x86.h'
patching file `src/gui/render_scalers.cpp'
patching file `src/gui/render_templates.h'
patching file `src/hardware/gus.cpp'
patching file `src/hardware/mpu401.cpp'
patching file `src/hardware/ymf262.c'

Depending, some stuff is 2x like gus handling, major speed up for some functions(gen_lea near 2x, finddynreg is 20%), etc, etc, but overall it's just 3-4% speed gain by my measuring. Note though, I'm cpu bound & finddynreg passes the normalxxx video routines as big-o once cycles pass 13-16k or so, varies depending which renderer is used, so guys with beefier cpus that can handle higher cycle settings should actually see more improvement(I know, I know, not fair that the guys with beefier systems get a bigger benefit:). There's also some code clean up so some things are more readable, simplified, reduced. Have a look-see.

feh, win to unix borked some of the indention so not as perty as it should be pa.

diff /w fixed bug in gus handling is optfix.diff

Attachments

  • Filename
    optfix.diff
    File size
    90.43 KiB
    Downloads
    146 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    opt.diff
    File size
    93.62 KiB
    Downloads
    189 downloads
    File license
    Fair use/fair dealing exception
Last edited by ih8registrations on 2005-07-22, 00:22. Edited 4 times in total.

Reply 1 of 6, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

What is that EXACTLY? 😕

PS - A little correction, the thread title should read....

"hear ye, hear ye....."

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 3 of 6, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

There's a bug in the gus optimizations introduced at the last minute from tyding it up for release. Makes one wish I had left things ugly and working:) I'll update once straightened out.