From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2ac7208e3d69354f,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-16 02:56:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!wanadoo.fr!not-for-mail From: Guillaume Foliard Newsgroups: comp.lang.ada Subject: Ada and vectorization Date: Sun, 16 Jun 2002 11:56:06 +0200 Organization: _^_ Message-ID: NNTP-Posting-Host: aboulogne-102-1-3-22.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: wanadoo.fr 1024221367 9674 193.253.180.22 (16 Jun 2002 09:56:07 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 16 Jun 2002 09:56:07 GMT User-Agent: KNode/0.7.1 Xref: archiver1.google.com comp.lang.ada:26072 Date: 2002-06-16T09:56:07+00:00 List-Id: Hello, I start to learn how to use the Intel's SSE instruction set in Ada programs with inline assembly. And while reading Intel documentation (1) I was asking myself if Ada could provide a clean way of vectorization through its strong-typed approach. Could it be sensible, for the next Ada revision, to create some new attributes for array types to explicitly hint the compiler that we want to use SIMD instructions ? Language lawyers comments are definitly welcome. As SIMD in modern general purpose processors is largely available nowadays (SSE, SSE2, Altivec, etc...), IMHO, it would be a mistake for Ada to ignore the performance benefit this could bring. (1) http://www.intel.com/software/products/college/ia32/strmsimd/814down.htm Guillaume Foliard