From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110292,f679b04ea72eb590 X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,f679b04ea72eb590 X-Google-Attributes: gid1164f8,public X-Google-Thread: f57db,f679b04ea72eb590 X-Google-Attributes: gidf57db,public X-Google-Thread: 100cc1,f679b04ea72eb590 X-Google-Attributes: gid100cc1,public From: Edmond Underwood Subject: Re: DEC 5000/133 vs Pentium Date: 1995/05/17 Message-ID: <3pdl1m$1c@natasha.rmii.com>#1/1 X-Deja-AN: 102835927 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> <3pbtu5$j61@natasha.rmii.com> <3pdd0k$j1k@ixnews2.ix.netcom.com> content-type: text/plain; charset=us-ascii organization: Rocky Mountain Internet Inc. mime-version: 1.0 newsgroups: comp.unix.pc-clone.32bit,comp.sys.dec,comp.sys.intel,comp.benchmarks x-mailer: Mozilla 1.1N (Windows; I; 32bit) >The alignment issues are not because the Pentium uses a 64 bit >word. It doesn't. The data bus is 64 bits, the internal word size is 32 >bits. The L1 cache has a line width of 32 bytes. >Mike Schmit >------------------------------------------------------------------- >mschmit@ix.netcom.com author: >408-244-6826 Pentium Processor Programming Tools >800-765-8086 ISBN: 0-12-627230-1 >------------------------------------------------------------------- What is a qword? It should be a 64 bit data word if I am not mistaken. I'm talking about fetching bytes from memory. When you align your data structures, a DWORD must begin on an even 4-byte boundary and a QWORD must begin on a even 8-byte boundary. Otherwise the condition I stated before will occur. Try it. I'm by no means an expert on structured programming , but this seems to be the case. --------------------------------------------------------------------------------- Edmond Underwood Systems Management Group Computing & Network Services (University of Colorado) E-mail: underwoe@Colorado.Edu