Vc is a free software library to ease explicit vectorization of C++ code. It has an intuitive API and provides portability between different compilers and compiler versions as well as portability between different vector instruction sets. Thus an application written with Vc can be compiled for
AVX and AVX2
SSE2 up to SSE4.2
SSE4a, XOP, FMA4, and FMA
Scalar (fallback which works everywhere)
Vc is a free software library to ease explicit vectorization of C++ code. It has an intuitive API and provides portability between different compilers and compiler versions as well as portability between different vector instruction sets. Thus an application written with Vc can be compiled for
AVX and AVX2
SSE2 up to SSE4.2
SSE4a, XOP, FMA4, and FMA
Scalar (fallback which works everywhere)
To install Vc, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install Vc
To see what files were installed by Vc, run:
port contents Vc
To later upgrade Vc, run:
sudo port selfupdate && sudo port upgrade Vc
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.