Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Steve Loughran" <slo98@iseran.CUTHISWORD.com>
Subject: Re: Alpha or Merced: which will run x86 code faster? (was Re: Integer sizes for NT/64
Date: 1998/07/09	[thread overview]
Message-ID: <EvtLB8.Mot@hplb.hpl.hp.com> (raw)
In-Reply-To: 6njgl7$gc6$1@server05.icaen.uiowa.edu


Doug Siebert wrote in message <6njgl7$gc6$1@server05.icaen.uiowa.edu>...

>
>Anyway, don't forget that sticking an x86 and PA-RISC on Merced isn't
>going to be all that hard when you think about it.  They only need to
>handle user level code, so all of the x86 gunk with segmentation, rings,
>interrupts, etc. goes away, as does all the segmentation and special
>registers in PA-RISC.  You already have the registers, just use some of
>your 128 registers automatically when running another instruction set.
>Ditto for cache.  You probably don't even implement all the instructions,
>you can trap on some of the rarely used or oddball/difficult ones with
>little impact on performance.

If the CPU needs to run NT and OS2 native then segments and kernel side
stuff will have to be handled. Although user apps don't mess with segment
registers no more, the OSes do. For example NT uses the FS register as some
pointer to a thread specific data structure. Hopefully MMX and Katmai
instructions will transfer relatively simply.

>You skip stupid stuff like the ability
>to run 16 bit code on x86, hopefully no one will miss running Windows
>3.1 stuff on Merced :)

I also fear that Win16 code will still be around -but that doesn't mean it
needs to be supported in hardware. The RISC implementations of NT all
emulated Win16 -I believe it is up to the HAL authors to provide a library
emulating each of the opcodes found in Win16 code built for a 486. A native
Merced implementation of the emulation would seem to be the appropriate
tactic.

I think that NT implements most (all?) win16 api calls by just handing them
off to the native 32 bit implementations, with a bit of grunging around for
bug-for-bug compatibility. Its a bit like how Win9x turns all 32 bit
graphics commands into 16 bit commands by stripping off the high word and
handing it off to underperforming display drivers in the win16 subsystem. A
native Merced implementation of NT could execute these API calls at full
speed.

    -Steve





  parent reply	other threads:[~1998-07-09  4:00 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3583BF17.61F0687@knobisoft.de>
     [not found] ` <3583cd68.35246011@news.primenet.com>
     [not found]   ` <cogvvqks7.fsf@ite127.inf.tu-dresden.de>
     [not found]     ` <Ev2Gnq.1Lz@hplb.hpl.hp.com>
     [not found]       ` <sjcEv4GJx.2xq@netcom.com>
     [not found]         ` <EvH02s.4oF@hplb.hpl.hp.com>
1998-07-03  4:00           ` Alpha or Merced: which will run x86 code faster? (was Re: Integer sizes for NT/64 Paul DeMone
1998-07-03  4:00             ` JF Mezei
1998-07-03  4:00               ` Doug Siebert
1998-07-08  4:00                 ` Yousuf Khan
1998-07-09  4:00                 ` Steve Loughran [this message]
1998-07-09  4:00                   ` Doug Siebert
1998-07-03  4:00               ` Paul DeMone
1998-07-03  4:00               ` Mark Hahn
1998-07-03  4:00               ` Rich Walker
1998-07-03  4:00                 ` Terry C. Shannon
1998-07-06  4:00               ` Zalman Stern
1998-07-07  4:00                 ` Monty Brandenberg
1998-07-08  4:00                   ` Achim Gratz
1998-07-08  4:00                   ` Zalman Stern
1998-07-09  4:00                     ` Monty Brandenberg
1998-07-09  4:00                       ` Zalman Stern
1998-07-09  4:00                   ` Fred Kleinsorge
1998-07-09  4:00                     ` John Wilson
1998-07-09  4:00                       ` Monty Brandenberg
1998-07-10  4:00                         ` Bernd Paysan
1998-07-08  4:00               ` Yousuf Khan
     [not found]               ` <359E582C.64F64E58@usdesign.com>
1998-07-08  4:00                 ` Yousuf Khan
1998-07-03  4:00             ` Terry C. Shannon
1998-07-03  4:00               ` Toon Moene
1998-07-03  4:00                 ` Larry Kilgallen
1998-07-06  4:00             ` Rob Young
1998-07-07  4:00             ` robyoung
1998-07-07  4:00               ` David Hinds
1998-07-07  4:00                 ` Brian Rogoff
1998-07-07  4:00                   ` Dirk Grunwald
1998-07-07  4:00                     ` Bill Moyer
1998-07-08  4:00                   ` Steven P. Underwood
1998-07-08  4:00             ` Bulldog
1998-07-09  4:00               ` Robin Garner
1998-07-03  4:00 Anil T Maliyekke
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox