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

Aarch64 scrypt ASM #219

Open
Diatrus opened this issue Mar 16, 2021 · 2 comments
Open

Aarch64 scrypt ASM #219

Diatrus opened this issue Mar 16, 2021 · 2 comments

Comments

@Diatrus
Copy link

Diatrus commented Mar 16, 2021

It would be beneficial with the introduction of arm64 Macs to add native scrypt code for aarch64.

@ryandesign
Copy link

Yes because building cpuminer 2.5.1 on Apple Silicon currently fails with:

Undefined symbols for architecture arm64:
  "_sha256_init_4way", referenced from:
      _scanhash_scrypt in minerd-scrypt.o
  "_sha256_transform_4way", referenced from:
      _scanhash_scrypt in minerd-scrypt.o
  "_sha256_use_4way", referenced from:
      _scanhash_sha256d in minerd-sha2.o
      _scanhash_scrypt in minerd-scrypt.o
  "_sha256d_ms_4way", referenced from:
      _scanhash_sha256d in minerd-sha2.o
ld: symbol(s) not found for architecture arm64

@risner
Copy link

risner commented Aug 17, 2021

https://simd-everywhere.github.io/blog/2020/06/22/transitioning-to-arm-with-simde.html

This should make it rather easy to support Intel and Apple M1?

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

No branches or pull requests

3 participants