Skip to content

Commit

Permalink
Remove vectors under 64-bit width
Browse files Browse the repository at this point in the history
  • Loading branch information
calebzulawski committed Sep 26, 2020
1 parent 88bfbb0 commit cfda50a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 51 deletions.
12 changes: 6 additions & 6 deletions crates/core_simd/src/fmt.rs
Expand Up @@ -74,10 +74,10 @@ macro_rules! impl_fmt_trait {

impl_fmt_trait! {
integers:
crate::u8x2, crate::u8x4, crate::u8x8, crate::u8x16, crate::u8x32, crate::u8x64,
crate::i8x2, crate::i8x4, crate::i8x8, crate::i8x16, crate::i8x32, crate::i8x64,
crate::u16x2, crate::u16x4, crate::u16x8, crate::u16x16, crate::u16x32,
crate::i16x2, crate::i16x4, crate::i16x8, crate::i16x16, crate::i16x32,
crate::u8x8, crate::u8x16, crate::u8x32, crate::u8x64,
crate::i8x8, crate::i8x16, crate::i8x32, crate::i8x64,
crate::u16x4, crate::u16x8, crate::u16x16, crate::u16x32,
crate::i16x4, crate::i16x8, crate::i16x16, crate::i16x32,
crate::u32x2, crate::u32x4, crate::u32x8, crate::u32x16,
crate::i32x2, crate::i32x4, crate::i32x8, crate::i32x16,
crate::u64x2, crate::u64x4, crate::u64x8,
Expand All @@ -96,8 +96,8 @@ impl_fmt_trait! {

impl_fmt_trait! {
masks:
crate::mask8x2, crate::mask8x4, crate::mask8x8, crate::mask8x16, crate::mask8x32, crate::mask8x64,
crate::mask16x2, crate::mask16x4, crate::mask16x8, crate::mask16x16, crate::mask16x32,
crate::mask8x8, crate::mask8x16, crate::mask8x32, crate::mask8x64,
crate::mask16x4, crate::mask16x8, crate::mask16x16, crate::mask16x32,
crate::mask32x2, crate::mask32x4, crate::mask32x8, crate::mask32x16,
crate::mask64x2, crate::mask64x4, crate::mask64x8,
crate::mask128x2, crate::mask128x4,
Expand Down
5 changes: 0 additions & 5 deletions crates/core_simd/src/vectors_i16.rs
@@ -1,8 +1,3 @@
define_integer_vector! {
/// Vector of two `i16` values
struct i16x2([i16; 2]);
}

define_integer_vector! {
/// Vector of four `i16` values
struct i16x4([i16; 4]);
Expand Down
10 changes: 0 additions & 10 deletions crates/core_simd/src/vectors_i8.rs
@@ -1,13 +1,3 @@
define_integer_vector! {
/// Vector of two `i8` values
struct i8x2([i8; 2]);
}

define_integer_vector! {
/// Vector of four `i8` values
struct i8x4([i8; 4]);
}

define_integer_vector! {
/// Vector of eight `i8` values
struct i8x8([i8; 8]);
Expand Down
5 changes: 0 additions & 5 deletions crates/core_simd/src/vectors_mask16.rs
@@ -1,10 +1,5 @@
use crate::mask16;

define_mask_vector! {
/// Vector of two `mask16` values
struct mask16x2([i16 as mask16; 2]);
}

define_mask_vector! {
/// Vector of four `mask16` values
struct mask16x4([i16 as mask16; 4]);
Expand Down
10 changes: 0 additions & 10 deletions crates/core_simd/src/vectors_mask8.rs
@@ -1,15 +1,5 @@
use crate::mask8;

define_mask_vector! {
/// Vector of two `mask8` values
struct mask8x2([i8 as mask8; 2]);
}

define_mask_vector! {
/// Vector of four `mask8` values
struct mask8x4([i8 as mask8; 4]);
}

define_mask_vector! {
/// Vector of eight `mask8` values
struct mask8x8([i8 as mask8; 8]);
Expand Down
5 changes: 0 additions & 5 deletions crates/core_simd/src/vectors_u16.rs
@@ -1,8 +1,3 @@
define_integer_vector! {
/// Vector of two `u16` values
struct u16x2([u16; 2]);
}

define_integer_vector! {
/// Vector of four `u16` values
struct u16x4([u16; 4]);
Expand Down
10 changes: 0 additions & 10 deletions crates/core_simd/src/vectors_u8.rs
@@ -1,13 +1,3 @@
define_integer_vector! {
/// Vector of two `u8` values
struct u8x2([u8; 2]);
}

define_integer_vector! {
/// Vector of four `u8` values
struct u8x4([u8; 4]);
}

define_integer_vector! {
/// Vector of eight `u8` values
struct u8x8([u8; 8]);
Expand Down

0 comments on commit cfda50a

Please sign in to comment.