Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: third_party/zlib/x86.h

Issue 552123005: Integrate SIMD optimisations for zlib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn build (uses different cflags -Wunused-variable) Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /* 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.
2 * Copyright (C) 2013 Intel Corporation Jim Kukunas
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5
6 #ifndef CPU_H
7 #define CPU_H
8
9 #include "deflate.h"
10 #include "zutil.h"
11
12 extern int x86_cpu_enable_simd;
13
14 void x86_check_features(void);
15
16 void ZLIB_INTERNAL crc_fold_init(deflate_state *const s);
17 void ZLIB_INTERNAL crc_fold_copy(deflate_state *const s,
18 unsigned char *dst, const unsigned char *src, long len);
19 unsigned ZLIB_INTERNAL crc_fold_512to32(deflate_state *const s);
20
21 Pos ZLIB_INTERNAL insert_string_sse(deflate_state *const s, const Pos str);
22 void ZLIB_INTERNAL fill_window_sse(deflate_state *s);
23 #endif
agl 2014/09/26 18:32:27 blank line before #endif.
robert.bradford 2014/10/15 16:14:40 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698