Dorit Nuzman - Re: [PATCH][RFC] Make the function vectorizer capable of doing type tr (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Richard Guenther rguenther@suse.de wrote on 06/02/2007 11:14:15:

On Tue, 6 Feb 2007, Dorit Nuzman wrote:

Richard Guenther rguenther@suse.de wrote on 01/02/2007 16:12:55:

On Thu, 1 Feb 2007, Dorit Nuzman wrote:

I looked back at my "todo" notes and realized that there were a couple additional bits that need fixing in vectorizable_call:

....

we have such a testcase in gcc.target/i386/vectorize2.c, it looks like

double x[256]; float y[256];

void test1 (void) { int j; for (j=0; j<256; ++j) x[j] = __builtin_sqrt (x[j]); }

void test2 (void) { int j; for (j=0; j<256; ++j) y[j] = __builtin_sqrtf (y[j]); }

so we'll be noted if that starts failing.

cool

Ah, I see. So we can't trigger it right now, but I agree we should put in a testcase to prevent it in the future. (We need a lot more testcases covering these corner cases for function vectorizing - it's just that the only target with support for that is i386 at the moment)

yep - we should either add the testcase or the STMT_VINFO_LIVE_P check, or, preferably, both.

Thanks for the detailed explanation,

sure,

dorit

Richard.

-- Richard Guenther rguenther@suse.de Novell / SUSE Labs


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]