Re: [Sablevm-developer] IA64 saga continues...
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2003-02-18 23:57:33
|
W li=B6cie z wto, 18-02-2003, godz. 17:20, Grzegorz B. Prokopski pisze:=20 > Hi! >=20 > I am trying to get SableVM working on UP IA64 machine with inlined > threading engine. Here's what I have now. An update. I am almost sure that the code for cache flusing I am using for IA64 is right. I looked at=20 http://www.atomised.org/docs/XFree86-4.2.1/compiler_8h-source.html and copied this: __asm__ __volatile__ ("fc %0;;; sync.i;;; mf;;; srlz.i;;;" :: "r"(pword) : "memory"); I don't think that the reason of segfaulting w/ inlined-threading on IA64 is cache coherency problem. I'd rather look for it somewhere else. SableVM crashes in instructions_preparation_inlined_threaded.c, but gdb doesn't recognize this file because it's included in interpreter.c. hmm... strange, but I get this: (gdb) break interpreter.c:419 No source file named interpreter.c. ? how to debug that beast ? Anyway - in the meantime I fixed small bug that was causing sablevm to fail to build on alpha and... added alpha cache flusing __asm__ __volatile__ ("mb; call_pal %0 #imb" :: "i"(134) : "memory"); so that inlined engine could work. I am very curious if it will actually make SableVM work fully on alpha. Unfortunatelly I don't have such great access (w/ root) to an alpha machine as I have to IA64 (thanks to Bdale) so it's a bit hard to tell now. It was uploaded and should build at least ;-) Tomorrow's gonna be a day too. (self->sleep) Grzegorz B. Prokopski --=20 Grzegorz B. Prokopski <ga...@de...> Debian http://www.debian.org/ |