This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dynarec compiler
08-17-2012, 12:02 PM (This post was last modified: 08-17-2012 10:22 PM by sum2012.)
Post: #1
dynarec compiler
What is dynarec compiler in option ?
If I disable it,all demo and games are not work.
HLE Function sceKernelCreateThread(ThreadManForUser) not activated by default for Firmware Version xxx
HLE Function sceKernelStartThread(ThreadManForUser) not activated by default for Firmware Version xxx
HLE Function hleKernelExitThread(ThreadManForUser) not activated by default for Firmware Version xxx


Attach Cube sample Rev2687 log.


Attached File(s)
.zip  log.zip (Size: 7.77 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
08-17-2012, 12:47 PM (This post was last modified: 08-17-2012 12:59 PM by hyakki.)
Post: #2
RE: dynarec compiler
Disabling it causes the emulator to run in interpreter mode, very slow, you should never need to disable that option.
dynarec is the recompiler converts psp instructions to pc instructions on the fly, usually very efficiently it might recognize a sequence of instructions and rewrite them more efficiently for the pc to understand ..etc
Where interpreter has no shortcuts it's probably more accurate but will be slow.
You can take a look at compiler.xml to get a better idea what dynarec does.

Try Out JPCSP Launcher v1.8.0.4 | How to post a log
Find all posts by this user
Quote this message in a reply
08-17-2012, 01:12 PM
Post: #3
RE: dynarec compiler
The probrem is not work.Not "very slow"
(08-17-2012 12:47 PM)hyakki Wrote:  Disabling it causes the emulator to run in interpreter mode, very slow, you should never need to disable that option.
dynarec is the recompiler converts psp instructions to pc instructions on the fly, usually very efficiently it might recognize a sequence of instructions and rewrite them more efficiently for the pc to understand ..etc
Where interpreter has no shortcuts it's probably more accurate but will be slow.
You can take a look at compiler.xml to get a better idea what dynarec does.
Find all posts by this user
Quote this message in a reply
08-17-2012, 06:45 PM
Post: #4
RE: dynarec compiler
what? you should use google translate instead. probably it will be more readable.
Find all posts by this user
Quote this message in a reply
08-17-2012, 06:53 PM
Post: #5
RE: dynarec compiler
(08-17-2012 01:12 PM)sum2012 Wrote:  The probrem is not work.Not "very slow"
And don't work for the same reason hyakki told you.

PSP and PC are similar cause both have similar pieces to work; however those pieces are not the same on a PC and PSP and for that reason the orders that the PSP needs to work have to be "translated" on the PC so it know what to do.

[Image: montcer.png]
Find all posts by this user
Quote this message in a reply
08-20-2012, 07:51 AM
Post: #6
RE: dynarec compiler
(08-17-2012 12:02 PM)sum2012 Wrote:  What is dynarec compiler in option ?
If I disable it,all demo and games are not work.
HLE Function sceKernelCreateThread(ThreadManForUser) not activated by default for Firmware Version xxx
HLE Function sceKernelStartThread(ThreadManForUser) not activated by default for Firmware Version xxx
HLE Function hleKernelExitThread(ThreadManForUser) not activated by default for Firmware Version xxx


Attach Cube sample Rev2687 log.
That's true. Since the syscall instruction has been implemented with a new Java reflection mechanism, the interpreter is no longer working.
As the interpreter support has been discontinued for several years now, the option to disable the compiler should be removed. The compiler should always be enabled.

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
08-20-2012, 09:56 PM
Post: #7
RE: dynarec compiler
Good explanation
(08-20-2012 07:51 AM)gid15 Wrote:  That's true. Since the syscall instruction has been implemented with a new Java reflection mechanism, the interpreter is no longer working.
As the interpreter support has been discontinued for several years now, the option to disable the compiler should be removed. The compiler should always be enabled.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)