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!

It builds on Linux x86_64 natively and on Linux ARM64 via emulation
(QEMU)

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
```
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 <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g
Copy link
Author

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

martin-g added a commit to martin-g/bioconda-recipes that referenced this pull request May 7, 2024
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
martin-g added a commit to martin-g/bioconda-recipes that referenced this pull request May 7, 2024
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
martin-g added a commit to martin-g/bioconda-recipes that referenced this pull request May 7, 2024
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
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