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

Optimize uint256_t operations using WASM SIMD #1224

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

Conversation

crStiv
Copy link

@crStiv crStiv commented Jan 30, 2025

Changes

  • Implement SIMD instructions for wasm_madd function
  • Keep backward compatibility with non-SIMD platforms
  • Process 2 limbs per iteration using SIMD

Technical Details

  • Use WebAssembly SIMD intrinsics (wasm_i64x2_splat, wasm_v128_load)
  • Maintain fallback implementation for compatibility
  • No API changes

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.

1 participant