delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/11/16:31:24

Message-Id: <m0vuJq6-000S1kC@natacha.inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT natacha DOT inti DOT edu DOT ar>
Organization: INTI
To: jestandi AT cs DOT indiana DOT edu
Date: Tue, 11 Feb 1997 18:21:37 +0000
MIME-Version: 1.0
Subject: Re: timing instructions [code, LONG]
CC: djgpp AT delorie DOT com

Hi Jeff:

  I tried your benchmark on my Cx5x86 120 MHz machine compiled with -O0 and
nothing more, I'm using DOS 6.2 and CWSDPMI, the results are totally erratic,
here are 3 results taked with minutes of difference:

int +:   	  12989467    7611265    15989011
int -:   	  29771817   16526324    16507176
int *:   	   4279737    6062675    11355372
int /:   	   2337197    2335167     1762933
int %:   	   3416761    2322949     2011353

  I only runned gcc and RHIDE between the calls to the benchmark, and the
integer + is from 7.6e3 to 15.99e3 (aprox. the double).

SET
--------------- 0 --------------------------------
Salvador Eduardo Tropea (SET).
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019