public class AMD64MathSubstitutions extends Object
Math
methods that leverage AMD64 instructions for
selected input values.Modifier and Type | Field and Description |
---|---|
private static double |
PI_4 |
Constructor and Description |
---|
AMD64MathSubstitutions() |
Modifier and Type | Method and Description |
---|---|
private static double |
callDouble1(ForeignCallDescriptor descriptor,
double value) |
private static double |
callDouble2(ForeignCallDescriptor descriptor,
double a,
double b) |
static double |
cos(double x) |
static double |
pow(double x,
double y)
Special cases from
Math.pow(double, double) and __ieee754_pow (in sharedRuntimeTrans.cpp). |
static double |
sin(double x) |
static double |
tan(double x) |
private static final double PI_4
public AMD64MathSubstitutions()
public static double pow(double x, double y)
Math.pow(double, double)
and __ieee754_pow (in sharedRuntimeTrans.cpp).public static double sin(double x)
public static double cos(double x)
public static double tan(double x)
private static double callDouble1(ForeignCallDescriptor descriptor, double value)
private static double callDouble2(ForeignCallDescriptor descriptor, double a, double b)