Skip to content

Commit

Permalink
move to array simd
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezrashaw committed Apr 22, 2023
1 parent 5f5ddf8 commit 461a87b
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 1,086 deletions.
4 changes: 2 additions & 2 deletions crates/core_arch/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ macro_rules! static_assert_simm_bits {
macro_rules! types {
($(
$(#[$doc:meta])*
pub struct $name:ident($($fields:tt)*);
pub struct $name:ident($field:tt);
)*) => ($(
$(#[$doc])*
#[derive(Copy, Clone, Debug)]
#[allow(non_camel_case_types)]
#[repr(simd)]
#[allow(clippy::missing_inline_in_public_items)]
pub struct $name($($fields)*);
pub struct $name($field);
)*)
}

Expand Down
Loading

0 comments on commit 461a87b

Please sign in to comment.