Re: [Sablevm-developer] Porting sablevm to powerpc
Brought to you by:
egagnon
From: Grzegorz P. <ga...@de...> - 2002-08-20 00:21:10
|
W li=B6cie z nie, 18-08-2002, godz. 02:02, Mark Wielaard pisze:=20 > OK, after spending a couple of hours learning powerpc assembly and the > gcc asm constraints I think that I have something that might be what is > needed for powerpc. Unfortunately it doesn't work correctly yet, but > looking at the output of --verbose I get the impression that we are > almost there. Here are the last 15 lines for sablevm --verbose Hello: It looks like PowerPC is the first big-endian system SableVM is being compiled on. We can suspect that it is causing some problems. Don't know exactly how's that about PowerPC accepting both big and low-endian data[1] in Linux. I checked data sizes for types used in jni_system_specific.h - they _are_ the same as for ia32 and alpha, so no mistake there. page size _is_ 4 kb according to [2]. about your assembler code - if you're not sure if it works: 1) ask at some devel/port list, for ex. debian-powerpc@l.d.o. 2) you could also _for testing only_ disable assembler stuff and put "C" version there. If it sometimes goes beyond the point it is now - then it's sth. wrong with this assembler part. Keep in mind that if you do that - SableVM will probably randomly break in different places or sth. I have requested installation of build-depends of SableVM on PowerPC(unstable), ia64(woody) and hppa(woody) debian developer's machines. PowerPC - because you started it and I'd like to test it too. ia64 - because it's crucial to get _this_ arch working - we all will be using it (at some point in the future) hppa - because it's already using gcc 3.x - and there can be some interesting differences to work out (may be), however I don't expect too much of them. Anyway - transition to gcc 3.2 for all debian arches will start soon. I'll send a status report as soon as I have sth interesting ;-) That's really great you started the PowerPC port. Keep up with it! Regards Grzegorz B. Prokopski [1] http://developer.apple.com/techpubs/hardware/DeviceManagers/pci_srvcs/pci_c= ards_drivers/PCI_BOOK.24e.html [2] http://www.cwi.nl/~manegold/Calibrator/DB/DB.shtml |