COMPARE_AND_EXCHANGE for linux-powerpc
Edouard G. Parmelan
egp at free.fr
Sun Feb 25 22:36:41 PST 2001
Carlos Valiente wrote:
> and everything seems to work OK. All the regression
> tests run ok, except a float test in TestNative:
>
> Following test results should be 133.39999
> a = -1.20
> b = 0.20
> c = 3.30
> d = 4.50
> e = 5.60
> f = 6.00
> g = 7.00
> h = 8.00
Passing 8 first floats (in register) works.
> i = 2.53
> j = 0.00
> k = 2.56
> l = 0.00
> m = 2.59
> n = 0.00
> o = 2.62
> p = 0.00
> test16float returned 43.712502...FAILURE
But stack passed float don't.
Is test16double in TestNative pass or also fail ?
You can compile libraries/clib/native/TestNative.c with -S to see where
float parameters i to p must be and look into
config/powerpc/callmethod_ppc.h to see what's wrong with stack
parameters.
--
Edouard G. Parmelan
http://egp.free.fr
More information about the kaffe
mailing list