[webkit-dev] x86-64 JIT

Mike Hommey mh+webkit at glandium.org
Tue Mar 17 13:51:57 PDT 2009


Hi,

I was taking a quick look at the JIT code and also gave a shot at
forcing a build of the x86-64 code under Linux.

The main problem right now is the following:
../JavaScriptCore/jit/JITArithmetic.cpp:664: error: cast from 'JSC::Structure*' to 'unsigned int' loses precision
../JavaScriptCore/jit/JITArithmetic.cpp:674: error: cast from 'JSC::Structure*' to 'unsigned int' loses precision
../JavaScriptCore/jit/JITArithmetic.cpp:714: error: cast from 'JSC::Structure*' to 'unsigned int' loses precision
../JavaScriptCore/jit/JITArithmetic.cpp:724: error: cast from 'JSC::Structure*' to 'unsigned int' loses precision

Looking at the code, it seems really too much x86-centric, and
depending on how the x86-64 ABI is under OSX. I don't know how things
are going to evolve with Snow-Leopard, as I hear the kernel will finally
be 64-bits, but maybe the same issue will arise.

Anyways, I'd need guidance from some people with JIT knowledge to help
me get it work on Linux.

Cheers,

Mike


More information about the webkit-dev mailing list