Skip to content

Commit

Permalink
chore: add avx acceleration to poseidon hash function
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmp33 committed Nov 19, 2023
1 parent 99c56a0 commit e5c380b
Show file tree
Hide file tree
Showing 5 changed files with 172 additions and 245 deletions.
2 changes: 1 addition & 1 deletion algebraic/src/arch/x86_64/avx2_field_gl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Avx2GoldilocksField {
}
#[inline]
pub fn reduce(x: __m256i, y: __m256i) -> Avx2GoldilocksField {
Self::new(unsafe {reduce128((x,y))})
Self::new(unsafe { reduce128((x, y)) })
}
}

Expand Down
Loading

0 comments on commit e5c380b

Please sign in to comment.