Skip to content

Commit dbd3bda

Browse files
committed
Use inline
1 parent 20c1430 commit dbd3bda

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/embedding/simd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ pub mod f32_ops {
386386
#[allow(unused_imports)]
387387
use std::arch::x86_64::*;
388388

389-
#[inline(always)]
389+
#[inline]
390390
#[target_feature(enable = "avx2")]
391391
unsafe fn hsum_f32x8(v: __m256) -> f32 {
392392
let v128 = _mm_add_ps(_mm256_castps256_ps128(v), _mm256_extractf128_ps(v, 1));
@@ -906,7 +906,7 @@ pub mod i8_ops {
906906
#[allow(unused_imports)]
907907
use std::arch::x86_64::*;
908908

909-
#[inline(always)]
909+
#[inline]
910910
#[target_feature(enable = "avx2")]
911911
unsafe fn hsum_i32x8(v: __m256i) -> i32 {
912912
let v128 = _mm_add_epi32(_mm256_castsi256_si128(v), _mm256_extracti128_si256(v, 1));

0 commit comments

Comments
 (0)