comparison bfin/fdct_bfin.S @ 11063:8327c5b4df9b libavcodec

Blackfin: use SRAM only when CONFIG_SRAM is set
author mru
date Sun, 31 Jan 2010 00:20:30 +0000
parents 78aa57eba353
children
comparison
equal deleted inserted replaced
11062:a8e640f4f388 11063:8327c5b4df9b
125 DCT BFINfdct: 92.1 kdct/s 125 DCT BFINfdct: 92.1 kdct/s
126 root:/u/ffmpeg/bhead/libavcodec> 126 root:/u/ffmpeg/bhead/libavcodec>
127 127
128 */ 128 */
129 129
130 #include "config.h"
130 #include "config_bfin.h" 131 #include "config_bfin.h"
131 132
132 #ifdef __FDPIC__ 133 #if defined(__FDPIC__) && CONFIG_SRAM
133 .section .l1.data.B,"aw",@progbits 134 .section .l1.data.B,"aw",@progbits
134 #else 135 #else
135 .data 136 .data
136 #endif 137 #endif
137 .align 4; 138 .align 4;
138 dct_coeff: 139 dct_coeff:
139 .short 0x5a82, 0x2d41, 0x187e, 0x3b21, 0x0c7c, 0x3ec5, 0x238e, 0x3537; 140 .short 0x5a82, 0x2d41, 0x187e, 0x3b21, 0x0c7c, 0x3ec5, 0x238e, 0x3537;
140 141
141 #ifdef __FDPIC__ 142 #if defined(__FDPIC__) && CONFIG_SRAM
142 .section .l1.data.A,"aw",@progbits 143 .section .l1.data.A,"aw",@progbits
143 #endif 144 #endif
144 .align 4 145 .align 4
145 vtmp: .space 128 146 vtmp: .space 128
146 147