Skip to content

Commit

Permalink
Add compatibility with gcc <= 11
Browse files Browse the repository at this point in the history
Implementations based off headers in GCC release 11.4.0.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Radu Nichita <radunichita99@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #3
  • Loading branch information
andreittr authored and unikraft-bot committed Aug 10, 2023
1 parent ee86c1d commit 1bedc16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include-gcc/immintrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,13 @@

#include <avx512vp2intersectvlintrin.h>

#if (__GNUC__ >= 12)
#ifdef __SSE2__
#include <avx512fp16intrin.h>

#include <avx512fp16vlintrin.h>
#endif
#endif

#include <shaintrin.h>

Expand All @@ -120,6 +122,7 @@

#include <vpclmulqdqintrin.h>

#if (__GNUC__ >= 12)
#ifdef __SSE2__
#include <avx512bf16vlintrin.h>

Expand All @@ -129,6 +132,7 @@
#include <avxneconvertintrin.h>
#endif
#endif
#endif

#include <amxtileintrin.h>

Expand Down

0 comments on commit 1bedc16

Please sign in to comment.