I want to create JIT for a new platform.But I don't konw how and what should do?
What platform do you want to port the JIT to?
Start with the MIPS or PowerPC port, whichever processor you think you know best. If you know ARM well, maybe start with that port, but I'm guessing MIPS or PowerPC are a bit more similar to sh4. Assuming you are porting to linux, clone the following directories, where is arm, mips, or powerpc, and should be renamed to "sh4" when cloning:
Then go in and start modifying all the above specific code to instead be sh4 specific. This will be a very hard task. By the time you are done, you will need to be a cvm expert because of the types of challenging bugs you will need to work through. Personally I wouldn't advise you to try this. It takes expertise that you pretty much can only find with engineers who have worked on CVM.
Message was edited by: cjplummer
Yes!You are right!
I have port CDC from X86/linux to SH4/linux already.
And it works very well!
But at that time, I didn't port jit.
I want to try to port jit,but I was intimidated by the
complexity of jit.
I don't know what should I do if I deeply hope to port the part of JIT.
Message was edited by: jiankercn
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.