OLD | NEW |
1 /* simd_stub.c -- stub implementations | 1 /* simd_stub.c -- stub implementations |
2 * Copyright (C) 2014 Intel Corporation | 2 * Copyright (C) 2014 Intel Corporation |
3 * For conditions of distribution and use, see copyright notice in zlib.h | 3 * For conditions of distribution and use, see copyright notice in zlib.h |
4 */ | 4 */ |
5 #include <assert.h> | 5 #include <assert.h> |
6 | 6 |
7 #include "deflate.h" | 7 #include "deflate.h" |
8 #include "x86.h" | 8 #include "x86.h" |
9 | 9 |
10 int x86_cpu_enable_simd; | 10 int x86_cpu_enable_simd = 0; |
11 | 11 |
12 void ZLIB_INTERNAL crc_fold_init(deflate_state *const s) { | 12 void ZLIB_INTERNAL crc_fold_init(deflate_state *const s) { |
13 assert(0); | 13 assert(0); |
14 } | 14 } |
15 | 15 |
16 void ZLIB_INTERNAL crc_fold_copy(deflate_state *const s, | 16 void ZLIB_INTERNAL crc_fold_copy(deflate_state *const s, |
17 unsigned char *dst, | 17 unsigned char *dst, |
18 const unsigned char *src, | 18 const unsigned char *src, |
19 long len) { | 19 long len) { |
20 assert(0); | 20 assert(0); |
21 } | 21 } |
22 | 22 |
23 unsigned ZLIB_INTERNAL crc_fold_512to32(deflate_state *const s) { | 23 unsigned ZLIB_INTERNAL crc_fold_512to32(deflate_state *const s) { |
24 assert(0); | 24 assert(0); |
25 return 0; | 25 return 0; |
26 } | 26 } |
27 | 27 |
28 void ZLIB_INTERNAL fill_window_sse(deflate_state *s) | 28 void ZLIB_INTERNAL fill_window_sse(deflate_state *s) |
29 { | 29 { |
30 assert(0); | 30 assert(0); |
31 } | 31 } |
32 | 32 |
33 void x86_check_features(void) | 33 void x86_check_features(void) |
34 { | 34 { |
35 } | 35 } |
OLD | NEW |