hotspot/test/compiler/intrinsics/mathexact/sanity/IntrinsicBase.java
changeset 30761 ce08cd63451f
parent 30607 035f5801a92e
child 31962 d05e0a4d1b43
equal deleted inserted replaced
30759:0bd5569bbfe6 30761:ce08cd63451f
   127             super(testCase);
   127             super(testCase);
   128         }
   128         }
   129 
   129 
   130         @Override
   130         @Override
   131         protected boolean isIntrinsicSupported() {
   131         protected boolean isIntrinsicSupported() {
   132             return isServerVM() && Boolean.valueOf(useMathExactIntrinsics) && (Platform.isX86() || Platform.isX64());
   132             return isServerVM() && Boolean.valueOf(useMathExactIntrinsics)
       
   133                 && (Platform.isX86() || Platform.isX64() || Platform.isAArch64());
   133         }
   134         }
   134 
   135 
   135         @Override
   136         @Override
   136         protected String getIntrinsicId() {
   137         protected String getIntrinsicId() {
   137             return "_" + testCase.name().toLowerCase() + "ExactI";
   138             return "_" + testCase.name().toLowerCase() + "ExactI";
   144         }
   145         }
   145 
   146 
   146         @Override
   147         @Override
   147         protected boolean isIntrinsicSupported() {
   148         protected boolean isIntrinsicSupported() {
   148             return isServerVM() && Boolean.valueOf(useMathExactIntrinsics) &&
   149             return isServerVM() && Boolean.valueOf(useMathExactIntrinsics) &&
   149                 (Platform.isX64() || Platform.isPPC());
   150                 (Platform.isX64() || Platform.isPPC() || Platform.isAArch64());
   150         }
   151         }
   151 
   152 
   152         @Override
   153         @Override
   153         protected String getIntrinsicId() {
   154         protected String getIntrinsicId() {
   154             return "_" + testCase.name().toLowerCase() + "ExactL";
   155             return "_" + testCase.name().toLowerCase() + "ExactL";