[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.

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

2009-02-02 Thread x yz
, January 28, 2009, 4:55 PM On Jan 27, 2009, at 10:58 PM, x yz wrote: Gavin, last night I saw WREC when I search X86, and realized many places need to be touched. Your reply give more info and really help. Thanks a lot. In Generator::generateEnter(), there is comment On gcc

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] How to build webkit on Linux?

2009-02-11 Thread x yz
you can't use MS s/w on Linux, you need to use gnu C++ or tool chain. google it. --- On Thu, 2/12/09, nguyen hai -cuncon deuxliq...@yahoo.com wrote: From: nguyen hai -cuncon deuxliq...@yahoo.com Subject: [webkit-dev] How to build webkit on Linux? To: webkit-dev@lists.webkit.org Date:

Re: [webkit-dev] Flash support with Qt for WebKit - how about Gtk?

2009-02-15 Thread x yz
does Gtk+ support/will support Flash? any comparison on Gtk+/Qt port or advatanges? rgds joe --- On Sat, 2/14/09, Benjamin Meyer b...@meyerhome.net wrote: From: Benjamin Meyer b...@meyerhome.net Subject: Re: [webkit-dev] Flash support with Qt for WebKit To: Cc: webkit-dev@lists.webkit.org

Re: [webkit-dev] webkit test ques/fail

2009-02-15 Thread x yz
, January 28, 2009, 4:55 PM On Jan 27, 2009, at 10:58 PM, x yz wrote: Gavin, last night I saw WREC when I search X86, and realized many places need to be touched. Your reply give more info and really help. Thanks a lot. In Generator::generateEnter(), there is comment On gcc

Re: [webkit-dev] webkit test ques/fail

2009-02-15 Thread x yz
it seems WREC/JIT is disabled on Linux/X86, only available on MAC/WIN. right? --- On Mon, 2/16/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] webkit test ques/fail To: webkit-dev@lists.webkit.org Date: Monday, February 16, 2009, 4:26 AM Hi, I

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] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-17 Thread x yz
libsoup 2.23 is newer than 2.4. On Fedora9 only 2.4 is available, on FC10 2.24 is available. You need to changed the required version 2.23 in configure.ac to 2.4 then you can build. I have not completed the build yet. FC has older libs than ubuntu or so, when I try to compile openembbed flash I

Re: [webkit-dev] error: Cannot find icu-config. The ICU library is needed.

2009-02-17 Thread x yz
Pls read build requirements, there are a few devel lib needed and you can download rpm to update missed lib --- On Mon, 2/16/09, nguyen hai deuxliq...@yahoo.com wrote: From: nguyen hai deuxliq...@yahoo.com Subject: [webkit-dev] error: Cannot find icu-config. The ICU library is needed. To:

Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 = 2.23) were not met:

2009-02-17 Thread x yz
-CookieJarSoup.lo] Error 1 make[1]: Leaving directory `/home/jdai/depot/mp/newarch/webkit/webkit' make: *** [all] Error 2 --- On Wed, 2/18/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4

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] error: Cannot find icu-config. The ICU library is needed.

2009-02-21 Thread x yz
nguyen, you need to install icu-devel, on FC9 you have icu already. I used to suggest you read the build guide that lists these dependencies. joe --- On Sun, 2/22/09, Iulian iliescu.iul...@gmail.com wrote: From: Iulian iliescu.iul...@gmail.com Subject: Re: [webkit-dev] error: Cannot find

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] How to build a webkit release build

2009-02-24 Thread x yz
check out eveything, autogen.sh --pefix=dir set-webkit-configuration --release build-webkit --gtk --- On Wed, 2/25/09, Meryl Silverburgh silverburgh.me...@gmail.com wrote: From: Meryl Silverburgh silverburgh.me...@gmail.com Subject: [webkit-dev] How to build a webkit release build To:

Re: [webkit-dev] JCS standalone

2009-02-26 Thread x yz
I see two time this reply. Yet if you try it will fail, at least on Linux. May be it works on WIN/MAC. --- On Sat, 2/21/09, Geoffrey Garen gga...@apple.com wrote: From: Geoffrey Garen gga...@apple.com Subject: Re: [webkit-dev] JCS standalone To: thouraya andolsi thouraya.ando...@gmail.com

Re: [webkit-dev] How to build a webkit release build

2009-02-26 Thread x yz
WebCore WebKit So I can't perform your steps as there is no 'autogen.sh' 'build-webkit', etc. On Tue, Feb 24, 2009 at 7:35 PM, x yz last...@yahoo.com wrote: check out eveything, autogen.sh --pefix=dir set-webkit-configuration --release build-webkit --gtk --- On Wed, 2/25

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

2009-02-26 Thread x yz
. if ALTERNATE_JSIMMEDIATE enabled, you use mmx arithematic, but ALTERNATE_JSIMMEDIATE is enabled in paltform.h only for X86_64 MAC. That means on X86 you need sse2??? thanks for your time! joe --- On Sun, 2/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] want

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 - 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 - stack/code segment alignment

2009-02-27 Thread x yz
. before any call instruction in JIT 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

Re: [webkit-dev] strange behaviour when loading local webpage using file://

2009-02-27 Thread x yz
search for previous discussions. --- On Fri, 2/27/09, Jenson Lui jhn...@gmail.com wrote: From: Jenson Lui jhn...@gmail.com Subject: [webkit-dev] strange behaviour when loading local webpage using file:// To: webkit-dev@lists.webkit.org Date: Friday, February 27, 2009, 3:52 PM Hello all,

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 x yz
@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, yet their definition are regparm(3) registers for function arugments. Such usage would cause conflict on other platforms. May I suggest that we use

Re: [webkit-dev] strange behaviour when loading local webpage using file://

2009-02-28 Thread x yz
end== On Sat, Feb 28, 2009 at 1:36 AM, x yz last...@yahoo.com wrote: search for previous discussions. --- On Fri, 2/27/09, Jenson Lui jhn...@gmail.com wrote: From: Jenson Lui jhn...@gmail.com Subject: [webkit-dev] strange behaviour when

Re: [webkit-dev] strange behaviour when loading local webpage using file://

2009-03-02 Thread x yz
the MIME database, everything is working fine now. Anyway, thanks for the helps! Regards, Jenson On Sun, Mar 1, 2009 at 6:48 AM, x yz last...@yahoo.com wrote: you cross compile to which CPU/OS? using which version/compiler? --- On Sat, 2/28/09, Jenson Lui jhn

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

2009-03-03 Thread x yz
, 2009, 12:19 PM On Feb 27, 2009, at 4:55 PM, x yz wrote: The regTx seems to be working registers here, yet their definition are regparm(3) registers for function arugments. Such usage would cause conflict on other platforms. May I suggest that we use individual defined set of regs for func i

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

2009-03-03 Thread x yz
? 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, yet their definition are regparm(3) registers for function arugments. Such usage would cause conflict

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

2009-03-04 Thread x yz
On Feb 27, 2009, at 4:55 PM, x yz wrote: The regTx seems to be working registers here, yet their definition are regparm(3) registers for function arugments. Such usage would cause conflict on other platforms. May I suggest that we use individual defined set of regs

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

2009-03-06 Thread x yz
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, yet their definition are regparm(3) registers for function arugments

Re: [webkit-dev] how to do JIT benchmark

2009-03-18 Thread x yz
I used to see that calling convention change lead to certain % of efficiency improvement. in general how we can do a speed benchmark? rgds joe ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] how I know WebKit version after check out?

2009-03-18 Thread x yz
The Changelog doesn't include all change history. rgds joe ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Re: [webkit-dev] Announce the ARM port of JIT

2009-04-02 Thread x yz
Congratulations! any improvement on X86 hard coded offset for code patch? I mean X86 uses single pointer then a few constants closely coupled to X86 to patch code, which is a nightmare for porting. rgds joe --- On Wed, 4/1/09, Gabor Loki l...@inf.u-szeged.hu wrote: From: Gabor Loki

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] known gtk+ leaks

2009-04-07 Thread x yz
v1.1.1 uses libsoup not libcurl now. you may want to look at newer versions. --- On Tue, 4/7/09, Luka Napotnik luka.napot...@gmail.com wrote: From: Luka Napotnik luka.napot...@gmail.com Subject: [webkit-dev] known gtk+ leaks To: webkit-dev@lists.webkit.org Date: Tuesday, April 7, 2009,

Re: [webkit-dev] make webkit-1.1.3...

2009-04-21 Thread x yz
1.1.3 built on Fedora9 works fine. if you PC is slow it may take hours. I use 4 hiper thread CPU at ~3GHz and it takes less than an hour. webkit make file seems not manually written, thus not very flexible, but you can still make a little then build, say make the jsc. look at the makefile.

Re: [webkit-dev] can't build debug_cairo and release_cairo

2009-04-21 Thread x yz
read the website guide lines on how to set path on Visual Studio. you'd know how to use VS. --- On Sun, 4/19/09, Kruchinkin Kirill kkruc...@yandex.ru wrote: From: Kruchinkin Kirill kkruc...@yandex.ru Subject: [webkit-dev] can't build debug_cairo and release_cairo To:

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 - 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
_ZN3JSC8JITStubs10cti_op_modEPvz+84: jalrt9 ... no label in MIPS. StackHack label shown on X86 but on mips are all xxx(gp), may be compiler/gdb not as good as X86 version? thanks for look at it, joe --- On Wed, 4/22/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com

Re: [webkit-dev] Proposal for a new way to handle porting #ifdefs

2009-05-07 Thread x yz
I think you may want to look at openembedded and use their way to control those things, rather then a new idea. You can build webkit there too. Most of what you said most is a minor part to me, may be to others. rgds joe --- On Tue, 5/5/09, Maciej Stachowiak m...@apple.com wrote: From:

Re: [webkit-dev] the variable of JavaScript function

2009-05-07 Thread x yz
I don't understand your question. pls don't ask this kind of question on webkit dev site, it is not related. rgds joe --- On Thu, 3/19/09, zhenghe zhang zhenghe.zh...@gmail.com wrote: From: zhenghe zhang zhenghe.zh...@gmail.com Subject: [webkit-dev] the variable of JavaScript function To:

Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread x yz
Hi, 50% of time when I use gdb then arith functions works. it may fail at 1st, or 3rd try, and 100% fail w/o gdb. I just use jsc to do sth like 5%2, 5*3, etc. It is with in call of ctiTrampoline(code, registerFile, callFrame, jexception, pptr, globalData), jit code executed and may be in last

Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread x yz
Zoltan, I appreciate very much your comments, that's sth in my mind but no clue, when 1st/2nd run ok and 3rd fail, I also doubt SMP. The case just as you mentioned. But, what's the solution? why X86 gcc version has no such problem? rgds joe --- On Sat, 5/9/09, Zoltan Herczeg

Re: [webkit-dev] random seg fault on MIPS platform

2009-05-08 Thread x yz
ok I think you suggest using the function to flush before execution the code. I'll try it. I really appreciate it! rgds joe --- On Sat, 5/9/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] random seg fault on MIPS

Re: [webkit-dev] Webkit SMp support

2009-05-13 Thread x yz
Hi, Did you tried to run webkit on SMP? if yes which platform? SMP are different, I guess there may not be much space for webkit to be optimized for SMP, but OS shall take care of it. Applications may also be organized with SMP in mind. If CPU usage is low and you feel speed is low, it

Re: [webkit-dev] Looking for MIPS asm/JIT consultant

2009-05-13 Thread x yz
We are looking for people of skill in MIPS asm/jit debug expertise as contractor: 1. Experience in writing or porting assemblers, familar with MIP32 o32 and 32bit X86 instruction/calling convention 2. Experience in WebKit-JIT / OpenJIT or similar project 3. able to start debug at short notice,

Re: [webkit-dev] compiling the jsc alone

2009-05-28 Thread x yz
I can make Program/jsc rgds joe --- On Thu, 5/21/09, haithem rahmani haithem.rahm...@gmail.com wrote: From: haithem rahmani haithem.rahm...@gmail.com Subject: [webkit-dev] compiling the jsc alone To: webkit-dev@lists.webkit.org Date: Thursday, May 21, 2009, 1:10 AM Hi,   I tried to

Re: [webkit-dev] does jit uses self-modifying code?

2009-05-29 Thread x yz
_ZN3JSC10JSValuePtr3putEPNS_9ExecStateERKNS_10IdentifierES0_RNS_15PutPropertySlotE+232: lw a2,56(s8) the entry got is $t9=0x2bc that is wrong. rgds joe --- On Sat, 5/9/09, x yz last...@yahoo.com wrote: From: x yz last...@yahoo.com Subject: Re: [webkit-dev] random seg fault on MIPS platform

Re: [webkit-dev] stack alignment bug

2009-06-02 Thread x yz
I don't know how to file bug so I posted here. In privateCompileCTIMachineTrampolines() there are multiple align() to align code on 16byte margin, yet, the stack can be put on 32bit margin that causes crush. Suppose original stack is aligned to 8/16bytes, the above function frequently pop/push

Re: [webkit-dev] stack alignment bug

2009-06-03 Thread x yz
explains a bit more? Did you face same problem? Thanks also for your articles that gives new ideas. rgds joe --- On Wed, 6/3/09, Zoltan Herczeg zherc...@inf.u-szeged.hu wrote: From: Zoltan Herczeg zherc...@inf.u-szeged.hu Subject: Re: [webkit-dev] stack alignment bug To: x yz last...@yahoo.com Cc