From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100cc1,f679b04ea72eb590 X-Google-Attributes: gid100cc1,public X-Google-Thread: 110292,f679b04ea72eb590 X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,f679b04ea72eb590 X-Google-Attributes: gid1164f8,public X-Google-Thread: 166167,f679b04ea72eb590 X-Google-Attributes: gid166167,public X-Google-Thread: f57db,f679b04ea72eb590 X-Google-Attributes: gidf57db,public X-Google-Thread: 130a22,f679b04ea72eb590 X-Google-Attributes: gid130a22,public From: Edmond Underwood Subject: Re: DEC 5000/133 vs Pentium Date: 1995/05/17 Message-ID: <3pbtu5$j61@natasha.rmii.com>#1/1 X-Deja-AN: 102708833 references: <3mkrhi$88l@larch.cc.swarthmore.edu> <3n3h21$a47@inews.sc.intel.com> <3n9dkf$lsj@helena.MT.net> <3om9kl$mjt@onramp.arc.nasa.gov> <3p8tvb$gsc@onramp.arc.nasa.gov> <3pamdo$n6h@onramp.arc.nasa.gov> content-type: text/plain; charset=us-ascii organization: Rocky Mountain Internet Inc. mime-version: 1.0 newsgroups: _swat.announce.cc,_trico.computing.sysadmins,comp.unix.pc-clone.32bit,comp.sys.dec,comp.sys.intel,comp.benchmarks x-mailer: Mozilla 1.1N (Windows; I; 32bit) >I have not tracked down the list of performance improvments >necessary for the Pentium. Is this available on the net >somewhere? I did receive information on the first, >basic enhancement - align all data on natural boundaries >and/or 8-byte boundaries [just like most RISCs]. This also >improves 486 timing, but to a lesser extent. It also uses >a little more space, naturally. >The biggest problem area seems to be the stack pointer, >which is much more efficient when accessed in 8-byte >chunks. This apparently is a big change from the 486, >and is somewhat more troublesome to deal with. >From what I know, the alignment can cause trouble if data is aligned poorly. For instance, if you try to access a 32-bit word, you need to access it on an even 4-byte boundary. Otherwise, the CPU has to retrieve 2 4-byte chunks and combine a part from each. This would degrade performance. A 64-bit word (qword), would then need to be aligned on even 8-byte boundaries for it's optimal performance. If not, it would have to access 4 4-byte chunks and combine a part from each. This would decrease performance even greater. So yes, you are exactly right. A Pentium, which uses 64 bit words, needs to align its data on EVEN 8-byte boundaries. In actuallity, RISC assembly needs to be done the same way or the same problem will occur. --------------------------------------------------------------------------------- Edmond Underwood Systems Management Group Computing & Network Services (University of Colorado) E-mail: underwoe@Colorado.Edu