Re: [kaffe] mipsel and jit3

2004-10-20 Thread Dalibor Topic
Mikolaj Habryn wrote: On Tue, 2004-10-12 at 14:10, Dalibor Topic wrote: Sounds like a good guess. Could you reconfigure and try again using libffi? Didn't change the situation, alas. I'm faintly suspicious of libffi; I had thought that it didn't support MIPS (and the MIPS habit of changing the

Re: [kaffe] mipsel and jit3

2004-10-20 Thread Dalibor Topic
Timothy Stack wrote: On Oct 11, 2004, at 6:47 PM, Dalibor Topic wrote: Mikolaj Habryn wrote: So, trying to run them, deducing environment setup etc. from scripts. internal/jitBasic appears to work, but doesn't actually seem to do anything. stracing it on x86 also doesn't appear to do anything

Re: [kaffe] mipsel and jit3

2004-10-20 Thread Casey Marshall
Dalibor == Dalibor Topic [EMAIL PROTECTED] writes: Dalibor Mikolaj Habryn wrote: On Tue, 2004-10-12 at 14:10, Dalibor Topic wrote: Sounds like a good guess. Could you reconfigure and try again using libffi? Didn't change the situation, alas. I'm faintly suspicious of libffi; I had thought

Re: [kaffe] mipsel and jit3

2004-10-20 Thread Dalibor Topic
Casey Marshall wrote: Dalibor == Dalibor Topic [EMAIL PROTECTED] writes: Dalibor Mikolaj Habryn wrote: On Tue, 2004-10-12 at 14:10, Dalibor Topic wrote: Sounds like a good guess. Could you reconfigure and try again using libffi? Didn't change the situation, alas. I'm faintly suspicious of

Re: [kaffe] mipsel and jit3

2004-10-15 Thread Mikolaj Habryn
On Thu, 2004-10-14 at 23:16, Stuart Ballard wrote: I'm far from a C expert, but could the count parameter be removed and replaced with sizeof(var) to simplify things a little? You're absolutely right, but typeof(var) is being derived from count in the first place, and it makes me a little

Re: [kaffe] mipsel and jit3

2004-10-14 Thread Mikolaj Habryn
On Tue, 2004-10-12 at 10:47, Dalibor Topic wrote: Are you in Sydney, by chance? Indeed so! The city that never sleeps, and occasionally forgets to bathe. Very nice trick, I like it. Makes me wonder how that would work with endianness issues. Not at all, I'm afraid. Here's an alternative

Re: [kaffe] mipsel and jit3

2004-10-14 Thread Stuart Ballard
Mikolaj Habryn wrote: #if defined(KAFFE_VMDEBUG) +#define _mjh_OUT(v, var, count) do { \ +var _dummy = (v);\ +DBGEXPR(JIT,(void)printCodeLabels(),0); \ +memcpy(codeblock + CODEPC, _dummy, count); \ +CODEPC += count; \

Re: [kaffe] mipsel and jit3

2004-10-13 Thread Mikolaj Habryn
On Tue, 2004-10-12 at 14:10, Dalibor Topic wrote: Sounds like a good guess. Could you reconfigure and try again using libffi? Didn't change the situation, alas. I'm faintly suspicious of libffi; I had thought that it didn't support MIPS (and the MIPS habit of changing the calling convention for

Re: [kaffe] mipsel and jit3

2004-10-12 Thread Timothy Stack
On Oct 11, 2004, at 6:47 PM, Dalibor Topic wrote: Mikolaj Habryn wrote: So, trying to run them, deducing environment setup etc. from scripts. internal/jitBasic appears to work, but doesn't actually seem to do anything. stracing it on x86 also doesn't appear to do anything (anything with the list

Re: [kaffe] mipsel and jit3

2004-10-11 Thread Dalibor Topic
Mikolaj Habryn wrote: On Fri, 2004-10-08 at 11:38, Dalibor Topic wrote: Mikolaj Habryn wrote: i went to bed before you popped in on irc last night :( Living in Australia does make one timezone disadvantaged! Yeah :) Otoh, it means you can have a great new year's eve, and still phone your friends

Re: [kaffe] mipsel and jit3

2004-10-11 Thread Dalibor Topic
Mikolaj Habryn wrote: On Sat, 2004-10-09 at 12:54, Mikolaj Habryn wrote: And, and... how exactly did that method get JITted in 0 ms? Something very, very fishy here. Well, it's a null method, that's how. I'm about puzzled out for one day. Turning on various bits of debug and sprinkling in some

Re: [kaffe] mipsel and jit3

2004-10-09 Thread Mikolaj Habryn
On Fri, 2004-10-08 at 11:38, Dalibor Topic wrote: Mikolaj Habryn wrote: i went to bed before you popped in on irc last night :( Living in Australia does make one timezone disadvantaged! It would take a bit of excerising the jit regression tests and debugging by a motivated hacker to fix it.

Re: [kaffe] mipsel and jit3

2004-10-09 Thread Mikolaj Habryn
On Sat, 2004-10-09 at 12:01, Mikolaj Habryn wrote: Hmm. Having noticed KAFFE_VMDEBUG, I'll go play with that for a while. Poking at this a little more, and with a working gdb no less, one observes: JIT: java/lang/String.clinit()V time 41ms (41ms) @ 0x10093c08 (0x1006a0b4) JIT:

Re: [kaffe] mipsel and jit3

2004-10-09 Thread Mikolaj Habryn
On Sat, 2004-10-09 at 12:54, Mikolaj Habryn wrote: And, and... how exactly did that method get JITted in 0 ms? Something very, very fishy here. Well, it's a null method, that's how. I'm about puzzled out for one day. Turning on various bits of debug and sprinkling in some dprintfs yields this

[kaffe] mipsel and jit3

2004-10-07 Thread Mikolaj Habryn
I'm trying to run a jit3'd kaffe (CVS HEAD) on a mipsel/uClibc box. It isn't much of a box; it's actually a Linksys wireless router with a Broadcom embedded MIPS core, but I figured it was worth a try. MIPS is MIPS, right? Right? :) Unfortunately, it bombs out more or less instantly, apparently

Re: [kaffe] mipsel and jit3

2004-10-07 Thread Dalibor Topic
Mikolaj Habryn wrote: Hi Mikolaj, i went to bed before you popped in on irc last night :( I'm trying to run a jit3'd kaffe (CVS HEAD) on a mipsel/uClibc box. It isn't much of a box; it's actually a Linksys wireless router with a Broadcom embedded MIPS core, but I figured it was worth a try. MIPS