delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/03/16/09:19:33

Date: Thu, 16 Mar 2000 19:05:59 +0500
Message-Id: <200003161405.TAA00904@midpec.com>
From: Prashant TR <tr AT midpec DOT com>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: Martin DOT Stromberg AT lu DOT erisoft DOT se, djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.1000316115430.3117J-100000@is> (message from Eli
Zaretskii on Thu, 16 Mar 2000 11:56:03 +0200 (IST))
Subject: Re: Fastest integer type
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000316115430 DOT 3117J-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:

> > On my Pentium, 8-bits seem to be faster than the 32-bit
> 
> By how much?

The ratio of 8-bit:32-bit regs for the addition operation is
something like 140.97:102.87 on my Pentium.

Seems like there's quite a bit of difference here. IMHO 8-bit
(signed char) can be used.

- Raw text -


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