mirror of
https://github.com/opencv/opencv.git
synced 2024-12-16 18:39:12 +08:00
21 lines
519 B
C
21 lines
519 B
C
|
/* s390_functions.h -- s390 implementations for arch-specific functions.
|
||
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||
|
*/
|
||
|
|
||
|
#ifndef S390_FUNCTIONS_H_
|
||
|
#define S390_FUNCTIONS_H_
|
||
|
|
||
|
#ifdef S390_CRC32_VX
|
||
|
uint32_t crc32_s390_vx(uint32_t crc, const uint8_t *buf, size_t len);
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#ifdef DISABLE_RUNTIME_CPU_DETECTION
|
||
|
# if defined(S390_CRC32_VX) && defined(__zarch__) && __ARCH__ >= 11 && defined(__VX__)
|
||
|
# undef native_crc32
|
||
|
# define native_crc32 = crc32_s390_vx
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
#endif
|