[LLVMdev] Inline ASM Problem
baldrick at free.fr
Tue Sep 25 05:39:07 PDT 2012
On 25/09/12 14:19, Zhoujinguo wrote:
> Sorry that I have implemented nothing for it.
inline asm won't work without an asm parser, which is something that knows how
to turn assembler strings like "mov %eax, %ebx" into opcodes, i.e. the numbers
which, when placed into memory, cause the processor to execute the
"mov %eax, %ebx" operation. After all, an "inline asm" means an assembler
string like "mov %eax, %ebx", and for lli to JIT that, i.e. transform it on
the fly into opcodes for the processor to execute, some kind of asm parser
is clearly needed. If there isn't one for your processor then someone will
have to add one...
aget is not my own project which
> is a public project of paralell "wget".
By "target" I didn't mean the kind of program you are trying to JIT, I mean the
hardware (processor) you are running lli on. Is it intel (x86, x86-64), ARM,
I only want to use it as a common
> Do I need to implement anything for it?
> Thank you
> Hi Andy,
> On 25/09/12 12:10, Zhoujinguo wrote:
> > Thank you for replying.
> > The target is "aget" which is attached. The compiling shell is also attached.
> since this seems to be your own custom target I ask: did you implement an asm
> parser for your target?
> Best wishes, Duncan.
> > Best
> > Andy
> > > If I use "-use-mcjit" argument, the error message changes to "LLVM
> > > Inline asm not supported by this streamer because we don't have an
> asm parser
> > > for this target"
> > What's your target? Please attach your example code so others can
> > reproduce your problem. :)
> > Regards,
> > chenwj
> > --
> > Wei-Ren Chen (陳韋任)
> > Computer Systems Lab, Institute of Information Science,
> > Academia Sinica, Taiwan (R.O.C.)
> > Tel:886-2-2788-3799 #1667
> > Homepage: http://people.cs.nctu.edu.tw/~chenwj
> > <http://people.cs.nctu.edu.tw/%7Echenwj>
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev