sparc64 fmulq emulation glitch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

during some testing I accidently found fmulq that I think is emulated by
the kernel for this CPU type:

cpu             : TI UltraSparc II  (BlackBird)
fpu             : UltraSparc II integrated FPU

to not yield the corrent results for powers of two in the range [-8,+8] . For
example this tiny example:

int main ()
{
        long double a = 2;
        long double b = 1.0;
        a *= b;
        printf ("%Lf\n", a);
}

built with: gcc -m64 -mhard-quad-float

yields: 4

I tried to get thru the kernel code but have not yet garsped
all the macro magic ... Maybe someone has an idea?

(Kernel is 2.6.17-rc6)

Yours,

-- 
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
            http://exactcode.de | http://t2-project.org | http://rebe.name
            +49 (0)30 / 255 897 45
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux