[webkit-qt] QtWebKit 2.3.1 on MIPS

Brianceau, Julien JBrianceau at nds.com
Wed Apr 24 09:10:37 PDT 2013

In addition of LLINT for MIPS, You can try to apply the DFG_JIT for MIPS too : http://trac.webkit.org/changeset/143247

This should increase your perfs too,



De : webkit-qt-bounces at lists.webkit.org [mailto:webkit-qt-bounces at lists.webkit.org] De la part de Massimo Callegari
Envoyé : mercredi 24 avril 2013 17:57
À : Allan Sandfeld Jensen
Cc : webkit-qt at lists.webkit.org
Objet : Re: [webkit-qt] QtWebKit 2.3.1 on MIPS

Great news !
After applying the LLInt patch I've got better results:

Richards: 133

DeltaBlue: 73.2

Crypto: 102

RayTrace: 149

EarleyBoyer: 222

RegExp: 63.3

Splay: 145

NavierStokes: 101

Score: 115

Thank you very much for pointing me to the right direction !


Da: Allan Sandfeld Jensen <kde at carewolf.com>
A: Massimo Callegari <massimocallegari at yahoo.it>
Cc: webkit-qt at lists.webkit.org
Inviato: Mercoledì 24 Aprile 2013 15:47
Oggetto: Re: [webkit-qt] QtWebKit 2.3.1 on MIPS

On Wednesday 24 April 2013, Massimo Callegari wrote:
> - V8 engine: it seems it has been abandoned for WebKit1 and it is the
> default on Qt5/WebKit2. Is this correct or is there still a way to use V8
> on QtWebKit 2.3.1 (like the old option --v8) ?
I have not experimented with V8 and QtWebKit, and I don't know how much work
it will be to reintegrate that, but I think it has not been maintained for
some time.

> - JSC MIPS: reading around, I've seen it should be possible to use MIPS
> assembler code into JavaScriptCore. Anyone knows how I can do it? Right
> now I'm passing -mips32 flag but it seems to be not enough. Shoud I add
> -march=mips or something similar to enable CPU(MIPS) into JSC ?
JavaScriptCore in QtWebKit 2.3.1 and Qt 5 should be using MIPS JIT already,
but only the first generation JIT. The second generation DFG JIT for MIPS is
in WebKit trunk, and so is LLInt for MIPS. LLInt is the low level interpreter
that is used when JIT doesn't look profitable. Neither has been cherry-picked
for Qt 5.1 nor QtWebKit 2.3 yet, but I am expected it to be in Qt 5.2.

It shouldn't be too hard to cherry-pick MIPS LLInt which should be somewhat
faster than without, but the DFG JIT code is much more invasive and would take
more effort. If you want to give a try at MIPS LLInt you can start at



This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130424/143f3191/attachment-0001.html>

More information about the webkit-qt mailing list