loading powerpc f2 register from gcc

loading powerpc f2 register from gcc

Post by Hubbl » Tue, 10 Jan 2006 18:30:01

Hi all,

there seems to be a bug in the vDSP library -

http://www.yqcomputer.com/ @XXXXX.COM /2739451.html

Using the new Xcode2.2, the bug in vDSP_dotpr reveals also in my code,
it returs NaN when using vectorized code, as my program does. As a
temporary fix, I shall load a value other than NaN into f2, as the
above posting says.

asm("fsubs f2,f2,f2");

does not do the required thing, since it leaves NaN in f2. Does
somebody have a hint which asm construct to use to initialize f2 ith a
constant number, e.g. 0.0, from gcc.