This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libgfortran] Some more transformational intrinsic speedups
- From: FX <fxcoudert at gmail dot com>
- To: "Tobias Schlüter" <Tobias dot Schlueter at physik dot uni-muenchen dot de>
- Cc: "Dominique Dhumieres" <dominiq at lps dot ens dot fr>, fortran at gcc dot gnu dot org, tkoenig at netcologne dot de
- Date: Tue, 8 Apr 2008 15:28:31 +0100
- Subject: Re: [patch, libgfortran] Some more transformational intrinsic speedups
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=g4ms3FSL703+6ZA7fWL0XFA52j4p/duMxePlM4An+H8=; b=ONHifhrBoJBcU3hUi1Zo+3F31uWtc+qA+J/vtQeXb6EYZb712TNYlD1gJxM4/0aeTAgrMB/gstsE0MJdXXq185aVAoCtf9vryPYLAm5dz35nY7TeMQ6jCRrScJuBZZp8++fk7VALuqOF7woB5O6TmE0miflERkJS3fXE55Ld/Io=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=w+9RDSczI0AQuYZ2TTBQch7aN5EcyIBrwf1qZM+lPVx0FgS73qrfdhfHxLei32OVN7nqMx0vt4I89dpsTCv3fc4Y9OneRQCXhtImvuQIOy9wKnHuEfdMFbdjaL7RuZ/d3xx8f79ZozQA775HHy9wvRdp154gTk4enULp+LPWr8E=
- References: <20080408141528.2A9883BE8F@mailhost.lps.ens.fr> <47FB7FEB.30201@physik.uni-muenchen.de>
> Without looking at the details of Thomas' patch I think intptr_t is the
> right type, i.e. an integer type that is defined to always be wide enough to
> contain a pointer.
uintptr_t (the unsigned type) seems more appropriate here. But are we
guaranteed it is defined? When I used intptr_t in the past (in
intrinsics/signal.c and runtime/backtrace.c) I've defined a macro
depending on HAVE_INTPTR_T.
FX
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/