[webkit-help] jit for arm

ll Jefferry jeffery0613 at gmail.com
Wed Nov 4 21:31:36 PST 2009


Hi,

    Thanks for your help!
    If somewhere has referrence document about cti trampolines or jit?

BR,
Jeff

On Thu, Nov 5, 2009 at 3:05 AM, Zoltan Herczeg <zherczeg at inf.u-szeged.hu>wrote:

> Hi,
>
> JIT has a fixed stack layout (see JITStubs.h : struct JITStackFrame). The
> cti trampolines setup and cleanup the necessary stack layout (since the
> JIT code assumes the stack layout has already been initialized)
>
> Zoltan
>
> > Are these cti functions doing more than just jumping to JIT code?  The
> > routines seem to do more than just branch (at least in the ARM version I
> > was looking at) and I'd like to understand them more.
> >
> > -----Original Message-----
> > From: webkit-help-bounces at lists.webkit.org
> > [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Zoltan
> > Herczeg
> > Sent: Wednesday, November 04, 2009 9:55 AM
> > To: ll Jefferry
> > Cc: webkit-help at lists.webkit.org
> > Subject: Re: [webkit-help] jit for arm
> >
> > Hi Jeff,
> >
> > ctiTrampoline: wrapper (helper) function to call the JIT code from C++
> > ctiVMThrowTrampoline: wrapper (helper) function to call the cti_wmThrow
> > (exception handling function) from the JIT.
> > ctiOpThrowNotCaught: return to C++ if an exception is unhandled by the
> > JIT
> > code. Kinda side exit.
> >
> > cacheFlush uses NAPI (new API) call style for Linux. The necessary
> > constant is defined by Linux kernel headers, but we would not want
> > WebKit
> > to depend those headers (hopefully they don't want to change it soon).
> >
> > Zoltan
> >
> >>> Hi,
> >>>
> >>
> >>
> >>> when i reading the jit for arm source code, i am not very clear the
> >>> functionality of the flowing functions:
> >>>         ctiTrampoline
> >>>         ctiVMThrowTrampoline
> >>>         ctiOpThrowNotCaught
> >>>
> >>> could you explain to me?
> >>> and another question is that:  in cacheFlush function, why the system
> >>> call
> >>> number is 0xf0002? if it is defined by the toolchain?
> >>>
> >>>
> >>> thanks!
> >>>
> >>> BR,
> >>> Jeff
> >>>
> >> _______________________________________________
> >> webkit-help mailing list
> >> webkit-help at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> >
> >
> > _______________________________________________
> > webkit-help mailing list
> > webkit-help at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20091105/48f15e5b/attachment.html>


More information about the webkit-help mailing list