Skip to content

Commit

Permalink
add more SIMD register support for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
brxken128 committed Oct 22, 2023
1 parent 29de876 commit 41f0595
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions zeroize/src/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! [`Zeroize`] impls for ARM64 SIMD registers.
//!
//! Gated behind the `aarch64` feature: MSRV 1.59
//! (the overall crate is MSRV 1.60)
//! Gated behind the `aarch64` feature.
use crate::{atomic_fence, volatile_write, Zeroize};

Expand All @@ -22,7 +21,6 @@ macro_rules! impl_zeroize_for_simd_register {
};
}

// TODO(tarcieri): other NEON register types?
impl_zeroize_for_simd_register! {
uint8x8_t,
uint8x16_t,
Expand All @@ -32,4 +30,22 @@ impl_zeroize_for_simd_register! {
uint32x4_t,
uint64x1_t,
uint64x2_t,
int8x8_t,
int8x16_t,
int16x4_t,
int16x8_t,
int32x2_t,
int32x4_t,
int64x1_t,
int64x2_t,
float32x2_t,
float32x4_t,
float64x1_t,
float64x2_t,
poly8x8_t,
poly8x16_t,
poly16x4_t,
poly16x8_t,
poly64x1_t,
poly64x2_t,
}

0 comments on commit 41f0595

Please sign in to comment.