Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

feat: Update boojum nightly - feature gate packed simd (Attempt 2) #50

Merged
merged 10 commits into from
May 29, 2024

Conversation

mm-zk
Copy link
Contributor

@mm-zk mm-zk commented May 27, 2024

What ❔

  • Replacing packed_simd with std::simd in boojum
  • but still keeping the packed_simd under a feature flag include_packed_simd

Why ❔

  • to be able to compile with newest rust nightly.

While I was able to migrate goldilocks to std::simd, I cannot easily migrate poseidon, as it depends on the 128x4 type, that is not supported there.
That's why for now, it falls back to generic implementation, and we keep the 'include_packed_simd' flag if it causes too much performance drop for some cases.

@mm-zk mm-zk requested a review from shamatar May 27, 2024 08:45
@mm-zk mm-zk merged commit 4bcb11f into main May 29, 2024
7 checks passed
@mm-zk mm-zk deleted the mmzk_0527_boojum_v2 branch May 29, 2024 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants