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.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dynarec compiler
#1
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 Files
.zip   log.zip (Size: 7.77 KB / Downloads: 75)
Reply
#2
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.
Reply
#3
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.

Reply
#4
what? you should use google translate instead. probably it will be more readable.
Reply
#5
(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]
Reply
#6
(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
Reply
#7
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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)