This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Vector Extensions in GCC
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Vector Extensions in GCC
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 12 Jul 2001 08:52:21 +0100 (BST)
- cc: Stan Shebs <shebs at apple dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
On Wed, 11 Jul 2001, Mark Mitchell wrote:
> I've suggested that we first merge the C and C++ front-ends (this
> is not as far away as you might think)
Do you have something more concrete? Over a third of the C front end is
now common code used also by C++, a lot more than in 2.95, and a lot more
is sufficiently similar that it ought to be shared, which is some sort of
incremental merge but hardly likely to yield a single front end in a
reasonable amount of time. What about Objective-C?
> and then simply use templates.
> (Syntactically, they might not be that, but internally that's an
> easy way to get the right things to happen.)
Do you have an example of how templates would be used to implement one of
the <tgmath.h> functions?
--
Joseph S. Myers
jsm28@cam.ac.uk