Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PCSX2 have JIT?
06-08-2013, 07:58 AM (This post was last modified: 06-08-2013 08:23 AM by xsacha.)
Post: #24
RE: PCSX2 have JIT?
PCSX2 has way too many speed hacks and settings.

The code is also very messy and unreadable. That's why I don't work on it.
I think the code needs to be rewritten.
https://code.google.com/p/pcsx2/source/b...R3000A.cpp
Especially the way they do JIT: https://code.google.com/p/pcsx2/source/b...ompile.inl
https://code.google.com/p/pcsx2/source/b...ynarec.cpp
https://code.google.com/p/pcsx2/source/b..._Lower.cpp

I mean seriously, ..
https://code.google.com/p/pcsx2/source/b..._Micro.cpp

They use macros when they should use functions and then just random gibberish when they could use a macro or something more descriptive.
"if (ptr[1] & 0x80000000)"

and

"switch(VU->code & 0x3f) {
case 0x10: case 0x11: case 0x12: case 0x13:
case 0x14: case 0x15: case 0x16: case 0x17:
case 0x1d: case 0x1f:
case 0x2b: case 0x2f:
break;

case 0x3c:
switch ((VU->code >> 6) & 0x1f) {
case 0x4: case 0x5:
break;
default:
info->statusflag = 4;
info->macflag = 4;
break;
}
break;"

Only the guy(s) who wrote that code could understand it without tracing back what each of these are meant to be. It may as well be written in assembly.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
PCSX2 have JIT? - GuilhermeGS2 - 06-06-2013, 03:08 PM
RE: PCSX2 have JIT? - Donel - 06-06-2013, 05:16 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-06-2013, 07:11 PM
RE: PCSX2 have JIT? - Donel - 06-06-2013, 07:36 PM
RE: PCSX2 have JIT? - slamandar - 06-06-2013, 05:55 PM
RE: PCSX2 have JIT? - Evas32 - 06-06-2013, 07:36 PM
RE: PCSX2 have JIT? - cloud1250000 - 06-06-2013, 07:55 PM
RE: PCSX2 have JIT? - slamandar - 06-06-2013, 08:13 PM
RE: PCSX2 have JIT? - Donel - 06-06-2013, 08:22 PM
RE: PCSX2 have JIT? - cloud1250000 - 06-06-2013, 08:27 PM
RE: PCSX2 have JIT? - SeiRyuu - 06-06-2013, 08:42 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-06-2013, 09:45 PM
RE: PCSX2 have JIT? - mestour - 06-07-2013, 12:15 PM
RE: PCSX2 have JIT? - logan83-adi - 06-07-2013, 01:06 PM
RE: PCSX2 have JIT? - nex86 - 06-08-2013, 01:49 AM
RE: PCSX2 have JIT? - cloud1250000 - 06-06-2013, 10:00 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-07-2013, 01:09 PM
RE: PCSX2 have JIT? - logan83-adi - 06-07-2013, 01:23 PM
RE: PCSX2 have JIT? - slamandar - 06-07-2013, 06:42 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-07-2013, 07:56 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-08-2013, 01:59 AM
RE: PCSX2 have JIT? - slamandar - 06-08-2013, 07:40 AM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-08-2013, 12:06 PM
RE: PCSX2 have JIT? - SeiRyuu - 06-08-2013, 07:49 AM
RE: PCSX2 have JIT? - xsacha - 06-08-2013 07:58 AM
RE: PCSX2 have JIT? - SeiRyuu - 06-08-2013, 12:39 PM
RE: PCSX2 have JIT? - slamandar - 06-08-2013, 03:27 PM
RE: PCSX2 have JIT? - SeiRyuu - 06-08-2013, 03:37 PM
RE: PCSX2 have JIT? - slamandar - 06-08-2013, 03:47 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-08-2013, 06:31 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-08-2013, 10:28 PM
RE: PCSX2 have JIT? - slamandar - 06-09-2013, 10:42 AM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-10-2013, 02:44 PM
RE: PCSX2 have JIT? - logan83-adi - 06-10-2013, 03:00 PM
RE: PCSX2 have JIT? - GuilhermeGS2 - 06-10-2013, 03:08 PM
RE: PCSX2 have JIT? - SeiRyuu - 06-10-2013, 06:20 PM
RE: PCSX2 have JIT? - VIRGIN KLM - 06-10-2013, 06:26 PM

Forum Jump: