]> xenbits.xensource.com Git - unikraft/libs/intel-intrinsics.git/commit
Add compatibility with Clang <= 10 RELEASE-0.14.0
authorAndrei Tatar <andrei@unikraft.io>
Mon, 14 Aug 2023 19:10:24 +0000 (21:10 +0200)
committerUnikraft <monkey@unikraft.io>
Tue, 15 Aug 2023 18:35:41 +0000 (18:35 +0000)
commit087e4b47cda5b2c98af375ba231419ebb5be0144
tree789f830aa2e7446efafb5dd41f4c695f65f5f7b1
parenta125e4044be64906a9782d0960517cfa19cc2e7b
Add compatibility with Clang <= 10

Clang versions below 11 do not support the AMX, serialize, and tsxldtrk
intrinsics. This change adds a version check when including the
offending headers.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
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: #4
include-llvm/immintrin.h