Add extra #[inline]; this speeds up the avx2 backend slightly

This commit is contained in:
Jan Bujak 2023-04-11 11:09:19 +00:00
parent 4583c472f5
commit 91e839aae5
No known key found for this signature in database
GPG key ID: 3B438F83D43341D4

View file

@ -765,6 +765,7 @@ impl<'a, 'b> Mul<&'b FieldElement2625x4> for &'a FieldElement2625x4 {
/// The coefficients of the result are bounded with \\( b < 0.007 \\).
///
#[rustfmt::skip] // keep alignment of z* calculations
#[inline]
fn mul(self, rhs: &'b FieldElement2625x4) -> FieldElement2625x4 {
#[inline(always)]
fn m(x: u32x8, y: u32x8) -> u64x4 {