* Mozilla & the Alpha
@ 1999-04-14 2:51 Dan Morrill
1999-04-14 3:05 ` Daniel J. Frasnelli
1999-04-14 8:11 ` Richard Henderson
0 siblings, 2 replies; 9+ messages in thread
From: Dan Morrill @ 1999-04-14 2:51 UTC (permalink / raw)
To: axp-list
The folks over at Mozilla have introduced an asm dependency into the most recent
milestone for mozilla. This is bad since they seem to have no Alpha hackers over
there, so there is currently no Alpha asm for this project, and so there is no
mozilla for the Alpha.
The asm in question is part of the "XPConnect" code, which is the module mozilla
uses to e.g. get JavaScript to talk to the HTML renderer, let Java call
JavaScript, let JavaScript call Java, ad nauseum. What the asm has to do is
set up an arbitrary, runtime calling environment (i.e. do what the compiler
normally does at runtime, except that it must be done at runtime in this case to
allow arbitrary XPConnect objects to call other objects that may not be in the
same language.)
I, unfortunately, have no knowledge of Alpha asm other than that it exists, or
else I would do this myself. My understanding is that it's not a great quantity
of code.
Is anyone out there working on this, or is anyone out there interested in working
on it? Mozilla otherwise builds perfectly fine on Alpha/Linux, and it'd be a
shame to fall behind due to a little asm.
See:
http://www.mozilla.org/scriptable/xptcall-faq.html
http://lxr.mozilla.org/mozilla/source/xpcom/libxpt/xptcall/porting.html
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mozilla & the Alpha
1999-04-14 2:51 Mozilla & the Alpha Dan Morrill
@ 1999-04-14 3:05 ` Daniel J. Frasnelli
1999-04-14 3:19 ` Shaw Terwilliger
1999-04-14 8:11 ` Richard Henderson
1 sibling, 1 reply; 9+ messages in thread
From: Daniel J. Frasnelli @ 1999-04-14 3:05 UTC (permalink / raw)
To: axp-list
> The folks over at Mozilla have introduced an asm dependency into the most
Yetch, that's never good for portability.
> recent milestone for mozilla. This is bad since they seem to have no Alpha
> hackers over there, so there is currently no Alpha asm for this project, and
> so there is no mozilla for the Alpha.
This is curious, as DU 4.0 is one of the officially supported platforms for
Communicator. Then again, since AOL's acquisition of Netscape this may
no longer be true - and they did "release" a quantity of former Netscape
employees recently.
> I, unfortunately, have no knowledge of Alpha asm other than that it exists, or
> else I would do this myself. My understanding is that it's not a great quantity
> of code.
I cannot lay claim to Alpha asm under my belt, either. I'm sure those who
can, like Richard Henderson, would write the code if they had time to do so.
Sufficient time seems to be one of the rarest resources in today's society.
Perhaps this is one price we have to pay for improved technology :)
Dan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mozilla & the Alpha
1999-04-14 3:05 ` Daniel J. Frasnelli
@ 1999-04-14 3:19 ` Shaw Terwilliger
1999-04-14 11:56 ` Dan Morrill
0 siblings, 1 reply; 9+ messages in thread
From: Shaw Terwilliger @ 1999-04-14 3:19 UTC (permalink / raw)
To: Daniel J. Frasnelli; +Cc: axp-list
On Tue, Apr 13, 1999 at 11:05:43PM -0400, Daniel J. Frasnelli wrote:
> > recent milestone for mozilla. This is bad since they seem to have no Alpha
> > hackers over there, so there is currently no Alpha asm for this project, and
> > so there is no mozilla for the Alpha.
> This is curious, as DU 4.0 is one of the officially supported platforms for
> Communicator. Then again, since AOL's acquisition of Netscape this may
> no longer be true - and they did "release" a quantity of former Netscape
> employees recently.
As far as I know, the state of the Mozilla code is so bad that it
was never even close to being 64-bit clean, and all Digital Unix
binaries were hacks from Digital's compiler run with switches to use
32-bit data types inside. Those options would still not conceivably
accept "different" assembly; it's possible they did this assembly
hack (and many, many more like it for many, many more platforms) but
filed it away in a proprietary branch they weren't willing to open.
--
Shaw Terwilliger (twig@advancenet.net)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mozilla & the Alpha
1999-04-14 2:51 Mozilla & the Alpha Dan Morrill
1999-04-14 3:05 ` Daniel J. Frasnelli
@ 1999-04-14 8:11 ` Richard Henderson
1999-04-21 21:22 ` Dan Morrill
1 sibling, 1 reply; 9+ messages in thread
From: Richard Henderson @ 1999-04-14 8:11 UTC (permalink / raw)
To: axp-list
On Tue, Apr 13, 1999 at 10:51:39PM -0400, Dan Morrill wrote:
> What the asm has to do is set up an arbitrary, runtime calling environment
> (i.e. do what the compiler normally does at runtime, except that it must
> be done at runtime in this case to allow arbitrary XPConnect objects to
> call other objects that may not be in the same language.)
For pointers on how to do such a thing, see
ftp://ftp.cygnus.com/pub/home/green/libffi-1.20.tar.gz
Anthony's foreign function interface library does exactly what
they want. Except that it's GPL, which is incompatible with
the NPL, so they can't use it.
But you may well be able to take the ideas intact.
r~
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mozilla & the Alpha
1999-04-14 3:19 ` Shaw Terwilliger
@ 1999-04-14 11:56 ` Dan Morrill
0 siblings, 0 replies; 9+ messages in thread
From: Dan Morrill @ 1999-04-14 11:56 UTC (permalink / raw)
To: axp-list
On Tue, 13 Apr 1999, Shaw Terwilliger wrote:
> As far as I know, the state of the Mozilla code is so bad that it
> was never even close to being 64-bit clean, and all Digital Unix
> binaries were hacks from Digital's compiler run with switches to use
> 32-bit data types inside.
Sure, the old Mozilla was, but I've been building and running the new Mozilla
code (i.e. NGLayout and "XP" new world order) for months, with nary a hitch.
Not even an unaligned trap. Remember that this is the codebase which is also
going to have to run on UltraSPARC 64 and probably Merced, so they need it
64-bit clean before then anyway.
They've actually done a fairly decent job of keeping things cross-platform.
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mozilla & the Alpha
@ 1999-04-14 22:44 greg meno
0 siblings, 0 replies; 9+ messages in thread
From: greg meno @ 1999-04-14 22:44 UTC (permalink / raw)
To: axp-list
thanks for te pointer
does anyone else feeling like taking a shot with me ?
i'd like to know if anyone else is working on such a task
i personally have no alpha asm under my belt but have quite a bit of
c/c++ and a small ammount of x86 asm and seeeing that so much of the
code is in place as exaples damn NPL
it can't be that hard
-GReg
>
>For pointers on how to do such a thing, see
>
> ftp://ftp.cygnus.com/pub/home/green/libffi-1.20.tar.gz
>
>Anthony's foreign function interface library does exactly what
>they want. Except that it's GPL, which is incompatible with
>the NPL, so they can't use it.
>
>But you may well be able to take the ideas intact.
>
>
>r~
>
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Mozilla & the Alpha
@ 1999-04-15 14:54 Hoover, Tony
1999-04-15 16:48 ` Dan Morrill
0 siblings, 1 reply; 9+ messages in thread
From: Hoover, Tony @ 1999-04-15 14:54 UTC (permalink / raw)
To: 'axp-list@redhat.com'
From what I've heard, RISC machine code and Alpha in particular is best left
to the compiler. If you can understand what the piece of X86 asm is doing,
and then re-write it in C/C++ things should work out for the best.
Tony
---------------------------------------------------------------------------
Tony Hoover, Network Administrator
KSU - Salina, College of Technology
mailto:hoover@sal.ksu.edu
"I'm on a head long collision course with the brick wall of success"
----------------------------------------------------------------------------
> ----------
> From: greg meno[SMTP:capt_n_emo@hotmail.com]
> Reply To: axp-list@redhat.com
> Sent: Wednesday, April 14, 1999 5:44 PM
> To: axp-list@redhat.com
> Subject: Re: Mozilla & the Alpha
>
> thanks for te pointer
> does anyone else feeling like taking a shot with me ?
> i'd like to know if anyone else is working on such a task
> i personally have no alpha asm under my belt but have quite a bit of
> c/c++ and a small ammount of x86 asm and seeeing that so much of the
> code is in place as exaples damn NPL
>
> it can't be that hard
> -GReg
> >
> >For pointers on how to do such a thing, see
> >
> > ftp://ftp.cygnus.com/pub/home/green/libffi-1.20.tar.gz
> >
> >Anthony's foreign function interface library does exactly what
> >they want. Except that it's GPL, which is incompatible with
> >the NPL, so they can't use it.
> >
> >But you may well be able to take the ideas intact.
> >
> >
> >r~
> >
>
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: Mozilla & the Alpha
1999-04-15 14:54 Hoover, Tony
@ 1999-04-15 16:48 ` Dan Morrill
0 siblings, 0 replies; 9+ messages in thread
From: Dan Morrill @ 1999-04-15 16:48 UTC (permalink / raw)
To: 'axp-list@redhat.com'
On Thu, 15 Apr 1999, Hoover, Tony wrote:
> >From what I've heard, RISC machine code and Alpha in particular is best left
> to the compiler. If you can understand what the piece of X86 asm is doing,
> and then re-write it in C/C++ things should work out for the best.
This can't be left to the compiler. The asm in question is responsible for
supporting arbitrary function calls at runtime; i.e. preparing the stack,
copying the arguments, preparing registers, etc. The compiler does this at
compile-time, which is not useful when you need this stuff on the fly.
The Mozilla developers responsible for introducing this requirement have said
that if there were any other way to do this, they would gladly do it, but
unfortunately they're stuck.
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Mozilla & the Alpha
1999-04-14 8:11 ` Richard Henderson
@ 1999-04-21 21:22 ` Dan Morrill
0 siblings, 0 replies; 9+ messages in thread
From: Dan Morrill @ 1999-04-21 21:22 UTC (permalink / raw)
To: axp-list
Here's a followup to my own earlier message Re: the new asm dependency of
Mozilla.
Apparently I owe the Mozillans an apology for having said they have no Alpha
hackers over there; I just built Mozilla from a CVS pull earlier today and it
builds and runs fine. (Well, as fine as Mozilla in general runs, anyway.)
I know there were a couple folks out there on this list who had considered
taking up the challenge of writing the Alpha asm for this, but now it's not
needed. (Or was it you who contributed this fix...? ;)
So, I'm sure everyone will be glad to hear that Mozilla on Linux/Alpha
continues apace.
Dan Morrill
Computer Scientist, Physicist
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1999-04-21 21:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-14 2:51 Mozilla & the Alpha Dan Morrill
1999-04-14 3:05 ` Daniel J. Frasnelli
1999-04-14 3:19 ` Shaw Terwilliger
1999-04-14 11:56 ` Dan Morrill
1999-04-14 8:11 ` Richard Henderson
1999-04-21 21:22 ` Dan Morrill
-- strict thread matches above, loose matches on Subject: below --
1999-04-14 22:44 greg meno
1999-04-15 14:54 Hoover, Tony
1999-04-15 16:48 ` Dan Morrill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox