On Jun 16, 2009, at 4:09 PM, Anna Zaks wrote:
> Hi,
>
> I am researching a possibility of running LLVM components (such as
> JIT) on an embedded device, where the memory footprint and RAM usage
> are the main concerns. So I was wondering if anyone could share
> their experience with running LLVM on an embedded device. What is
> the approximate code footprint that we are looking at? For example,
> on an x86 with a minimum set of optimizations and with only the x86
> backend, it seems difficult to get the LLVM JIT occupy less than
> 5MB. Is there any performance and memory usage data available?
That seems too high. I would think it's more in the 2MB range. How did
you come about that figure? x86 instruction selector itself is quite
large due to the complex selection patterns. I would expect ARM's
footprint to be smaller.
There are ways to reduce memory foot print further. But it will
require someone to drive the effort. One of the (very rough) idea is
to switch to a table driven instruction selector.
Evan
>
> Thank you!
> Anna.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20090616/778e302c/attachment.html>