Re: [Sablevm-developer] powerpc port status
Brought to you by:
egagnon
From: David P. B. <db...@CS...> - 2002-12-13 19:46:59
|
Hello, There something I don't quite get native.c around line 1240: Original code (does not work on PPC): case SVM_TYPE_BOOLEAN: params[0].jint =3D *((jboolean *) &result[0]); Could it be simply replaced by (works on PPC): params[0].jint =3D result[0].jint; instead? or is the address taken, cast, deference for some reason? I guess it depends on how the data is stored in _svmt_stack_value_union by ffi_call and how the union is layed out in memory? David On Thu, Dec 12, 2002 at 08:14:46PM -0500, Etienne M. Gagnon wrote: > On Thu, Dec 12, 2002 at 08:09:23PM -0500, David Paul BELANGER wrote: > > Hi, > >=20 > > I got HelloWorld to work on sablevm 1.0.5! >=20 > This is really great! So, were there any endianness problem you had to= fix? >=20 > Etienne >=20 > --=20 > Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ > SableVM: http://www.sablevm.org/ > SableCC: http://www.sablecc.org/ --=20 --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |