This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: SIMD programming
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: tprince at computer dot org
- Cc: "Filippo Maggi" <fmaggi at uiuc dot edu>, fortran at gcc dot gnu dot org
- Date: Wed, 27 Jun 2007 11:19:15 -0700
- Subject: Re: SIMD programming
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=NH+/6F7w2w/QAGugwBbAjROCoVa62MyuqaKP6YqVPqS/g15PXL9pvyilCW1wnIJYAAUjDxhDxNUymriQcGT1W+3HR8oSpvghUP2oDj9AymUyft0xePBIEHHXp80lOndkVmLRx9EdCILTcet6S9bqYmheyiCznT3H+5GH1F3CeSo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=leyy4CAe/jSqzf/4SfAUOnVZ/xmro37kuzUO3xqwAMZQluthe3ccz+Qcm3Hi4lU5O2ZqGlhjJYobkFB94oHT0pS5XI0tXhC7HaH5kmcTja08U8WlozsVUvRfz36i4LjDkOSRw4SZBcb24pF0kekY9WHBYroOdnPUoBqg/0OSoVo=
- References: <468290BE.4020207@uiuc.edu> <4682A8EE.1020506@myrealbox.com>
On 6/27/07, Tim Prince <tprince@myrealbox.com> wrote:
Filippo Maggi wrote:
> Hi there,
> I am working with gfortran on Intel Mac.
> I am looking for some documentation to use SIMD operations with
> gfortran but I cannot fine anything.
>
> What is the approach to take?
In gfortran, use an up to date version, with -ftree-vectorize and
associated options
> Assembly?
C code with intrinsics from <xmmintrin.h> et al.
We could also add the vector extensions which IBM added to their
fortran compiler:
http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlf101l.doc/xlflr/intrtyp.htm
In fact I have been thinking about adding them but have not had time
to work on that project yet.
-- Pinski