Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
When I run this code on x86 or arm, the output is what I intended, but the result was different on dsp.
The problem with dsp is that the address of the memory does not occasionally increase, and something seems to align the address.
The dsp, arm, x86 program has an optimization option of -O3.
test source is
main() int *src = (int*)srcbuf; for(i=0; i < 256/4 ; i++) *dest = *src; free(srcbuf); |
x86 or arm result
[03020100][03020100][00021110][00021008] |
dsp result
[03020100][03020100][95a1c318][95a1c210] ... |
I want to know why the output differs from the dsp only.