From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18394 invoked from network); 15 Oct 1999 14:39:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Oct 1999 14:39:26 -0000 Received: from mailext04.compaq.com (mailext04.compaq.com [207.18.199.42]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA16653 for ; Fri, 15 Oct 1999 10:39:26 -0400 Received: from mailint12.im.hou.compaq.com (mailint12.compaq.com [207.18.199.190]) by mailext04.compaq.com (Postfix) with ESMTP id 1F653104DCF for ; Fri, 15 Oct 1999 09:39:26 -0500 (CDT) Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345) id D79A44FB05; Fri, 15 Oct 1999 09:39:10 -0500 (CDT) Received: from exctay-gh02.tay.cpqcorp.net (exctay-gh02.tay.cpqcorp.net [16.103.129.52]) by mailint12.im.hou.compaq.com (Postfix) with ESMTP id 870944C901 for ; Fri, 15 Oct 1999 09:39:10 -0500 (CDT) Received: by exctay-gh02.tay.cpqcorp.net with Internet Mail Service (5.5.2559.0) id <48JRHL5Q>; Fri, 15 Oct 1999 10:39:24 -0400 Message-ID: From: "Jemiolo, John" To: "'axp-list@redhat.com'" Subject: RE: PATCH: (on Alpha) emulating missing instructions Date: Fri, 15 Oct 1999 10:39:23 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2559.0) Content-Type: text/plain; charset="iso-8859-1" Which is why you should use SRM Unix, if its available on your platform, Instead of (ARC or AlphaBios) milo. With SRM the palcode is updated with the firmware update releases (If needed). I know this is a problem for the old NT-only systems which only have ARC or AlphaBios, but this is not true for current stuff, even the NT only white-box (33XX, 53XX, 73XX) systems have SRM, they just can't run unix or VMS, but run linux just fine (from SRM). JJ -----Original Message----- From: Kirk R. Erichsen [mailto:kirke@inteli-home.com] Sent: Friday, October 15, 1999 10:20 AM To: axp-list@redhat.com Subject: RE: PATCH: (on Alpha) emulating missing instructions You better believe we are missing PALcode updates. The PALcode in MILO dates back to the EB series machines and was part of the EBSDK. The PALcode was built from examples from the SDK and are fairly close to the Digital UNIX 3.2 versions. There are a lot of unimplemented functions and it is quite old. If Compaq is serious about Alpha, we need PALcode updates, not more kernel hacks. The fact that Linux works over Alpha at all is in spite of, not because of support from Compaq. --Kirk At 12:03 PM 10/15/99 +0200, you wrote: >Eminently done, but I was really under the impression that these exceptions >should be handled by the PALcode (since it is really a general Alpha >problem, not Linux-specific)? Is this not so (i.e. are we missing some >PALcode update) or is it solved differently in different OSes? > >-----Original Message----- >From: Luke Deller [mailto:luked@cse.unsw.edu.au] >Sent: Friday, October 15, 1999 11:39 AM >To: axp-list@redhat.com >Cc: axp-list@redhat.com; Daniel Paul Potts >Subject: PATCH: (on Alpha) emulating missing instructions > > >Daniel & I tried to run Loki's new beta version of Civilization Call to >Power for alpha linux on a multia (ev4 alpha). We got an illegal >instruction exception. We discovered that it was compiled for ev6, and so >contained instructions not supported by our CPU. > >So we have patched the linux kernel to emulate the instructions we needed. >These instructions are: >- byte/word load/store instructions (ldbu,stb,ldwu,stw) >- some multimedia instructions (minsw, maxsw, minuw, maxuw, minsb, maxsb, > minub, maxub) > >We have tried to make the emulation fairly fast - we have added it as some >assembly language code to the "illegal instruction exception" kernel entry >point in arch/alpha/kernel/entry.S:entIF. (Of course it's still faster >to avoid emulation and use a binary compiled for your generation of alpha >cpu). > >We put an option for enabling it in the "Kernel Hacking" section of the >configuration. > >The patch is applied to kernel version 2.2.11 >(Loki say not to use 2.2.12 for Civilization CTP) > >We only wrote enough emulation code to get CivilizationCTP to run .. in the >future it would be cool to see emulation of a more complete set of >instructions in the kernel. > >Hope this is useful to somebody, > >Luke Deller & Daniel Potts. > >-------------------------------------------------------------------------- > Luke Deller luked@cse.unsw.edu.au > _--_|\ Computer Engineering student >/ \ School of Computer Science and Engineering ? ? ? ? >\_.--._* The University of New South Wales ~~^^~ > v Sydney, NSW 2052 AUSTRALIA o o >-------------------------------------------------------ooO--(_)--Ooo------ > >-- >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 > > -- 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