• Stars
    star
    105
  • Rank 326,417 (Top 7 %)
  • Language
    C
  • License
    BSD 3-Clause "New...
  • Created about 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Example code for Intel AVX / AVX2 intrinsics.

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.