The following list of BMI tests fail when running in Graal JIT mode on macos:
compiler/intrinsics/bmi/verifycode/AndnTestI.java
compiler/intrinsics/bmi/verifycode/AndnTestL.java
compiler/intrinsics/bmi/verifycode/BlsiTestI.java
compiler/intrinsics/bmi/verifycode/BlsiTestL.java
compiler/intrinsics/bmi/verifycode/BlsmskTestI.java
compiler/intrinsics/bmi/verifycode/BlsmskTestL.java
compiler/intrinsics/bmi/verifycode/BlsrTestI.java
compiler/intrinsics/bmi/verifycode/BlsrTestL.java
Example of compiler/intrinsics/bmi/verifycode/AndnTestI.java failure:
TEST CASE:public int compiler.intrinsics.bmi.TestAndnI$AndnIExpr.intExpr(compiler.intrinsics.bmi.Expr$MemI,compiler.intrinsics.bmi.Expr$MemI)
public int compiler.intrinsics.bmi.TestAndnI$AndnIExpr.intExpr(compiler.intrinsics.bmi.Expr$MemI,compiler.intrinsics.bmi.Expr$MemI)
----------System.err:(17/2843)----------
java.lang.AssertionError: public int compiler.intrinsics.bmi.TestAndnI$AndnIExpr.intExpr(compiler.intrinsics.bmi.Expr$MemI,compiler.intrinsics.bmi.Expr$MemI)CPU instructions expected not found: 44 8B 56 08 49 C1 E2 03 49 3B C2 0F 85 CF 38 C1 F5 90 0F 1F 80 00 00 00 00 0F 1F 80 00 00 00 00 0F 1F 44 00 00 48 85 D2 0F 84 26 00 00 00 48 85 C9 0F 84 2F 00 00 00 8B 41 0C 44 8B 52 0C 41 F7 D2 44 23 D0 41 8B C2 49 8B 8F 80 00 00 00 85 01 C5 F8 77 C3 B8 00 00 00 00 49 8B 8F 80 00 00 00 85 01 C5 F8 77 C3 B8 00 00 00 00 49 8B 8F 80 00 00 00 85 01 C5 F8 77 C3 E8 E3 E4 DC F5 90 E8 9D 45 C1 F5 90
at compiler.intrinsics.bmi.verifycode.BmiIntrinsicBase.checkEmittedCode(BmiIntrinsicBase.java:109)
at compiler.intrinsics.bmi.verifycode.BmiIntrinsicBase.compileAtLevelAndCheck(BmiIntrinsicBase.java:93)
at compiler.intrinsics.bmi.verifycode.BmiIntrinsicBase.test(BmiIntrinsicBase.java:86)
at compiler.intrinsics.bmi.verifycode.BmiIntrinsicBase.verifyTestCase(BmiIntrinsicBase.java:48)
at compiler.intrinsics.bmi.verifycode.AndnTestI.main(AndnTestI.java:64)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)