comparison bfin/vp3_idct_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
26 26
27 Registers Used : A0, A1, R0-R7, I0-I3, B0, B2, B3, M0-M2, L0-L3, P0-P5, LC0. 27 Registers Used : A0, A1, R0-R7, I0-I3, B0, B2, B3, M0-M2, L0-L3, P0-P5, LC0.
28 28
29 */ 29 */
30 30
31 #include "config.h"
31 #include "config_bfin.h" 32 #include "config_bfin.h"
32 33
33 #ifdef __FDPIC__ 34 #if defined(__FDPIC__) && CONFIG_SRAM
34 .section .l1.data.B,"aw",@progbits 35 .section .l1.data.B,"aw",@progbits
35 #else 36 #else
36 .data 37 .data
37 #endif 38 #endif
38 39
47 .short 0x471D; //cos(5pi/16) 48 .short 0x471D; //cos(5pi/16)
48 .short 0x6A6E; //cos(3pi/16) 49 .short 0x6A6E; //cos(3pi/16)
49 .short 0x18F9; //cos(7pi/16) 50 .short 0x18F9; //cos(7pi/16)
50 .short 0x7D8A; //cos(pi/16) 51 .short 0x7D8A; //cos(pi/16)
51 52
52 #ifdef __FDPIC__ 53 #if defined(__FDPIC__) && CONFIG_SRAM
53 .section .l1.data.A 54 .section .l1.data.A
54 #endif 55 #endif
55 56
56 vtmp: .space 256 57 vtmp: .space 256
57 58