www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/02/23:10:37

Date: Tue, 2 Feb 1999 23:10:27 -0500
Message-Id: <199902030410.XAA14741@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3.0.6.32.19990202215520.009449d0@pop.netaddress.com> (message
from Paul Derbyshire on Tue, 02 Feb 1999 21:55:20 -0500)
Subject: Re: 64-bit integer math
References: <3 DOT 0 DOT 6 DOT 32 DOT 19990202172139 DOT 00921a20 AT pop DOT netaddress DOT com>
<3 DOT 0 DOT 6 DOT 32 DOT 19990202150512 DOT 0090dc30 AT pop DOT netaddress DOT com>
<3 DOT 0 DOT 6 DOT 32 DOT 19990202125723 DOT 00904370 AT pop DOT netaddress DOT com>
<Pine DOT GSO DOT 4 DOT 02 DOT 9902012103100 DOT 16025-100000 AT neptune DOT calstatela DOT edu>
<3 DOT 0 DOT 6 DOT 32 DOT 19990202125723 DOT 00904370 AT pop DOT netaddress DOT com>
<3 DOT 0 DOT 6 DOT 32 DOT 19990202150512 DOT 0090dc30 AT pop DOT netaddress DOT com>
<3 DOT 0 DOT 6 DOT 32 DOT 19990202172139 DOT 00921a20 AT pop DOT netaddress DOT com> <3 DOT 0 DOT 6 DOT 32 DOT 19990202215520 DOT 009449d0 AT pop DOT netaddress DOT com>
Reply-To: djgpp AT delorie DOT com

> >gcc does 64-bit multiplies with one mul, two imuls, and two adds.
> 
> How's a plain mul and an imul differ? :-)

mul is unsigned
imul is signed

- Raw text -


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