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

Side by Side Diff: source/libvpx/vpx_ports/x86.h

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vpx_ports/asm_offsets.h ('k') | source/libvpx/vpx_ports/x86_abi_support.asm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 #endif 144 #endif
145 #endif 145 #endif
146 } 146 }
147 147
148 148
149 #if defined(__GNUC__) && __GNUC__ 149 #if defined(__GNUC__) && __GNUC__
150 #define x86_pause_hint()\ 150 #define x86_pause_hint()\
151 __asm__ __volatile__ ("pause \n\t") 151 __asm__ __volatile__ ("pause \n\t")
152 #else 152 #else
153 #if ARCH_X86_64 153 #if ARCH_X86_64
154 /* No pause intrinsic for windows x64 */ 154 #define x86_pause_hint()\
155 #define x86_pause_hint() 155 _mm_pause();
156 #else 156 #else
157 #define x86_pause_hint()\ 157 #define x86_pause_hint()\
158 __asm pause 158 __asm pause
159 #endif 159 #endif
160 #endif 160 #endif
161 161
162 #if defined(__GNUC__) && __GNUC__ 162 #if defined(__GNUC__) && __GNUC__
163 static void 163 static void
164 x87_set_control_word(unsigned short mode) 164 x87_set_control_word(unsigned short mode)
165 { 165 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 { 198 {
199 unsigned short mode = x87_get_control_word(); 199 unsigned short mode = x87_get_control_word();
200 x87_set_control_word((mode&~0x300) | 0x200); 200 x87_set_control_word((mode&~0x300) | 0x200);
201 return mode; 201 return mode;
202 } 202 }
203 203
204 204
205 extern void vpx_reset_mmx_state(void); 205 extern void vpx_reset_mmx_state(void);
206 #endif 206 #endif
207 207
OLDNEW
« no previous file with comments | « source/libvpx/vpx_ports/asm_offsets.h ('k') | source/libvpx/vpx_ports/x86_abi_support.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698