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

Side by Side Diff: third_party/zlib/simd_stub.c

Issue 705053002: Enable zlib SIMD optimisations on Mac OS X builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep disabled on ios; initialise symbols so we're in the BSS Created 6 years, 1 month 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
« no previous file with comments | « no previous file | third_party/zlib/x86.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « no previous file | third_party/zlib/x86.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698