Sender: jur AT rz DOT hu-berlin DOT de Message-ID: <374515C3.DD91DD72@informatik.hu-berlin.de> Date: Fri, 21 May 1999 08:13:55 +0000 From: Jens-Uwe Rumstich Organization: TUSCON X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.2.8 i586) MIME-Version: 1.0 To: pgcc AT delorie DOT com Subject: Re: Benchmark PGCC vs EGCS on a K6-2 References: <373F3AA2 DOT A446D611 AT informatik DOT hu-berlin DOT de> <19990519105631 DOT 40676 AT atrey DOT karlin DOT mff DOT cuni DOT cz> <3743ADE8 DOT C938ADBB AT informatik DOT hu-berlin DOT de> <19990520104723 DOT 18724 AT atrey DOT karlin DOT mff DOT cuni DOT cz> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: pgcc AT delorie DOT com Hi! > > ooops... The mov is not faster? > > > Only advantage of mov is reduced dependency on flags. But this advantage is not > high enought to mask code size increase and decoder slowdown caused by very > large opcode. But a MOV REG,Immediate is a short instruction and gets executed during the decode phase. So except the larger opcode it should be faster... Strange, I think I should try it out... > > Do you know a way to get exact numbers? I still donīt know, why my > > results are that wrong :-( > Hmm... don't know. You might also try out egcs benchmark suite. It gets > lots of results and they are pretty exact (at least for me) and useable for > tunning the compiler. Take a look at egcs homepage to get it... I didnīt know it... I give it a try :-) > Honza cu Jens-Uwe