Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Distinguished Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Compilers and Libraries forum
I really don't want to write a JIT/AOT myself
Jump...
Cancel
State
Not Answered
Locked
Locked
Replies
6 replies
Subscribers
19 subscribers
Views
4135 views
Users
0 members are here
Compilers.
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
I really don't want to write a JIT/AOT myself
Odin Zeno
over 11 years ago
Note: This was originally posted on 11th August 2010 at
http://forums.arm.com
It seems that I have to raise the chip performance through this way, and I was acknowledged of Ubuntu recently got some from arm.
I don't want to spent time uselessly at writing the samething again(wasting your time or mine). But can that JIT/AOT work on a chip with less than 20 KB ram? Is there anyone know the detail? Some article said it boosts speed to 14X, is that true?
Parents
0
Peter Harris
over 11 years ago
Note: This was originally posted on 12th August 2010 at
http://forums.arm.com
> But can that JIT/AOT work on a chip with less than 20 KB ram?
Well it really depends doesn't it =)
What are you jitting from, what do you want to JIT in to, how much code are you jitting, what kind of optimization are you after?
How much support code does the language need?
Can you do a 100% JIT, or will you have to fallback on an interpreter in some cases? [it is rare for a JIT to JIT everything]
In all honestly 20KB of RAM is not much if you have a "typical JIT" - assuming you can load the bytecode from Flash, then you need space for: output JIT'ted code, the JIT itself, any interpreter support, two stacks (one for JIT/interperter and one for code), and then any data your program is actually using.
If you can restrict the bytecode to something simple (relatively flat mapping to the hardware ISA), and have a design with a very limited support library then it could be done. This type of micro-bytecode has found use in some boot-strap type code in many devices (BIOS chipsets often run a bytecode). Assuming you want to JIT something like full Java, then probably not possible in 20K, but then I've never really tried either.
Cancel
Up
0
Down
Cancel
Reply
0
Peter Harris
over 11 years ago
Note: This was originally posted on 12th August 2010 at
http://forums.arm.com
> But can that JIT/AOT work on a chip with less than 20 KB ram?
Well it really depends doesn't it =)
What are you jitting from, what do you want to JIT in to, how much code are you jitting, what kind of optimization are you after?
How much support code does the language need?
Can you do a 100% JIT, or will you have to fallback on an interpreter in some cases? [it is rare for a JIT to JIT everything]
In all honestly 20KB of RAM is not much if you have a "typical JIT" - assuming you can load the bytecode from Flash, then you need space for: output JIT'ted code, the JIT itself, any interpreter support, two stacks (one for JIT/interperter and one for code), and then any data your program is actually using.
If you can restrict the bytecode to something simple (relatively flat mapping to the hardware ISA), and have a design with a very limited support library then it could be done. This type of micro-bytecode has found use in some boot-strap type code in many devices (BIOS chipsets often run a bytecode). Assuming you want to JIT something like full Java, then probably not possible in 20K, but then I've never really tried either.
Cancel
Up
0
Down
Cancel
Children
No data