Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
Comment on lines +33 to +50
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest putting these in alphabetical order (I'd suggest, but they're all below uint already)

}