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

Support Linux aarch64 via sse2neon #69

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

martin-g
Copy link

@martin-g martin-g commented Apr 25, 2024

Fixes #67

This is a PR that uses https://github.com/DLTcollab/sse2neon/ to translate SSE to NEON.
It basically disables the usage of arm_neon.h and uses the sse4.1 impls for aarch64.

If the PR is accepted then all the code for __ARM_NEON_NO could be removed!

martin-g added 10 commits April 25, 2024 15:10
It builds on Linux x86_64 natively and on Linux ARM64 via emulation
(QEMU)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
```
blksrc.cc: In constructor 'Block::Block(const Seq*, INT, bool)':
  blksrc.cc:400:2: error: 'prelude' was not declared in this scope
    400 |  prelude = max_width() * (istron? 3: 1) - 1;
        |  ^~~~~~~
  blksrc.cc:404:2: error: 'margin' was not declared in this scope
    404 |  margin = prelude;
        |  ^~~~~~
```

Replace all usages of __aarch64__ with __ARM_NEON

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
@martin-g
Copy link
Author

Successful CI run at my fork: https://github.com/martin-g/spaln/actions/runs/8833642629

…versions

The overwrite of CXX is ugly though due to https://github.com/ogotoh/spaln/blob/db1f024fb36aa0143bf6a92ae7fbe6b79df70d0a/src/Makefile.in#L16

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
martin-g added a commit to martin-g/bioconda-recipes that referenced this pull request May 7, 2024
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
martin-g added a commit to martin-g/bioconda-recipes that referenced this pull request May 7, 2024
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
martin-g added a commit to martin-g/bioconda-recipes that referenced this pull request May 7, 2024
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
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.

Build failure on Linux ARM64
1 participant