Skip to content

Commit 5728e50

Browse files
committed
Change simd_from argument order to match others
1 parent 54f9d42 commit 5728e50

File tree

9 files changed

+177
-177
lines changed

9 files changed

+177
-177
lines changed

fearless_simd/src/generated/avx2.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7009,7 +7009,7 @@ impl Simd for Avx2 {
70097009
}
70107010
impl<S: Simd> SimdFrom<__m256, S> for f32x8<S> {
70117011
#[inline(always)]
7012-
fn simd_from(arch: __m256, simd: S) -> Self {
7012+
fn simd_from(simd: S, arch: __m256) -> Self {
70137013
Self {
70147014
val: unsafe { core::mem::transmute_copy(&arch) },
70157015
simd,
@@ -7024,7 +7024,7 @@ impl<S: Simd> From<f32x8<S>> for __m256 {
70247024
}
70257025
impl<S: Simd> SimdFrom<__m256i, S> for i8x32<S> {
70267026
#[inline(always)]
7027-
fn simd_from(arch: __m256i, simd: S) -> Self {
7027+
fn simd_from(simd: S, arch: __m256i) -> Self {
70287028
Self {
70297029
val: unsafe { core::mem::transmute_copy(&arch) },
70307030
simd,
@@ -7039,7 +7039,7 @@ impl<S: Simd> From<i8x32<S>> for __m256i {
70397039
}
70407040
impl<S: Simd> SimdFrom<__m256i, S> for u8x32<S> {
70417041
#[inline(always)]
7042-
fn simd_from(arch: __m256i, simd: S) -> Self {
7042+
fn simd_from(simd: S, arch: __m256i) -> Self {
70437043
Self {
70447044
val: unsafe { core::mem::transmute_copy(&arch) },
70457045
simd,
@@ -7054,7 +7054,7 @@ impl<S: Simd> From<u8x32<S>> for __m256i {
70547054
}
70557055
impl<S: Simd> SimdFrom<__m256i, S> for mask8x32<S> {
70567056
#[inline(always)]
7057-
fn simd_from(arch: __m256i, simd: S) -> Self {
7057+
fn simd_from(simd: S, arch: __m256i) -> Self {
70587058
Self {
70597059
val: unsafe { core::mem::transmute_copy(&arch) },
70607060
simd,
@@ -7069,7 +7069,7 @@ impl<S: Simd> From<mask8x32<S>> for __m256i {
70697069
}
70707070
impl<S: Simd> SimdFrom<__m256i, S> for i16x16<S> {
70717071
#[inline(always)]
7072-
fn simd_from(arch: __m256i, simd: S) -> Self {
7072+
fn simd_from(simd: S, arch: __m256i) -> Self {
70737073
Self {
70747074
val: unsafe { core::mem::transmute_copy(&arch) },
70757075
simd,
@@ -7084,7 +7084,7 @@ impl<S: Simd> From<i16x16<S>> for __m256i {
70847084
}
70857085
impl<S: Simd> SimdFrom<__m256i, S> for u16x16<S> {
70867086
#[inline(always)]
7087-
fn simd_from(arch: __m256i, simd: S) -> Self {
7087+
fn simd_from(simd: S, arch: __m256i) -> Self {
70887088
Self {
70897089
val: unsafe { core::mem::transmute_copy(&arch) },
70907090
simd,
@@ -7099,7 +7099,7 @@ impl<S: Simd> From<u16x16<S>> for __m256i {
70997099
}
71007100
impl<S: Simd> SimdFrom<__m256i, S> for mask16x16<S> {
71017101
#[inline(always)]
7102-
fn simd_from(arch: __m256i, simd: S) -> Self {
7102+
fn simd_from(simd: S, arch: __m256i) -> Self {
71037103
Self {
71047104
val: unsafe { core::mem::transmute_copy(&arch) },
71057105
simd,
@@ -7114,7 +7114,7 @@ impl<S: Simd> From<mask16x16<S>> for __m256i {
71147114
}
71157115
impl<S: Simd> SimdFrom<__m256i, S> for i32x8<S> {
71167116
#[inline(always)]
7117-
fn simd_from(arch: __m256i, simd: S) -> Self {
7117+
fn simd_from(simd: S, arch: __m256i) -> Self {
71187118
Self {
71197119
val: unsafe { core::mem::transmute_copy(&arch) },
71207120
simd,
@@ -7129,7 +7129,7 @@ impl<S: Simd> From<i32x8<S>> for __m256i {
71297129
}
71307130
impl<S: Simd> SimdFrom<__m256i, S> for u32x8<S> {
71317131
#[inline(always)]
7132-
fn simd_from(arch: __m256i, simd: S) -> Self {
7132+
fn simd_from(simd: S, arch: __m256i) -> Self {
71337133
Self {
71347134
val: unsafe { core::mem::transmute_copy(&arch) },
71357135
simd,
@@ -7144,7 +7144,7 @@ impl<S: Simd> From<u32x8<S>> for __m256i {
71447144
}
71457145
impl<S: Simd> SimdFrom<__m256i, S> for mask32x8<S> {
71467146
#[inline(always)]
7147-
fn simd_from(arch: __m256i, simd: S) -> Self {
7147+
fn simd_from(simd: S, arch: __m256i) -> Self {
71487148
Self {
71497149
val: unsafe { core::mem::transmute_copy(&arch) },
71507150
simd,
@@ -7159,7 +7159,7 @@ impl<S: Simd> From<mask32x8<S>> for __m256i {
71597159
}
71607160
impl<S: Simd> SimdFrom<__m256d, S> for f64x4<S> {
71617161
#[inline(always)]
7162-
fn simd_from(arch: __m256d, simd: S) -> Self {
7162+
fn simd_from(simd: S, arch: __m256d) -> Self {
71637163
Self {
71647164
val: unsafe { core::mem::transmute_copy(&arch) },
71657165
simd,
@@ -7174,7 +7174,7 @@ impl<S: Simd> From<f64x4<S>> for __m256d {
71747174
}
71757175
impl<S: Simd> SimdFrom<__m256i, S> for mask64x4<S> {
71767176
#[inline(always)]
7177-
fn simd_from(arch: __m256i, simd: S) -> Self {
7177+
fn simd_from(simd: S, arch: __m256i) -> Self {
71787178
Self {
71797179
val: unsafe { core::mem::transmute_copy(&arch) },
71807180
simd,

0 commit comments

Comments
 (0)