# HG changeset patch # User Shinji KONO # Date 1259661624 -32400 # Node ID 6929d888fd695450bf6ceb2e7381de62d15ee1b9 # Parent 94c6b7ea87c2d89ff77d5f02157163bcc5e37763 vectorize word count diff -r 94c6b7ea87c2 -r 6929d888fd69 example/word_count/spe/Exec.cc --- a/example/word_count/spe/Exec.cc Tue Dec 01 10:39:04 2009 +0900 +++ b/example/word_count/spe/Exec.cc Tue Dec 01 19:00:24 2009 +0900 @@ -6,9 +6,8 @@ /* これは必須 */ SchedDefineTask(Exec); -// typedef char *cvector __attribute__ ((vector_size (16))); -// -typedef char *cvector; +typedef char *cvector __attribute__ ((vector_size (16))); +// typedef char *cvector; static int run(SchedTask *s, void *rbuf, void *wbuf)