infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1
26
#pragma once
27
#include "
common/compat_c23.h
"
28
#include "
common/infix_config.h
"
29
#include <stdbool.h>
30
#if defined(INFIX_ARCH_X64)
32
c23_nodiscard
bool
infix_cpu_has_avx2(
void
);
34
c23_nodiscard
bool
infix_cpu_has_avx512f(
void
);
35
#endif
36
#if defined(INFIX_ARCH_AARCH64)
38
c23_nodiscard
bool
infix_cpu_has_sve(
void
);
39
#endif
compat_c23.h
Provides forward compatibility macros for C23 features.
c23_nodiscard
#define c23_nodiscard
A compatibility macro for the C23 [[nodiscard]] attribute.
Definition
compat_c23.h:106
infix_config.h
Platform, architecture, and ABI detection macros.
src
common
platform.h
Generated by
1.9.8