/AVX-AVX2-Example-Code

Example code for Intel AVX / AVX2 intrinsics.

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

AVX / AVX2 Intrinsics Example Code

Quick Start

Compile

$ make

All the source files in src/ will be compiled and generate binary files to the bin/ in each subdirectory.

Run

Fast compile & run at one time!

Execute this command:

$ make run

At the project root directory, then you can see all the program output on your terminal 🎉

Clean

It's easy to clean all the output files, just enter the following command at the project root directory:

$ make clean

Then you would find out all the output files are gone away!

Initialization Intrinsics

Initialization with Scalar Values

Loading Data to Memory

Arithmetic Intrinsics

Addition and Subtraction

Multiplication and Division

Fused Multiply and Add (FMA)

Permuting and Shuffling

Permuting

Copyright

This project is licensed under the BSD 3-Clause license.