Some (possibly) New Ideas for RPCS3
Started by Guest




39 posts in this topic
ssshadow
Administrator
*******


4
2,494 posts 63 threads Joined: Aug 2017
05-14-2014, 09:49 PM -
#18
(05-14-2014, 05:15 PM)Ontakeio Wrote: Ok, I just thought of new idea for RPCS3 for speed-ups. You continue down the same path of dynamic recompilation for speed improvements, of course, but a new thought:

You pre-decode the entire binary step-by-step, either during execution whilst running itself or decode the entire game into an intermediate language before running. By doing this, you can cache the decoded "trigger instructions" that can directly modify state info of RPCS3. You are essentially caching and/or storing the instructions, however, the "instructions" will be in a form that the emu will read them and immediately take action without having to decode them.

Alas, you can of course run the game while doing this but it will be slower, so it can decode the binary in pieces and load it in completed segments.

Or you can just decode it all and wait a while (depends on some games, some over 10 GB I think and can take a while), but it would be worth it because you'll notice speed. Of course RPCS3 will need to be optimized for this, but nonetheless I would love to see what others think of this, as I really feel it could make a difference better than just dynamic recompilation.

On another note, I've tried this stuff before and while I did so in something much, much simpler than a PS3's architecture I notice performance increase because less clock cycles are needed, but much more RAM could be(RPCS3 may need to cache gigabytes of data in this fashion to see big speed-ups).

I know this all is probably too much to read and my English isn't quite perfect yet, but if you could see this the way I am seeing it working I think you'd at least see some benefit in this. I feel that this is one of the only methods where high-end games will see closer to full-speed on high-end computers on the market today and in the next 5 years.

So you are basically saying that rpcs3 should create some kind of bytecode that can be executed faster? Really this is sort of like what a recompiler would do, only slower.

I think the fastest way is an optimized recompiler that translates the game assembly in to optimized x86 assembly. Optimized is the hard part though, but it would in principle give you native speed on the code execution. (There is of course a fair bit of other stuff going on that makes things slower.)


Messages In This Thread
RE: Some (possibly) New Ideas for RPCS3 - by Guest - Less than 1 minute ago
RE: Some (possibly) New Ideas for RPCS3 - by Guest - Less than 1 minute ago
RE: Some (possibly) New Ideas for RPCS3 - by Guest - Less than 1 minute ago
RE: Some (possibly) New Ideas for RPCS3 - by Guest - Less than 1 minute ago
RE: Some (possibly) New Ideas for RPCS3 - by Guest - Less than 1 minute ago
RE: Some (possibly) New Ideas for RPCS3 - by Ontakeio - 04-24-2014, 09:46 PM
RE: Some (possibly) New Ideas for RPCS3 - by Bigpet - 04-24-2014, 10:58 PM
RE: Some (possibly) New Ideas for RPCS3 - by logan - 04-25-2014, 12:14 AM
RE: Some (possibly) New Ideas for RPCS3 - by notq - 04-25-2014, 12:16 AM
RE: Some (possibly) New Ideas for RPCS3 - by derpf - 04-25-2014, 01:10 AM
RE: Some (possibly) New Ideas for RPCS3 - by Triple1Truth - 05-11-2014, 10:10 PM
RE: Some (possibly) New Ideas for RPCS3 - by hlide - 05-11-2014, 10:41 PM
RE: Some (possibly) New Ideas for RPCS3 - by Bigpet - 05-13-2014, 08:11 AM
RE: Some (possibly) New Ideas for RPCS3 - by derpf - 05-14-2014, 07:10 AM
RE: Some (possibly) New Ideas for RPCS3 - by Ontakeio - 05-14-2014, 05:15 PM
RE: Some (possibly) New Ideas for RPCS3 - by ssshadow - 05-14-2014, 09:49 PM
RE: Some (possibly) New Ideas for RPCS3 - by mushroom - 05-15-2014, 07:49 PM
RE: Some (possibly) New Ideas for RPCS3 - by mushroom - 05-15-2014, 09:43 PM
RE: Some (possibly) New Ideas for RPCS3 - by flashmozzg - 05-15-2014, 10:01 PM
RE: Some (possibly) New Ideas for RPCS3 - by derpf - 05-16-2014, 12:09 AM
RE: Some (possibly) New Ideas for RPCS3 - by Ontakeio - 05-16-2014, 05:42 PM
RE: Some (possibly) New Ideas for RPCS3 - by gamenoob - 05-16-2014, 07:14 PM
RE: Some (possibly) New Ideas for RPCS3 - by derpf - 05-16-2014, 11:30 PM
RE: Some (possibly) New Ideas for RPCS3 - by androidlover - 05-17-2014, 07:05 PM
RE: Some (possibly) New Ideas for RPCS3 - by flashmozzg - 05-17-2014, 07:21 PM
RE: Some (possibly) New Ideas for RPCS3 - by gamenoob - 05-17-2014, 07:33 PM
RE: Some (possibly) New Ideas for RPCS3 - by derpf - 05-18-2014, 12:01 AM
RE: Some (possibly) New Ideas for RPCS3 - by gamenoob - 05-18-2014, 10:51 AM
RE: Some (possibly) New Ideas for RPCS3 - by androidlover - 05-19-2014, 06:16 PM
RE: Some (possibly) New Ideas for RPCS3 - by Threule - 06-07-2014, 01:19 AM
RE: Some (possibly) New Ideas for RPCS3 - by derpf - 06-07-2014, 11:31 AM
RE: Some (possibly) New Ideas for RPCS3 - by eye2eye - 09-17-2014, 10:30 PM
RE: Some (possibly) New Ideas for RPCS3 - by s8box - 10-16-2014, 07:43 PM
RE: Some (possibly) New Ideas for RPCS3 - by Bigpet - 10-16-2014, 08:33 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)