Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detecting PPC64/ARM64 CPUs #113

Merged
merged 2 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Other compiler may work, but are not tested within the continuous integration. In general, the latest minor release of each
listed major compiler version is supported.

* GCC 10, 11, 12
* GCC 10, 11, 12, 13
* clang 11, 12, 13, 14

Tests are run with both C++20 and C++23.
Expand Down
10 changes: 10 additions & 0 deletions include/sdsl/bits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@
#ifndef INCLUDED_SDSL_BITS
#define INCLUDED_SDSL_BITS

// GCC definitions
#if defined(__x86_64__)
#include <immintrin.h> // IWYU pragma: keep
#endif
#if defined(__aarch64__) || defined(_M_ARM64)
#include <arm_neon.h>
#endif
#if defined(__powerpc__) || defined(__powerpc64__)
#include <altivec.h>
#endif

#include <stddef.h>
#include <stdint.h> // for uint64_t uint32_t declaration
#ifdef __SSE4_2__
Expand Down
Loading