From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: either I'm stupid or GCC once again has random behaviour Date: Tue, 2 Jan 2001 17:41:07 -0500 Lines: 25 Message-ID: <92tlcf$8accm$1@ID-57378.news.dfncis.de> References: <92o5uf$702n5$1 AT ID-57378 DOT news DOT dfncis DOT de> <978314359 DOT 13074 DOT 0 DOT nnrp-02 DOT 9e989cbe AT news DOT demon DOT co DOT uk> <92ophd$7kdsq$1 AT ID-57378 DOT news DOT dfncis DOT de> <8fd45t46ttftcmahol8erf6sipdjfs9v8v AT 4ax DOT com> NNTP-Posting-Host: pppa31-resalerochester3-5r7104.dialinx.net (4.4.209.220) X-Trace: fu-berlin.de 978475217 8728982 4.4.209.220 (16 [57378]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Why unrolling? There is a perfect instruction REP STOSB/W/D. What do you mean? -- Alexei A. Frounze alexfru [AT] chat [DOT] ru frounze [AT] ece [DOT] rochester [DOT] edu http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/ "Damian Yerrick" wrote in message news:8fd45t46ttftcmahol8erf6sipdjfs9v8v AT 4ax DOT com... > On Sun, 31 Dec 2000 21:21:11 -0500, "Alexei A. Frounze" > wrote: > > >PAGE_SIZE is indeed a constant, but who cares? is it hard to put into ECX a > >variable instead of a constant? > > It's a lot harder to unroll something a variable number of times > without Duff's device (which may cause performance problems on K6).