Re: [webkit-dev] squirrefish extreme on Arm.

2011-11-29 Thread vahagvahag

Hi all. I have been studing about squirrefish extreme for last several days
but can't find answers to several quations I need.
1. How can I dump compiling process? For instanance in GCC I can compile
with -da -fdump_tree_all and then get all passes up to assembler generation.
So is there any way to do the same on squirrefish extreme ?  I wanna to see
which optimizations are works in each state. 
And  finaly how can I get bytecode from my source. I built webkitv with
--debug option and tried to run  ./jsc-3 sunspider -d, but it didn't give
bytecode



  
-- 
View this message in context: 
http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876913p32880353.html
Sent from the Webkit mailing list archive at Nabble.com.

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


Re: [webkit-dev] squirrefish extreme on Arm.

2011-11-29 Thread Gavin Barraclough
-d should work fine on ARM - check your build settings, is any #ifndef NDEBUG 
code getting built?
In addition there are a set of switches in dfg/DFGCommon.h that include ones to 
enable further dumping of the intermediate representation.

G.


On Nov 29, 2011, at 2:51 AM, vahagvahag wrote:

 
 Hi all. I have been studing about squirrefish extreme for last several days
 but can't find answers to several quations I need.
 1. How can I dump compiling process? For instanance in GCC I can compile
 with -da -fdump_tree_all and then get all passes up to assembler generation.
 So is there any way to do the same on squirrefish extreme ?  I wanna to see
 which optimizations are works in each state. 
 And  finaly how can I get bytecode from my source. I built webkitv with
 --debug option and tried to run  ./jsc-3 sunspider -d, but it didn't give
 bytecode
 
 
 
 
 -- 
 View this message in context: 
 http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876913p32880353.html
 Sent from the Webkit mailing list archive at Nabble.com.
 
 ___
 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


[webkit-dev] squirrefish extreme on Arm.

2011-11-26 Thread vahagvahag

Hi all. I didn't find any documentation about porting squirrefish extreme on
Arm. 
I tried to google it, and found some posts where said that there is
squirrefish extreme on Arm, but I can't find source cod,or any documentation
about it(
Can anybody help me. Any information about  squirrefish extreme is important
for me:)
 p.s
I download latest  code of webkit from offical site by svn and built it
under x86_64. In source code I didn't find any squirrefish extreme I think
that squirrefish extreme source code is in javaScriptCoe folder. Am I
right???
and if  no how I can compile webkit with squirrefish extreme 


-- 
View this message in context: 
http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876913p32876913.html
Sent from the Webkit mailing list archive at Nabble.com.

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


[webkit-dev] squirrefish extreme on Arm.

2011-11-26 Thread vahagvahag

Hi all. I didn't find any documentation about porting squirrefish extreme on
Arm. 
I tried to google it, and found some posts where said that there is
squirrefish extreme on Arm, but I can't find source cod,or any documentation
about it(
Can anybody help me. Any information about  squirrefish extreme is important
for me:)
 p.s
I download latest  code of webkit from offical site by svn and built it
under x86_64. In source code I didn't find any squirrefish extreme I think
that squirrefish extreme source code is in javaScriptCoe folder. Am I
right???
and if  no how I can compile webkit with squirrefish extreme 


-- 
View this message in context: 
http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876914p32876914.html
Sent from the Webkit mailing list archive at Nabble.com.

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


Re: [webkit-dev] squirrefish extreme on Arm.

2011-11-26 Thread Zoltan Herczeg
Hi,

WebKit supports ARM and Thumb2 instructions sets (called ARMv7). You can
find them here (or in your own source code):
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/assembler

SquirrelFish Extreme is just a codename for the JavaScript JIT compiler
(and Nitro is another).

The JIT compiler is enabled by default on most OS-es, just compile WebKit
and you have it.

Regards,
Zoltan

 Hi all. I didn't find any documentation about porting squirrefish extreme
 on
 Arm.
 I tried to google it, and found some posts where said that there is
 squirrefish extreme on Arm, but I can't find source cod,or any
 documentation
 about it(
 Can anybody help me. Any information about  squirrefish extreme is
 important
 for me:)
  p.s
 I download latest  code of webkit from offical site by svn and built it
 under x86_64. In source code I didn't find any squirrefish extreme I
 think
 that squirrefish extreme source code is in javaScriptCoe folder. Am I
 right???
 and if  no how I can compile webkit with squirrefish extreme


 --
 View this message in context:
 http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876913p32876913.html
 Sent from the Webkit mailing list archive at Nabble.com.

 ___
 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


Re: [webkit-dev] squirrefish extreme on Arm.

2011-11-26 Thread vahagvahag

Thanks a lot for reply.
but can I Cross-compile webkit on my x_64 machine so I can use it on my
armv7 machine??
And I can't find any documentation about squirrelfish back-end,
optimizations passes and so on.
Currently I'm diong optimizations on Gcc compiler, and now
 I wanna to start developing squirrelfish, and tring to understand how can
do optimizations on it. But unfortantly i can't find usefull information
about squirrelfish(
So if you have any documentation about it can you please help me??
-- 
View this message in context: 
http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876913p32876949.html
Sent from the Webkit mailing list archive at Nabble.com.

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


Re: [webkit-dev] squirrefish extreme on Arm.

2011-11-26 Thread Filip Pizlo
 but can I Cross-compile webkit on my x_64 machine so I can use it on my
 armv7 machine??

Which port are you working on?  Mac or other?

 And I can't find any documentation about squirrelfish back-end,
 optimizations passes and so on.
 Currently I'm diong optimizations on Gcc compiler, and now
 I wanna to start developing squirrelfish, and tring to understand how can
 do optimizations on it. But unfortantly i can't find usefull information
 about squirrelfish(
 So if you have any documentation about it can you please help me??

Andy Wingo wrote up a nice piece about the DFG optimizing compiler:

http://wingolog.org/archives/2011/10/28/javascriptcore-the-webkit-js-implementation

The code and design are in constant flux; the best way to really learn about it 
is to read the code.

Here's the code for the DFG JIT:
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/dfg

Here's the code for the baseline JIT, which is used for fast start-up and 
profiling:
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/jit

Here are additional files that contain support for tiered compilation, 
profiling, and OSR:
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/CodeOrigin.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/PredictedType.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/PredictedType.cpp
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/ValueProfile.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/ValueProfile.cpp
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/bytecode/ValueRecovery.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/runtime/Executable.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/runtime/Executable.cpp

And finally some code to interface the optimizing JIT to the GC:
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/heap/DFGCodeBlocks.h
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/heap/DFGCodeBlocks.cpp

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


Re: [webkit-dev] squirrefish extreme on Arm.

2011-11-26 Thread vahagvahag

Thank you a lot for this links, they are realy very helphull.
-- 
View this message in context: 
http://old.nabble.com/squirrefish-extreme-on-Arm.-tp32876913p32877068.html
Sent from the Webkit mailing list archive at Nabble.com.

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