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

Use the simde header library for non-x86 compatibility #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nileshpatra
Copy link

@nileshpatra nileshpatra commented Dec 5, 2020

Currently, plast builds only on x86 arches, using simde, I've attempted to make it build across more arches.

Achieved success on: amd64, arm64, armhf, armel, mipel, mips64el, i386, riscv64 and several other arches.

cc: @ivajloip @cdeltel

@nileshpatra nileshpatra changed the title Use the simde header library for non-x86 compatability Use the simde header library for non-x86 compatibility Dec 6, 2020
@mr-c
Copy link

mr-c commented Jan 30, 2021

Currently, plast builds only on x86 arches, using simde,

Well, due to the use of SIMD intrinsics, yes :-)

@@ -37,7 +37,7 @@ if (debug)
set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -g -p")
message("-- COMPILATION IN DEBUG MODE")
else()
set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -O3 -funroll-loops -fomit-frame-pointer -msse3 ")
set (LIBRARY_COMPILE_DEFINITIONS "${LIBRARY_COMPILE_DEFINITIONS} -O3 -funroll-loops -fomit-frame-pointer")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-msse3 can stay; we'll handle it different in the Debian package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants