Chromium Code Reviews| Index: third_party/zlib/simd_stub.c |
| diff --git a/third_party/zlib/simd_stub.c b/third_party/zlib/simd_stub.c |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..132c74f2c4f4737f5e5bcc0f837f990708470355 |
| --- /dev/null |
| +++ b/third_party/zlib/simd_stub.c |
| @@ -0,0 +1,38 @@ |
| +/* simd_stub.c -- stub implementations |
| +* Copyright (C) 2014 Intel Corporation |
| +* For conditions of distribution and use, see copyright notice in zlib.h |
| +*/ |
| + |
| +#include "x86.h" |
| +#include <assert.h> |
| + |
| +int x86_cpu_enable_simd; |
| + |
| +void ZLIB_INTERNAL crc_fold_init(deflate_state *const s) { |
| + assert(0); |
|
agl
2014/10/17 00:45:34
other files have had 4 space indent.
robert.bradford
2014/10/20 16:45:54
Done.
|
| +} |
| + |
| +void ZLIB_INTERNAL crc_fold_copy(deflate_state *const s, |
| + unsigned char *dst, const unsigned char *src, long len) { |
|
agl
2014/10/17 00:45:34
indentation.
robert.bradford
2014/10/20 16:45:54
Done.
|
| + assert(0); |
| +} |
| + |
| +unsigned ZLIB_INTERNAL crc_fold_512to32(deflate_state *const s) { |
| + assert(0); |
| + return 0; |
| +} |
| + |
| +Pos ZLIB_INTERNAL insert_string_sse(deflate_state *const s, const Pos str) |
| +{ |
| + assert(0); |
| + return 0; |
| +} |
| + |
| +void ZLIB_INTERNAL fill_window_sse(deflate_state *s) |
| +{ |
| + assert(0); |
| +} |
| + |
| +void x86_check_features(void) |
| +{ |
| +} |