ramapcsx2
787513a327
A few optimizations to ivumicro stuff
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@80 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
f1ac20f12a
modified the Check Overflow speedhacks. now we have "disable VU Overflow checks" and "disable FPU Overflow checks".
...
they both do the same thing, but one is for the VU recs, and the other is for the FPU recs.
heres how they work:
when Unchecked, pcsx2 performs overflow checks normally.
when Checked, pcsx2 doesn't perform overflow checks, and thus gains a speed boost.
when Greyed, pcsx2 performs additional checks which helps stop SPS (spikey polygon syndrome; i.e. messed up polygons on screen)
Note: FPU recs need some work, they're not setting correct flags. I'll probably implement this by the end of the week. Hopefully it will fix some games that use those flags.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@79 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes
48fffbba41
minor change, shouldn't affect anything.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@78 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
c278f5385f
my mistake; this should really fix it :p
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@77 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
17ffea9814
this should fix the roundmode patches crash introduced in r75... hopefully :p
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@76 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
31fc6fd4bf
fixed a bug when using the "roundmode hacks" by patch files.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@75 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
3bd19c5c7b
modified the Denormals speed hack; now its "disable underflow checks". -leaving it unchecked makes PCSX2 handle underflow like the real PS2 does. -checking it disables underflow checks and is a bit faster. -making it "grey" sets the DaZ flag, which is what causes the big speedup for intel CPU's.
...
the funny thing is that leaving it checked (black) sometimes fixes games (fixes minor graphic corruption in Initial D: Special Stage)
so try experimenting with it on/off/greyed to see if it fixes graphics for your game.
also, you no longer have to restart PCSX2 for the DaZ hack to work :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@74 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
90a9260c26
changing this back, since it wasn't what caused GTA:VCS to break.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@73 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
22a2acba33
okay GT4 should work fine now (for real :p) there was a bug in my RSQRT opcode that messed up the game, i just reverted it for now.
...
anyways, remember you need to check the Extra Overflow + FPU Clamp Hacks to run GT4
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@72 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
d18a21ad37
okay changed what the GT4 speedhack does. use the Check Extra Overflow + FPU Clamp Hack when running GT4!
...
i might be able to fix the code to not need the hack in the future; but its going to take some major changes :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@71 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
49459b16bd
forgot to revert this.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@70 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
8ba4bdbec3
this might fix a GTA:VCS crash
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@69 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
1b3e2f6f04
reverted some minor changes;
...
note: SVN r4 is what breaks 64bit Linux builds, not entirely sure what the main problem is.
when reverting some files in the x86 folder, games semi-work on x64 linux, but then crash at one point.
they also crash on x86 windows when reverting those files, so this needs some debugging.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@68 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
88ba4e0b4a
fpu's RSQRT now has pre-opcode clamping if you enable Extra Overflow Speedhack; and fixed some stuff for linux GCC compiler, thanks Shanoah!
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@67 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
12d63f137a
Rockstar games shouldn't have SPS anymore; also added 2 game-specific hacks, one for God of War, and one for Grand Turismo 4 the God of War hack brings back the SPS in the Rockstar games; so only turn it on for God of War.
...
hopefully we won't need these hacks in the future, once stuff is handled properly :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@66 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
09bb4dd533
Changed small logging code to something a little nicer :p
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@65 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
79bdfb72f8
-Added some checks to logs in various files so it can now be disabled in release to public builds. -Disabled logging per default in those.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@64 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
851f176c8e
Changed the "align" parameter from 0 to 1, since the docs say it has to be aligned.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@63 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
10b54e80a9
changed another opcode that might've had an allocation conflict...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@62 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
d4d0450145
fixed the mgs3 missing texture bug! i think Dawn of Mana's minor-texture problems are gone now as well :) i'm still not entirely sure why the old code didn't work, most-likely conflicting reg-allocations... i might have to check some more opcodes in case they also have the allocation problems :x
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@61 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
32f6acdc8b
minor change
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@60 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
fc82da1f14
reverted and changed some stuff that was causing compiling problems for linux; thanks again to Shanoah
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@59 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
eba88009df
fixed some syntax errors that were causing Linux compiling problems; thanks shanoah! i think theres still some more syntax bugs though...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@58 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
8f61f59eba
minor change, commented out some SysPrintf()'s on some VU Opcodes.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@57 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
b6e7ff33fd
optimization for the clamping methods in the FPU recs. ClampValues2() was using a hack to make infinities always become positive; the new code doesn't do this since the real ps2 doesn't do it.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@56 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
d307bd6275
minor fixes
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@55 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
8e9c52a688
some odd code on ir5900-32, and small cleanup
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@54 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
6e6026e71e
Whops, this wasn't supposed to be on the svn :p
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@53 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
a4bbf35e6e
Added an optional "Enable / Disable timestretching" plugin interface. If used correctly on a SPU2 plugin, helps to improve audio quality. (At fullspeed the game shouldn't require timestretching)
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@52 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
f70e12c662
dawn of mana didn't like the clip optimization for some reason :x
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@51 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
e7c805635b
fixed a problem with VU CLIP, and optimized it a bit as well.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@50 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
1407170be7
Oh well, the new cdvd timing code breaks Shadow Hearts videos ><
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@49 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
974730dd08
fixed a typo
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@48 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
3ba98392b3
flush to zero will now only be enabled with the Denormals speed hack
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@47 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
923ea25f0e
fixed some extra-overflow checks
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@46 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
35e2a241dc
used vuFloat2() instead of vuFloat() where i could; should get a speed boost
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@45 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
8dc6a97e58
optimized vuFloat() a little bit...
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@44 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
81c4d1d095
a few changes, some stuff is more optimized.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@43 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
39284a86c6
Reverting the vufloat speedup
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@42 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2
3cb1d62ccc
Works this way, and is quite a bit faster
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@41 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
e096347d51
recoded RSQRT opcode.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@40 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes
17b04bbd0c
optimized SQRT opcode a bit
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@39 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
cottonvibes
1c4f8e47e3
minor casting fix
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@38 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
cottonvibes
4be1601655
finally finished that monster opcode lol :D
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@37 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
ramapcsx2
27e9888041
Loading times go overboard on some games :/ This will need to be a special game fix then, will do it later
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@36 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
cottonvibes
3e9d89ff61
Another DIV update; this opcode is taking forever lol
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@35 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
ramapcsx2
164bdf7724
Finally found some decent values for cdvd timing, toa and dds work better
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@34 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
cottonvibes
4360018451
another big update for the div opcode; still not done, but the stuff thats left only happens maybe 1% of the time.
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@33 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
cottonvibes
96f1ea68a7
another update to the Div Opcode... still not done :O
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@32 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00
ramapcsx2
b50c89d2c6
Bad casts on counters
...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@31 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:19 +02:00