The Microsoft ARM toolchain does not support inline assembler so I'm unable to 
compile any inline assembler.  I'm trying to understand how to make these 
functions external but it doesn't appear to be straightforward (e.g. The first 
problem I hit was that the asm "push" instruction is unknown, also svc must be 
renamed swi and probably others. Also, I'm not able to easily create the 
pre/post stack frame for cacheflush as I haven't used 3 parameter assembler 
language before although I'm sure I could do this with a couple of hours 
research.

Can you maybe show me how to get the jit to generate this for this toolchain?

Jason.

-----Original Message-----
From: Zoltan Herczeg [mailto:zherc...@inf.u-szeged.hu] 
Sent: Wednesday, October 21, 2009 9:45 AM
To: Jason Rukman
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] JIT for arm is dependant on gcc

Hi,

these entry/leave functions are implemented in assembly for all ports. It
is faster this way. (Previously, the jit generated these functions, but
the reviewers convinced us to do this way).

External .asm files would be a nightmare, since we have to create (and
maintain) the build rules for all ports.

Is is difficult to implement these functions for your assembler? They are
simple code fragments.

Zoltan

> I've noticed that there are three functions that use inline gcc
> assembler for compiling JIT for ARM_TRADITIONAL.  Is it possible for
> these to be reworked using the macro assembler so that JIT can be
> compiled without the gcc toolchain dependency for arm? (sp. I am using
> armasm from Microsoft?).
>
>
>
> Alternatively, perhaps this could be moved to an external .asm or .s
> file.  This looks like it has been done for PaintHooks.asm; so maybe
> something similar to that.
>
>
>
> These are the functions that I am missing trying to build JIT:
>
>
>
> CacheFlush, ctiTrampoline, ctiVMThrowTrampoline & ctiOpThrowNotCaught
>
>
>
> If there is a way to compile JIT without these dependencies please let
> me know.
>
>
>
> Thanks,
>
> Jason.
>
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to