Related articles |
---|
Automatic "code-pattern" recognition, in DSP codes Miguel.CasasSanchez@ucd.ie (=?ISO-8859-15?Q?Miguel_Cas=E1s-S=E1nchez?=) (2005-07-05) |
Re: Automatic "code-pattern" recognition, in DSP codes jle@ural.owlnet.rice.edu (2005-07-11) |
Re: Automatic "code-pattern" recognition, in DSP codes bsheff2@yahoo.com (Bob Sheff) (2005-07-11) |
Re: Automatic "code-pattern" recognition, in DSP codes codeworker@free.fr (=?iso-8859-1?q?C=E9dric_LEMAIRE?=) (2005-07-11) |
Re: Automatic "code-pattern" recognition, in DSP codes darius@raincode.com (Darius Blasband) (2005-07-11) |
Re: Automatic "code-pattern" recognition, in DSP codes drizzle76@gmail.com (drizzle) (2005-07-11) |
Re: Automatic "code-pattern" recognition, in DSP codes oliver@first.in-berlin.de (Oliver Bandel) (2005-07-11) |
Re: Automatic "code-pattern" recognition, in DSP codes pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2005-07-11) |
From: | Darius Blasband <darius@raincode.com> |
Newsgroups: | comp.compilers |
Date: | 11 Jul 2005 06:58:14 -0400 |
Organization: | Compilers Central |
References: | 05-07-024 |
Keywords: | DSP, analysis |
Posted-Date: | 11 Jul 2005 06:58:13 EDT |
This could be dealt with using RainCode (http://www.raincode.com) for
which the C version is freely available, and where such patterns can be
expressed in logic programming style using unification.
It should be applied to
the output of the preprocessor before actual compilation in order
to avoid complex text processing, which are totally irrelevant to
the issue anyway.
Cheers,
Darius.
Miguel Casás-Sánchez wrote:
> I was wondering if somebody has ever heard about something like
> "automatic typical DSP-like kernel recognition", for example, as the
> compiler reads the program and sets up the data and control graphs,
> recognise that
>
> for(i=0, acc = 0; i < N; i++) {
> acc = h[n] * X[N-n];
> }
Return to the
comp.compilers page.
Search the
comp.compilers archives again.