-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
The underlying problem in #296 is that there are bugs in the contributed assembler stubs for the Math exp, pow, sin, cos, tan and log methods. Since the contributor is no longer available to fix the problems and no one on the current team has sufficient knowledge of the assembler, we've disabled these stubs by default (0227108).
The plan is to port the HotSpot stubs added in JDK 9 (see the macroAssembler_x86_*.cpp files at http://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/tip/src/cpu/x86/vm) to Java. While this involves more work than simply using the HotSpot stubs for Graal, it has the benefit that SVM will also be able to use these stubs. We have to ensure that the translation to Java stays in sync with the HotSpot stubs to ensure monoticity (i.e. the interpreter, C1, C2 and Graal always produce the same results).