delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/03/14/13:43:05

Sender: root AT delorie DOT com
Message-ID: <38CE85D9.40870304@inti.gov.ar>
Date: Tue, 14 Mar 2000 15:32:57 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.38 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Fastest integer type
References: <200003140840 DOT JAA19626 AT mars DOT lu DOT erisoft DOT se> <38CE53D6 DOT 208D75E2 AT hotmail DOT com>
Reply-To: djgpp-workers AT delorie DOT com

Jesus Gil y Gil wrote:

> You should run the benchmark that I posted 3 days ago

I didn't see the benchmarks, only the results. And I think this isn't useful for
any real program. I don't know about any program that is just thousand adds in a
loop. Even more: the results are clearly different to what you get with any
complicated benchmark, the AMD K6 and PII aren't so different as your benchmark
seems to indicate.
I think the best way is to just use some "typedef BasicType int;" compile,
meassure and then try with other type. That's assuming the operations feets in
any integer size.
Are you sure your benchmarks isn't involving type conversions? (zero and sign
extend as example) this could make ints faster no matters what's the real thing.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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