COMPARE_AND_EXCHANGE for linux-powerpc

Carlos Valiente carlos at difernet.com
Tue Feb 20 11:24:53 PST 2001


Hi,

I'm trying to compile the CVS version of kaffe under linuxppc. The macro 
COMPARE_AND_EXCHANGE is not defined inf config/powerpc/common.h and the 
compilation process cannot compile kaffe/kaffevm/locks.c

I've copied and pasted the C version of COMPARE_AND_EXCHANGE from 
config/mips/common.h 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
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


More information about the kaffe mailing list