@@ -96,55 +96,55 @@ public static int __bool_true_false_are_defined() {
9696 return __bool_true_false_are_defined ;
9797 }
9898
99- private static class check_compatibility {
99+ private static class check_avx512_compatibility {
100100 public static final FunctionDescriptor DESC = FunctionDescriptor .of (
101101 NativeSimdOps .C_BOOL );
102102
103- public static final MemorySegment ADDR = NativeSimdOps .findOrThrow ("check_compatibility " );
103+ public static final MemorySegment ADDR = NativeSimdOps .findOrThrow ("check_avx512_compatibility " );
104104
105105 public static final MethodHandle HANDLE = Linker .nativeLinker ().downcallHandle (ADDR , DESC , Linker .Option .critical (true ));
106106 }
107107
108108 /**
109109 * Function descriptor for:
110110 * {@snippet lang=c :
111- * _Bool check_compatibility ()
111+ * _Bool check_avx512_compatibility ()
112112 * }
113113 */
114- public static FunctionDescriptor check_compatibility $descriptor () {
115- return check_compatibility .DESC ;
114+ public static FunctionDescriptor check_avx512_compatibility $descriptor () {
115+ return check_avx512_compatibility .DESC ;
116116 }
117117
118118 /**
119119 * Downcall method handle for:
120120 * {@snippet lang=c :
121- * _Bool check_compatibility ()
121+ * _Bool check_avx512_compatibility ()
122122 * }
123123 */
124- public static MethodHandle check_compatibility $handle () {
125- return check_compatibility .HANDLE ;
124+ public static MethodHandle check_avx512_compatibility $handle () {
125+ return check_avx512_compatibility .HANDLE ;
126126 }
127127
128128 /**
129129 * Address for:
130130 * {@snippet lang=c :
131- * _Bool check_compatibility ()
131+ * _Bool check_avx512_compatibility ()
132132 * }
133133 */
134- public static MemorySegment check_compatibility $address () {
135- return check_compatibility .ADDR ;
134+ public static MemorySegment check_avx512_compatibility $address () {
135+ return check_avx512_compatibility .ADDR ;
136136 }
137137
138138 /**
139139 * {@snippet lang=c :
140- * _Bool check_compatibility ()
140+ * _Bool check_avx512_compatibility ()
141141 * }
142142 */
143- public static boolean check_compatibility () {
144- var mh$ = check_compatibility .HANDLE ;
143+ public static boolean check_avx512_compatibility () {
144+ var mh$ = check_avx512_compatibility .HANDLE ;
145145 try {
146146 if (TRACE_DOWNCALLS ) {
147- traceDowncall ("check_compatibility " );
147+ traceDowncall ("check_avx512_compatibility " );
148148 }
149149 return (boolean )mh$ .invokeExact ();
150150 } catch (Throwable ex$ ) {
0 commit comments