| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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 | 
| OLD | NEW | 
|---|