mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
dispatcher: return correct function type from ifunc resolver
This commit is contained in:
committed by
Chang, Harry
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); \
|
||||||
} \
|
} \
|
||||||
|
Reference in New Issue
Block a user