Little change in C code, remove isa specific code in std header

This commit is contained in:
Youmu Liu
2026-05-28 18:44:53 +08:00
parent 15f90aed29
commit ddb59c38ce
6 changed files with 34 additions and 35 deletions
+2 -4
View File
@@ -1,8 +1,7 @@
#ifndef SN_INTRINSIC_CallCONV_STD
#define SN_INTRINSIC_CallCONV_STD
#ifndef SN_INTRINSIC_CALLCONV_STD
#define SN_INTRINSIC_CALLCONV_STD
#include "sn_internal.h"
#include "sn_target.h"
#include "sn_intrinsic.h"
#ifndef static_assert
@@ -10,7 +9,6 @@
#endif
#define SN_STD_TARGET_ATTR(T_arch, T_feature) SN_STD_TARGET_ATTR_IMPL(T_arch, T_feature)
#define SN_STD_TARGET_ATTR_IMPL(T_arch, T_feature) SN_X86_TARGET_ATTR_##T_arch##T_feature
#define MK_PROC_NAME_STD(T_type, T_arch, T_feature, T_op) \
T_type##_multi_kernel_proc_##T_op##_##T_arch##_##T_feature