OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 |
11 | 11 |
12 #include "vpx_config.h" | 12 #include "vpx_config.h" |
13 #include "vpx_rtcd.h" | 13 #include "vp8_rtcd.h" |
14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
15 | 15 |
16 #if HAVE_DSPR2 | 16 #if HAVE_DSPR2 |
17 inline void prefetch_load_int(unsigned char *src) | 17 inline void prefetch_load_int(unsigned char *src) |
18 { | 18 { |
19 __asm__ __volatile__ ( | 19 __asm__ __volatile__ ( |
20 "pref 0, 0(%[src]) \n\t" | 20 "pref 0, 0(%[src]) \n\t" |
21 : | 21 : |
22 : [src] "r" (src) | 22 : [src] "r" (src) |
23 ); | 23 ); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 : [a0] "=&r" (a0), [a1] "=&r" (a1) | 112 : [a0] "=&r" (a0), [a1] "=&r" (a1) |
113 : [src] "r" (src), [dst] "r" (dst) | 113 : [src] "r" (src), [dst] "r" (dst) |
114 ); | 114 ); |
115 | 115 |
116 src += src_stride; | 116 src += src_stride; |
117 dst += dst_stride; | 117 dst += dst_stride; |
118 } | 118 } |
119 } | 119 } |
120 | 120 |
121 #endif | 121 #endif |
OLD | NEW |