Commit graph

5 commits

Author SHA1 Message Date
60d069924d Renaming methods
To ease the naming we put the sse methods the same as the sse instructions it uses.
2018-12-02 10:40:04 +00:00
3806e6d47e cout receives modifiers like hex, dec to change the way it outputs the data.
This works as a state machine so after we change it this stays unless we reset the state. So in this case after we print hex data we change in the end of the method to reuse again the decimal default output format
2018-12-02 10:22:09 +00:00
a794464432 Changed print into printHex
The print in decimal format is not good to validate the packed structure of integers. The hex format is better because it enable us to validate the methods
by looking at the position of the packed values
2018-12-02 10:16:40 +00:00
618e5efcfa Refactoring code
* Cleanup in main.cpp
* Refactor in bmath.h
* Refactor in avx2.hpp avx2.cpp
* Added types.hpp to abstract architecture datatypes
* Refactored utils.hpp
* Refactored sse.cpp
* Added some utility methods for integer, long packed values
* Convert print into a generic method with use of templates
2018-12-02 10:09:37 +00:00
7d0629887a Added utils header file to group all utility code under the same utility class 2018-12-02 09:33:50 +00:00