Optimize code for auto vectorization

Bug #1418468 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Wishlist
Daniel Schürmann

Bug Description

This article describes some tricks to optimize the code for auto vectorization, which is enable with -O3
http://locklessinc.com/articles/vectorize/

This should be applied to src/sampleutil.cpp

Changed in mixxx:
importance: Undecided → Wishlist
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Current state: 7 of 23 loops are vectorized:
/home/daniel/workspace/mixxx/src/sampleutil.cpp:32: note: LOOP VECTORIZED.
/home/daniel/workspace/mixxx/src/sampleutil.cpp:78: note: LOOP VECTORIZED.
/home/daniel/workspace/mixxx/src/sampleutil.cpp:109: note: LOOP VECTORIZED.
/home/daniel/workspace/mixxx/src/sampleutil.cpp:126: note: LOOP VECTORIZED.
/home/daniel/workspace/mixxx/src/sampleutil.cpp:143: note: LOOP VECTORIZED.
/home/daniel/workspace/mixxx/src/sampleutil.cpp:175: note: LOOP VECTORIZED.
/home/daniel/workspace/mixxx/src/sampleutil.cpp:192: note: LOOP VECTORIZED.

Changed in mixxx:
assignee: nobody → Daniel Schürmann (daschuer)
status: New → In Progress
Changed in mixxx:
status: In Progress → Fix Committed
milestone: none → 2.0.0
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7845

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.