add simd id

This commit is contained in:
Youmu Liu
2026-01-04 18:13:50 +08:00
parent e1d2a8707d
commit d0fe4dde1a
14 changed files with 622 additions and 117 deletions
+6
View File
@@ -1,3 +1,7 @@
#include "sn_target.h"
#if SN_IS_ARCH(SN_ARCH_X86_64)
#include "sn_intrinsic.h"
INTERNAL int SN_DECL index_pair_sse(short const *str, uint32_t target, int length)
@@ -46,3 +50,5 @@ INTERNAL int SN_DECL index_pair_sse(short const *str, uint32_t target, int lengt
}
return -1;
}
#endif