mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Add extra #[inline]; this speeds up the avx2 backend slightly
This commit is contained in:
parent
4583c472f5
commit
91e839aae5
1 changed files with 1 additions and 0 deletions
|
|
@ -765,6 +765,7 @@ impl<'a, 'b> Mul<&'b FieldElement2625x4> for &'a FieldElement2625x4 {
|
||||||
/// The coefficients of the result are bounded with \\( b < 0.007 \\).
|
/// The coefficients of the result are bounded with \\( b < 0.007 \\).
|
||||||
///
|
///
|
||||||
#[rustfmt::skip] // keep alignment of z* calculations
|
#[rustfmt::skip] // keep alignment of z* calculations
|
||||||
|
#[inline]
|
||||||
fn mul(self, rhs: &'b FieldElement2625x4) -> FieldElement2625x4 {
|
fn mul(self, rhs: &'b FieldElement2625x4) -> FieldElement2625x4 {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn m(x: u32x8, y: u32x8) -> u64x4 {
|
fn m(x: u32x8, y: u32x8) -> u64x4 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue