Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8142555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:51:11+00:00 2026-06-06T12:51:11+00:00

Which header files provide the intrinsics for the different x86 SIMD instruction set extensions

  • 0

Which header files provide the intrinsics for the different x86 SIMD instruction set extensions (MMX, SSE, AVX, …)? It seems impossible to find such a list online. Correct me if I’m wrong.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:51:12+00:00Added an answer on June 6, 2026 at 12:51 pm

    These days you should normally just include <immintrin.h>. It includes everything.

    GCC and clang will stop you from using intrinsics for instructions you haven’t enabled at compile time (e.g. with -march=native or -mavx2 -mbmi2 -mpopcnt -mfma -mcx16 -mtune=znver1 or whatever.)

    MSVC and ICC will let you use intrinsics without enabling anything at compile time, but you still should enable AVX before using AVX intrinsics.


    Historically (before immintrin.h pulled in everything) you had to manually include a header for the highest level of intrinsics you wanted.

    This may still be useful with MSVC and ICC to stop yourself from using instruction-sets you don’t want to require.

    <mmintrin.h>  MMX
    <xmmintrin.h> SSE
    <emmintrin.h> SSE2
    <pmmintrin.h> SSE3
    <tmmintrin.h> SSSE3
    <smmintrin.h> SSE4.1
    <nmmintrin.h> SSE4.2
    <ammintrin.h> SSE4A
    <wmmintrin.h> AES
    <immintrin.h> AVX, AVX2, FMA
    

    Including one of these pulls in all previous ones (except AMD-only SSE4A: immintrin.h doesn’t pull that in)

    Some compilers also have <zmmintrin.h> for AVX512.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to provide configuration file, which will describe which STL header files to
If I want to include directories to be searched for header files, which is
What I'm trying to do: I have two files: One is the header.php which
How to generate top level include file which includes all other header files from
I created a header file called ofdm.h which includes all the function prototypes. Then
I want to reimplement a library of which I have the header file. I
is there additional header which is presented by openssl before sending the message to
I have a header which I constructed like this: <header class=top> <a href=> <span
I can't find the header which has the DXTrace function in it. Which should
I have a header.html which start with session_start();. Then the following code, $_SESSION['cart'][$sw_id] is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.