mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
dispatcher: return correct function type from ifunc resolver
This commit is contained in:
parent
aea440a300
commit
356c0ab3d4
@ -51,7 +51,7 @@
|
|||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
/* resolver */ \
|
/* resolver */ \
|
||||||
static void(*JOIN(resolve_, NAME)(void)) { \
|
static RTYPE (*JOIN(resolve_, NAME)(void))(__VA_ARGS__) { \
|
||||||
if (check_avx512()) { \
|
if (check_avx512()) { \
|
||||||
return JOIN(avx512_, NAME); \
|
return JOIN(avx512_, NAME); \
|
||||||
} \
|
} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user