Re: [gomp4/cilk-in-gomp/cilkplus] C++ parsing for Cilk plus <#pragma simd>

2013-05-29 Thread Aldy Hernandez
On 05/28/13 16:20, Iyer, Balaji V wrote: Regarding the tests, I will merge trunk->cilk-in-gomp so we can reuse the c-c++- common infrastructure you wrote. There is no sense having multiple tests for vectorlength, linear, etc. Can you please add them under c-c++-common/cilk-plus/PS directory?

Re: [gomp4/cilk-in-gomp/cilkplus] C++ parsing for Cilk plus <#pragma simd>

2013-05-28 Thread Aldy Hernandez
On 05/28/13 16:20, Iyer, Balaji V wrote: Regarding the tests, I will merge trunk->cilk-in-gomp so we can reuse the c-c++- common infrastructure you wrote. There is no sense having multiple tests for vectorlength, linear, etc. Can you please add them under c-c++-common/cilk-plus/PS directory?

RE: [gomp4/cilk-in-gomp/cilkplus] C++ parsing for Cilk plus <#pragma simd>

2013-05-28 Thread Iyer, Balaji V
> > Regarding the tests, I will merge trunk->cilk-in-gomp so we can reuse the > c-c++- > common infrastructure you wrote. There is no sense having multiple tests for > vectorlength, linear, etc. Can you please add them under c-c++-common/cilk-plus/PS directory? AN = Array Notation PS = Pragma

Re: [gomp4/cilk-in-gomp/cilkplus] C++ parsing for Cilk plus <#pragma simd>

2013-05-28 Thread Aldy Hernandez
On 05/21/13 10:46, Iyer, Balaji V wrote: Thank you for working on this! static tree find_invalid_stmts (tree *tp, int *walk_subtrees, void *data) { bool *valid = (bool *) data; location_t loc = EXPR_HAS_LOCATION (*tp) ? EXPR_LOCATION (*tp) : UNKNOWN_LOCATION; if (!tp || !*tp) retu

[gomp4/cilk-in-gomp/cilkplus] C++ parsing for Cilk plus <#pragma simd>

2013-05-21 Thread Iyer, Balaji V
Hello Aldy et al., Attached, please find a patch on top of gomp4 branch that implements Cilk's <#pragma simd> for C++. This is done in the same fashion as Aldy did in: http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00678.html (It creates OMP_SIMD trees and let omp-low do the rest).