Chromium Code Reviews| Index: third_party/zlib/x86.h |
| diff --git a/third_party/zlib/x86.h b/third_party/zlib/x86.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fb15d4c72010755ec1f597580c3dc749d63afaa0 |
| --- /dev/null |
| +++ b/third_party/zlib/x86.h |
| @@ -0,0 +1,23 @@ |
| + /* cpu.h -- check for CPU features |
|
agl
2014/09/26 18:32:27
extra space at beginning of file.
robert.bradford
2014/10/15 16:14:40
Done.
|
| + * Copyright (C) 2013 Intel Corporation Jim Kukunas |
| + * For conditions of distribution and use, see copyright notice in zlib.h |
| + */ |
| + |
| +#ifndef CPU_H |
| +#define CPU_H |
| + |
| +#include "deflate.h" |
| +#include "zutil.h" |
| + |
| +extern int x86_cpu_enable_simd; |
| + |
| +void x86_check_features(void); |
| + |
| +void ZLIB_INTERNAL crc_fold_init(deflate_state *const s); |
| +void ZLIB_INTERNAL crc_fold_copy(deflate_state *const s, |
| + unsigned char *dst, const unsigned char *src, long len); |
| +unsigned ZLIB_INTERNAL crc_fold_512to32(deflate_state *const s); |
| + |
| +Pos ZLIB_INTERNAL insert_string_sse(deflate_state *const s, const Pos str); |
| +void ZLIB_INTERNAL fill_window_sse(deflate_state *s); |
| +#endif |
|
agl
2014/09/26 18:32:27
blank line before #endif.
robert.bradford
2014/10/15 16:14:40
Done.
|