[LLVMdev] bitcode to make math expression parse faster
James Molloy
james.molloy at arm.com
Thu Jun 9 07:46:14 PDT 2011
Hi Christian,
> I develop for iphone!
As such you are limited to what the iOS SDK provides, which as far as I know
is Objective-C, with a dedicated compiler. You cannot, as far as I am aware,
use LLVM yourself on that platform.
> Do you know how i can compile in time, so an expression is evaluated
faster ?
Unfortunately (again, as far as I know not being an iPhone developer)
just-in-time compilation is banned by the terms of service.
> I want to compile a mathematical expression ... with the parser I use it
is too slow.
So Objective-C does compile integer and floating point arithmetic down to
pure machine code and performs standard optimisations on it. If you're using
Objective-C it should already be compiled. If you're not, then Objective-C
is probably your best choice given your platform.
Cheers,
James
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Christian
Sent: 09 June 2011 11:58
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] bitcode to make math expression parse faster
Hi,
I want to compile a mathematical expression.
So shall be faster.
It should be as fast as it would be hard coded.
With the parser i use it is too slow.
Do you know how i can compile in time, so an expression is evaluated
faster ?
I develop for iphone!
Thanks a lot !
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110609/9a589814/attachment.html>
More information about the llvm-dev
mailing list