Skip to content

Commit

Permalink
clang_generator: Update intrinsics list
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 676449427
Change-Id: I16ad0d57ed6c94a0887736fef1d184f0f57a916d
  • Loading branch information
flandr authored and copybara-github committed Sep 19, 2024
1 parent 4094bd8 commit d570589
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sandboxed_api/tools/clang_generator/generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,19 @@ bool GeneratorFactory::runInvocation(
"long{return 0;}",
"__builtin_ia32_vec_init_v8qi=[](auto, auto, auto, auto, auto, "
"auto, auto, auto)->long long{return 0;}",
// AVX
"__builtin_ia32_vpopcntb_128=",
"__builtin_ia32_vpopcntb_256=",
"__builtin_ia32_vpopcntb_512=",
"__builtin_ia32_vpopcntd_128=",
"__builtin_ia32_vpopcntd_256=",
"__builtin_ia32_vpopcntd_512=",
"__builtin_ia32_vpopcntq_128=",
"__builtin_ia32_vpopcntq_256=",
"__builtin_ia32_vpopcntq_512=",
"__builtin_ia32_vpopcntw_128=",
"__builtin_ia32_vpopcntw_256=",
"__builtin_ia32_vpopcntw_512=",
}) {
options.addMacroDef(def);
// To avoid code to include header with compiler intrinsics, undefine a few
Expand Down

0 comments on commit d570589

Please sign in to comment.