etc:common_activities:gcc_vectorization:gaps_stores
This is an old revision of the document!
Vectorization with gaps
Introduction
Допустим, у нас есть некая структура **s**. В функции **foo** происходит операция, которую необходимо векторизовать.
#define N 4 struct s { int a; int b; int c; int d; }; struct s ss[N]; int i=0; void foo() { while(i<N) { ss[i].a = 2; ss[i].b = 3; ss[i].d = 4; i=i+1; }
На текущий момент голова autovect-braunch выдает следующий результат:
etc/common_activities/gcc_vectorization/gaps_stores.1220217628.txt.gz · Last modified: 2008/09/01 01:20 by zps