aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2022-11-23 16:36:04 -0800
committerJack O'Connor <[email protected]>2022-11-23 16:36:04 -0800
commitf1ac4cf06b61bdda8a65936635ca4a011a6431e9 (patch)
tree6245792a2e3b65ccd33ded2e6b60785c8e0b6109 /src
parentc916f6d463fe1f038bc33e9c3385ce61b6f8cd5f (diff)
missing inlines
Diffstat (limited to 'src')
-rw-r--r--src/kernel2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel2.rs b/src/kernel2.rs
index 3fc6a37..0bd0af2 100644
--- a/src/kernel2.rs
+++ b/src/kernel2.rs
@@ -971,8 +971,7 @@ pub unsafe fn parents_16(
}
// returns (low_words, high_words)
-#[inline]
-#[target_feature(enable = "avx512f,avx512vl")]
+#[inline(always)]
unsafe fn incrementing_counter(initial_value: u64) -> (__m512i, __m512i) {
let mut values = [initial_value; 16];
for i in 0..16 {
@@ -1207,6 +1206,7 @@ pub unsafe fn xof_xor_16(
flags: u32,
output: &mut [u8; BLOCK_LEN * 16],
) {
+ #[inline(always)]
unsafe fn write_4_lanes<const LANE: i32>(vecs: &[__m512i; 16], first_vec: usize, out: *mut u8) {
_mm_storeu_epi32(
out.add(0 * 16) as *mut i32,