VU0 Inline assembly - 2
How can I handle this syntax in new gcc?
float Math::sqrt(float x) { float r; __asm__ volatile( "sqrt.s %0, %1 \n\t" : "=&f"(r) : "f"(x)); return r; }
(it returns 0)
Thanks!
Edited by h4570
How can I handle this syntax in new gcc?
float Math::sqrt(float x) { float r; __asm__ volatile( "sqrt.s %0, %1 \n\t" : "=&f"(r) : "f"(x)); return r; }
(it returns 0)
Thanks!