From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: Daniel Egger Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: A bit of vector extension documentation Date: Fri, 28 Sep 2001 01:32:00 -0000 Message-id: <20010928013241.A13628@redhat.com> References: <1001660651.26282.7.camel@sonja> <20010928003853.B13571@redhat.com> <1001664006.27286.37.camel@sonja> X-SW-Source: 2001-09/msg01185.html On Fri, Sep 28, 2001 at 10:00:05AM +0200, Daniel Egger wrote: > Although being able to hack OO languages like C++ and Java > I prefer C for my daily work and it's not acceptable for > some project to introduce C++ - especially for the sole purpose > of only being compilable with most recent GCC versions and > C++ frontend; Judicious local use of macros or static inline functions can rid you of some of the uglier "__builtin" parts. > ... though you clearly demonstrate what I would expect > to have in the gcc compilersuite somewhere in a templateized > version for general use. Yes, we should definitely distribute something of the sort. > For the future I'd expect to have something like a heuristic that > figures out that loops are trying to do some operations on MD that > is parallelizable and generate good SIMD code for it ... This is on the wish list. But even if someone were to start on it now, I can't see it being complete for at least a year. Some of the prerequisites are being worked on though -- see the AST branch. r~