Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
hi all,
i've a query regarding loop counters. in my code i've nested functions
and each one them is having a loop.for outer function i'm using BRC0 for loop operaitons. for
inner functions i'm using BRC1.
The strange thing i found is, when the control is entering the inner function , it is again
using BRC0 instead of BRC1.i couldn't inline the inner function as itis a very big one. if it
is an inlined one, it would have definitely used BRC1.
i've even tried by pushing and popping BRC0, which didn't work.
can anybody give me the reason and solution.
thanks in advance.
sravanthi.
hi, Please check the status of the bit C54CM in the CPU control register. If this is set to 1, C55x will not use the level1 loop counter registers like BRC1 and RSA1. regards, Dileepan. --- sravanthi_123@srav... wrote: > > hi all, > i've a query regarding loop counters. in my code > i've nested functions > and each one them is having a loop.for outer > function i'm using BRC0 for loop operaitons. for > inner functions i'm using BRC1. > The strange thing i found is, when the control is > entering the inner function , it is again using BRC0 > instead of BRC1.i couldn't inline the inner function > as itis a very big one. if it is an inlined one, it > would have definitely used BRC1. > i've even tried by pushing and popping BRC0, which > didn't work. > can anybody give me the reason and solution. > thanks in advance. > sravanthi. > > > > __________________________________________________ ">http://mail.yahoo.com