This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need to convert arm_bitreversal2.S to C code

Hi,

I am working on porting FFT functionality from CMSIS DSP library to another architecture.
Unfortunate I faced with problem that arm_bitreversal_32 function is implemented in assembler.
Does any body tried to convert it to C code?

Parents
  • But the question here - is there any part of that little C function that you are not able to understand and write yourself?

    Because if that is so, then you might actually have needed to spend the time fighting this problem until you learned how to do. Why take a taxi the whole life just to avoid the time to take a drivers license?

    In the end, the only way to learn is to do things that are are hard - you don't build muscles by lifting balloons filled with helium. The brain needs challenges - and it is still a quite reasonable challenge to figure out how to write a loop that iterates through an array of data and through table-lookup bit-reverses data. But it will forever stay a challenge without own work.

Reply
  • But the question here - is there any part of that little C function that you are not able to understand and write yourself?

    Because if that is so, then you might actually have needed to spend the time fighting this problem until you learned how to do. Why take a taxi the whole life just to avoid the time to take a drivers license?

    In the end, the only way to learn is to do things that are are hard - you don't build muscles by lifting balloons filled with helium. The brain needs challenges - and it is still a quite reasonable challenge to figure out how to write a loop that iterates through an array of data and through table-lookup bit-reverses data. But it will forever stay a challenge without own work.

Children
No data