Implementing methods on the DSP via c6runlib

Hi there,

I implemented polynomial arithmetics on the BeagleBoard which works fine. Now I want to implement some of my code on the DSP to improve my overall performance.
But when I switch to the DSP some of my calculations go terribly wrong. For example a polynomial isn’t invertible anymore. Or even worse, the polynomial is invertible but only if I try to invert it multiple times.

In my example code I want to add two polynomials. p1 has more coefficients than p2 or they have both the same size.
Sometimes the result is correct, and sometimes I get equations like this:
P[60] 1 0 1 1 1 1 0 0 0 1 1 1 1 0 0 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0