using Graal for a dual-ISA prototype
Venkatachalam, Vasanth
Vasanth.Venkatachalam at amd.com
Mon Feb 11 15:30:27 PST 2013
Hi,
We're thinking of leveraging the Graal OpenJDK project to develop a prototype dual-ISA code generation framework for Sumatra.
http://openjdk.java.net/projects/graal/
Our main idea is that the Hotspot Server JVM will compile the routines that are meant to execute on the CPU, while Graal will intercept and generate GPU-specific code for the few routines that need to execute on the GPU. We thought this approach would lead to a faster prototype and allow us to retain most of Hotspot's existing functionality, as opposed to the riskier approach of writing an entire C2 backend from scratch.
We have built Graal and run a few test cases using SPECjbb2005. All the runs completed successfully.
We are digging deeper into Graal to understand what hooks we need to modify so that Graal intercepts the compilation of routines that need to execute on the GPU.
We'll keep you informed and ask questions as this work progresses. If anyone has feedback, let us know.
Vasanth
More information about the sumatra-dev
mailing list