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

Get it to work on powerpc #4

Closed
wants to merge 2 commits into from
Closed
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
8 changes: 7 additions & 1 deletion onnxruntime/core/mlas/lib/mlasi.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ Module Name:
#include <immintrin.h>
#endif
#endif
#if defined(__powerpc64__)
#define NO_WARN_X86_INTRINSICS
#include "ppc64/NEON_2_SSE.h"
//#error Im definitely in that section
#endif


//
// Macro to place variables at a specified alignment.
Expand Down Expand Up @@ -696,7 +702,7 @@ MlasGetMaximumThreadCount(
#elif defined(MLAS_TARGET_ARM64)
#define MLAS_NEON_INTRINSICS
#define MLAS_NEON64_INTRINSICS
#elif defined(MLAS_TARGET_AMD64_IX86)
#elif defined(MLAS_TARGET_AMD64_IX86) || defined(__ALTIVEC__)
#define MLAS_SSE2_INTRINSICS
#if defined(__SSE4_1__) || (defined(_MSC_VER) && defined(__AVX__))
#define MLAS_SSE41_INTRINSICS
Expand Down
Loading