From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,67c0861f94c421f5 X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,8b31f34a0dbb1725 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,67c0861f94c421f5 X-Google-Attributes: gid1164f8,public From: "Yousuf Khan" Subject: Re: Alpha or Merced: which will run x86 code faster? (was Re: Integer sizes for NT/64 Date: 1998/07/08 Message-ID: #1/1 X-Deja-AN: 369408068 References: <3583BF17.61F0687@knobisoft.de> <3583cd68.35246011@news.primenet.com> <359C63E9.60B9@EasyInternet.net> <359D1959.5D0BF6D2@videotron.ca> <6njgl7$gc6$1@server05.icaen.uiowa.edu> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: House of pancakes & nanotechnology NNTP-Posting-Date: Tue, 07 Jul 1998 21:25:53 EDT Newsgroups: comp.arch,comp.sys.dec,comp.sys.intel Doug Siebert wrote in message <6njgl7$gc6$1@server05.icaen.uiowa.edu>... >JF Mezei writes: > >>Now, if they really do embed an 8086 in the chip, obviously, work is already >>in progress, and by the time IA64 comes out, the 8086 in there will probably >>be old compared to the >>8086s that are going to be on the market at that time. > > >It doesn't have to run it faster than any x86 (or Alpha with FX!32) it just >has to run it. The first Merceds are going to be used on systems that will >be running mostly native code. I.e., native NT, native HP-UX, etc. The >NT users might have a few things they want to run that haven't been ported >yet, just like the HP-UX people will have some legacy binaries. If you >have important code you need to run fast, you will probably leave it on >x86 until it can be ported, they'll be making those for a while, after all. Maybe, maybe not. It's not likely to assume that there will be fully-debugged native operating systems just sitting there waiting for Intel's introduction of Merced. The more likely scenario would be that people are going to have to run either X86 operating systems, or PA-RISC operating systems to a lesser degree, during a transition phase. This is a complicated business, and not all features of Merced are going to implemented right away. If you look at the history of Intel's transistional architectures, you have the 286 and then you have the 386. Although the 286 was a 16-bit processor just like the 8086 that it superseded, it was the first architecture to implement the Protected mode. But for the most part it was used only with 8086 operating systems and applications. First real support for the 286's Protected mode came with Xenix, and then OS/2 1.0. But the 286 wasn't around long enough to really make a mark on operating system design before it too was superseded by the next transistional architecture, the 386. The 386 was the first 32-bit X86 architecture. But for a long time it languished making use of operating systems for the previous architecture generations. It was initially outfitted with 8086 operating systems, and it was outfitted with 286 operating systems. But slowly, native support for the 386 came about in stages. Those 8086 operating systems (i.e. MS-DOS) were outfitted with add-in 386-native memory managers and then DOS extenders, and then finally GUIs (eg. Windows 3.0): each stage using more of the features of the 32-bit architecture. Also the 286 operating systems were eventually recompiled to make full use of the 32-bit architecture. So the point is that you should expect most people are going to be using a Merced with previous generation operating systems, until the native operating systems mature. >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. 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 :) If Intel does such a half-hearted job of X86 emulation, then you can bet that the company is going go down the tube in no undue rush. But fortunately, I don't think Intel would do such a hacked-up job, because they've got years of experience already in doing hardware emulation of X86 with the P6-architecture. In a way, yes, you're right it's not that hard to do X86 and PA-RISC on Merced all on the same silicone when you think about it. But it's not because of the way you think they are going to do it: eg. get rid of segments, just do user code not system code, don't run 16-bit apps, etc., etc. What Intel is more likely to do is to make the entire instruction set, and that includes the X86 instruction set, the PA-RISC instruction set, and even what is currently being dubbed the Merced "native" instruction set, and make it one virtual instruction set which is broken into much simpler internal instructions. And instruction sets aren't the only important thing here; you also have to emulate the internal special registers, the internal buffers, etc., etc. Yousuf Khan -- To send me e-mail remove the two "spam" 's from my e-mail address