------- Comment #30 from eyal at geomage dot com 2008-02-12 08:43 ------- Hi, Thanks a lot for the input about a potential memory bottle-neck. I indeed was under the impression that once I got the loop vectorized, I'd immidiatly see a performance boost. I would appriciate, however, a further explaination about this issue. After all, this is a very simple test case. I still dont understand why the hugh diffference when I run: time ./TestNoVec 92200 8 89720 1000 real 0m23.549s
time ./TestVec 92200 8 89720 1000 real 0m22.845s and when I run: [EMAIL PROTECTED]:~> time ./mnovec 400000 1 29720 1000 real 0m24.493s user 0m24.483s sys 0m0.007s [EMAIL PROTECTED]:~> time ./mvec 400000 1 29720 1000 real 0m10.777s user 0m10.771s sys 0m0.005s I cant see from the code how those parameter diff effect the performance so much. I'd appriciate your assistance again. thanks eyal -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35117