Re: [webkit-dev] want to port JIT to MIPS - cti_op_mod(STUB_ARGS) seg fault

2009-04-22 Thread x yz
(JITStubs::cti_op_mod); emitPutVirtualRegister(result); } thanks alot, joe --- On Wed, 4/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS - cti_op_mod(STUB_ARGS) seg fault To: WebKit Development webkit-dev

Re: [webkit-dev] want to port JIT to MIPS - cti_op_mod(STUB_ARGS) seg fault

2009-04-22 Thread x yz
Subject: Re: [webkit-dev] want to port JIT to MIPS - cti_op_mod(STUB_ARGS) seg fault To: WebKit Development webkit-dev@lists.webkit.org, Gavin Barraclough barraclo...@apple.com Date: Wednesday, April 22, 2009, 8:31 AM I use MIPS32EL, VA_LIST call, MIPS pushes function argument from left

Re: [webkit-dev] want to port JIT to MIPS - cti_op_mod(STUB_ARGS) seg fault

2009-04-21 Thread x yz
I use MIPS32EL, VA_LIST call, MIPS pushes function argument from left to right. I wrote a simple VA_LIST test it works on my box. BEGIN_STUB_FUNCTION() cause seg fault due to MIPS uses gp reg to read sth. I treied to rewrite the code like that: JSObject* JITStubs::cti_op_new_func_exp(STUB_ARGS)

Re: [webkit-dev] want to port JIT to MIPS - where comes from _ZN3JSC8JITStubs12cti_vm_throwEPvz

2009-04-06 Thread x yz
jit complier give error because above label is hard coded. It reports the error with a file .s under /tmp yet I cannot see and not sure who removes it. Pls be kindly to let me know how I can change above label to correct one. Also, now I see hard coded constant patchOffsetOpCallCompareToJump=6

Re: [webkit-dev] want to port JIT to MIPS - why GtkLaunder needs gcc?

2009-03-18 Thread Jenson Lui
Hello, Do you mean the Programs/GtkLauncher? Since the GtkLauncher is a wrapper script and will create the actual lt-GtkLauncher under Programs/.libs/. My way is to just run the Programs/GtkLauncher in host (with your cross toolchain in PATH) and let the script create the lt-GtkLauncher.

Re: [webkit-dev] want to port JIT to MIPS - can anybody explain JIT::linkCall?

2009-03-06 Thread x yz
* callee; anywhere got doc of the JIT implementations? thanks a lot! joe --- On Wed, 3/4/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined? To: webkit-dev

Re: [webkit-dev] want to port JIT to MIPS - can anybody explain JIT::linkCall?

2009-03-06 Thread Gavin Barraclough
a lot! joe --- On Wed, 3/4/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined? To: webkit-dev@lists.webkit.org Date: Wednesday, March 4, 2009, 3:33 PM Hi

Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined?

2009-03-04 Thread x yz
-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined? To: webkit-dev@lists.webkit.org Date: Wednesday, March 4, 2009, 3:33 PM Hi, they generate instructions, which size is known in advance

Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined?

2009-03-03 Thread x yz
stucked here now. joe --- On Sat, 2/28/09, Gavin Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - JIT reg usage clean up? To: WebKit Development webkit-dev@lists.webkit.org Date: Saturday, February 28

Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined?

2009-03-03 Thread Zoltan Herczeg
Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - JIT reg usage clean up? To: WebKit Development webkit-dev@lists.webkit.org Date: Saturday, February 28, 2009, 12:19 PM On Feb 27, 2009, at 4:55 PM, x yz wrote: The regTx seems to be working registers here

Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined?

2009-03-03 Thread x yz
patchOffsetGetByIdBranchToSlowCase = 13; thanks for help, I'm stucked here now. joe --- On Sat, 2/28/09, Gavin Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - JIT reg usage clean up

Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined?

2009-03-03 Thread Zoltan Herczeg
to the 9? rgds joe --- On Wed, 3/4/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] want to port JIT to MIPS - how patchOffset* constant determined? To: webkit-dev@lists.webkit.org Date: Wednesday, March 4, 2009, 3:45 AM

Re: [webkit-dev] want to port JIT to MIPS - stack/code segment alignment

2009-02-27 Thread x yz
Zoltan, you are right, thanks a lot! joe --- On Fri, 2/27/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] want to port JIT to MIPS - stack/code segment alignment To: webkit-dev@lists.webkit.org Date: Friday

Re: [webkit-dev] want to port JIT to MIPS - which calling convention is used here?

2009-02-27 Thread x yz
Hi, Thanks for your help in advance:) in JITPropertyAccess.cpp: if (transitionWillNeedStorageRealloc(oldStructure, newStructure)) { pop(X86::ebx); ///pop return address, why? for exception? #if PLATFORM(X86_64)///which convention is this?

Re: [webkit-dev] want to port JIT to MIPS - JIT reg usage clean up?

2009-02-27 Thread Gavin Barraclough
refactoring of the existing JIT would make more sense more directly prior to work in that area. cheers, G. I'd apperciate if sb can do it or help me to do it. rgds joe --- On Sat, 2/28/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT

Re: [webkit-dev] want to port JIT to MIPS - JIT reg usage clean up?

2009-02-27 Thread x yz
Gavin, Thanks for correct me, see my comments below with : --- On Sat, 2/28/09, Gavin Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - JIT reg usage clean up? To: WebKit Development webkit-dev

Re: [webkit-dev] want to port JIT to MIPS - how to get of SSE2 now?

2009-02-26 Thread x yz
to start. cheers, G. rgds joe --- On Mon, 2/16/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS - when WREC/JIT enabled? To: Gavin Barraclough barraclo...@apple.com Cc: WebKit Development

Re: [webkit-dev] want to port JIT to MIPS - patchImmediate

2009-02-26 Thread x yz
such patch? who will/how to use patched data? rgds joe --- On Sun, 2/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit Development webkit-dev@lists.webkit.org, Gavin Barraclough barraclo...@apple.com Date: Sunday

Re: [webkit-dev] want to port JIT to MIPS - how to get of SSE2 now?

2009-02-26 Thread Gavin Barraclough
time! joe --- On Sun, 2/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit Development webkit-dev@lists.webkit.org, Gavin Barraclough barraclo...@apple.com Date: Sunday, February 22, 2009, 4:34 PM Thanks a lot

Re: [webkit-dev] want to port JIT to MIPS - patchImmediate

2009-02-26 Thread Zoltan Herczeg
).repatch(cachedOffset * sizeof(JSValuePtr)); how propertyMap is used and why we need such patch? who will/how to use patched data? rgds joe --- On Sun, 2/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit

Re: [webkit-dev] want to port JIT to MIPS - stack/code segment alignment

2009-02-26 Thread Zoltan Herczeg
: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit Development webkit-dev@lists.webkit.org, Gavin Barraclough barraclo...@apple.com Date: Sunday, February 22, 2009, 4:34 PM Thanks a lot otherwise I have misunderstanding. Yes I'll do wrec first. I just want

Re: [webkit-dev] want to port JIT to MIPS - stack/code segment alignment

2009-02-26 Thread x yz
code, make sure stack is aligned to 64bit also. PPC no JIT thus no problem right? rgds joe --- On Sun, 2/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit Development webkit-dev@lists.webkit.org

Re: [webkit-dev] want to port JIT to MIPS - how to get of SSE2 now?

2009-02-26 Thread x yz
: Re: [webkit-dev] want to port JIT to MIPS - how to get of SSE2 now? To: WebKit Development webkit-dev@lists.webkit.org Date: Friday, February 27, 2009, 6:03 AM SSE2 code generation is guarded by calls to a function 'isSSE2Present()'. On Feb 26, 2009, at 12:27 PM, x yz wrote: Hi

Re: [webkit-dev] want to port JIT to MIPS - how to get of SSE2 now?

2009-02-26 Thread Gavin Barraclough
: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - how to get of SSE2 now? To: WebKit Development webkit-dev@lists.webkit.org Date: Friday, February 27, 2009, 6:03 AM SSE2 code generation is guarded by calls to a function 'isSSE2Present()'. On Feb

Re: [webkit-dev] want to port JIT to MIPS - stack/code segment alignment

2009-02-26 Thread Zoltan Herczeg
be not aligned to 32bit. I'll add __attribute__ ((aligned (4))) or 8. rgds joe --- On Fri, 2/27/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] want to port JIT to MIPS - stack/code segment alignment To: webkit-dev

Re: [webkit-dev] want to port JIT to MIPS

2009-02-22 Thread x yz
Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS To: WebKit Development webkit-dev@lists.webkit.org Date: Friday, February 20, 2009, 2:01 PM On Feb 19, 2009, at 8:27 PM, x yz wrote: I'd appreaciate

Re: [webkit-dev] want to port JIT to MIPS

2009-02-19 Thread x yz
the instruction before I can patch/add in the 32bit data. 4.I'm kind of want no asm code outside assembler folder, any plan for that? rgds joe --- On Mon, 2/16/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS - when WREC/JIT enabled

Re: [webkit-dev] want to port JIT to MIPS

2009-02-19 Thread Gavin Barraclough
will remain in the jit folder. I'd suggest that in attempting to port the jit, WREC would be a good place to start. cheers, G. rgds joe --- On Mon, 2/16/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS - when WREC/JIT enabled

Re: [webkit-dev] want to port JIT to MIPS - when WREC/JIT enabled?

2009-02-15 Thread x yz
barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS - using X86::ecx as base To: last...@yahoo.com Cc: WebKit Development webkit-dev@lists.webkit.org Date: Saturday, February 7, 2009, 7:08 AM On Feb 6, 2009, at 2:52 PM, x

Re: [webkit-dev] want to port JIT to MIPS - using X86::ecx as base

2009-02-06 Thread x yz
me on my previous questions? does JIT support floating point? many thanks joe --- On Tue, 2/3/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want to port JIT to MIPS - IEEE ques To: Gavin Barraclough barraclo...@apple.com, WebKit Development webkit

Re: [webkit-dev] want to port JIT to MIPS - using X86::ecx as base

2009-02-06 Thread Gavin Barraclough
On Feb 6, 2009, at 2:52 PM, x yz wrote: 1.what's the meaning of ALTERNATE_JSIMMEDIATE and slow case? On x86-64 we use a different implementation of the class JSImmediate. See JSImmediate.h. Re 'slow case', in the JIT code generation is performed as two passes over the bytecode – see

Re: [webkit-dev] want to port JIT to MIPS - IEEE ques

2009-02-02 Thread x yz
floating point? if yes why it is not under jit/asm? rgds joe --- On Wed, 1/28/09, Gavin Barraclough barraclo...@apple.com wrote: From: Gavin Barraclough barraclo...@apple.com Subject: Re: [webkit-dev] want to port JIT to MIPS, any coworker or any hint? To: last...@yahoo.com Date: Wednesday

Re: [webkit-dev] want to port JIT to MIPS, any coworker or any hint?

2009-01-25 Thread Gavin Barraclough
On Jan 24, 2009, at 8:36 PM, x yz wrote: Just build webkit on XP using cgywin, not tested yet. I want to port to 32bit MIPS, it seems I need to touch JIT and rewrite assembler folder. Once you have the bytecode interpreter up and running on MIPS, I'd recommend starting by just trying to

[webkit-dev] want to port JIT to MIPS, any coworker or any hint?

2009-01-24 Thread x yz
Just build webkit on XP using cgywin, not tested yet. I want to port to 32bit MIPS, it seems I need to touch JIT and rewrite assembler folder. Any document there on javascripcore/assembler? I also want a smart way to make sure output is correct.