Request to commit to head: Thumb 2 JIT

Matthias Klose doko at ubuntu.com
Thu Jan 21 05:21:54 PST 2010


On 19.01.2010 18:45, ed at camswl.com wrote:
 > Hi folks,
 >
 > The following patch adds a Thumb2 JIT to the ARM port. As the diffs are quite 
large
 > and may be truncated here, I have put a .gz of the diffs at

[...]

 > The JIT does not build by default. The default build is still the ARM 
interpreter.
 >
 > To build the JIT
 >
 > Edit /ports/hotspot/make/linux/makefiles/zeroshark.make and add
 >
 > -DTHUMB2EE

I tested a build based on hs14 on arm-linux-gnueabi, targeting armv7/thumb. the 
build did succeed, and didn't abort yet in the testsuite.


 > On non Thumb2 platforms (ie ARM arch<  V7) the JIT will revert to the 
interpreter. I have
 > tested this on ARM V5, but have been unable to test it on ARM V4 due to lack 
of hardware
 > (I have tested the build with gcc 4.1 so it should build on V4 platforms). If 
anyone has
 > access to V4 hw could the try it and let me know the results.

A build on a thecus (strongarm) succeeds (Debian unstable). Currently in the jdk 
build, passed the vm build. Note that all compilers shipped by Debian default to 
v4 code generation.

 > OK to commit?

I don't see why not. It's not enabled by default, so it should not hurt.

   Matthias




More information about the distro-pkg-dev mailing list