From c451d9cbd23baf7519b53d56605daa6b81982c75 Mon Sep 17 00:00:00 2001 From: x Date: Fri, 20 Dec 2019 19:35:24 +0100 Subject: [PATCH] Transform: Byte+Nibble Transpose/Shuffle header --- transpose.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transpose.h b/transpose.h index 1b7cf9f..b08030b 100644 --- a/transpose.h +++ b/transpose.h @@ -101,13 +101,13 @@ void tp4dec256v8( unsigned char *in, unsigned n, unsigned char *out); //------- CPU instruction set // cpuiset = 0: return current simd set, // cpuiset != 0: set simd set 0:scalar, 20:sse2, 52:avx2 -int cpuini(int cpuiset); +unsigned cpuini(unsigned cpuiset); // convert simd set to string "sse3", "sse3", "sse4.1" or "avx2" // Ex.: printf("current cpu set=%s\n", cpustr(cpuini(0)) ); -char *cpustr(int cpuiset); +char *cpustr(unsigned cpuisa); -int cpuisa(void); +unsigned cpuisa(void); #ifdef __cplusplus } #endif