Skip to content

Commit

Permalink
some new functions are aarch64 only
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Oct 17, 2023
1 parent 2b8b8f5 commit 2edce07
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions simde/arm/neon/st1_x2.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ simde_vst1_f32_x2(simde_float32 ptr[HEDLEY_ARRAY_PARAM(4)], simde_float32x2x2_t
SIMDE_FUNCTION_ATTRIBUTES
void
simde_vst1_f64_x2(simde_float64 ptr[HEDLEY_ARRAY_PARAM(2)], simde_float64x1x2_t val) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
vst1_f64_x2(ptr, val);
#else
simde_vst1_f64(ptr, val.val[0]);
simde_vst1_f64(ptr+1, val.val[1]);
#endif
}
#if defined(SIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES)
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vst1_f64_x2
#define vst1_f64_x2(a, b) simde_vst1_f64_x2((a), (b))
#endif
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/st1_x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ simde_vst1_f32_x3(simde_float32 ptr[HEDLEY_ARRAY_PARAM(6)], simde_float32x2x3_t
SIMDE_FUNCTION_ATTRIBUTES
void
simde_vst1_f64_x3(simde_float64 ptr[HEDLEY_ARRAY_PARAM(3)], simde_float64x1x3_t val) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
vst1_f64_x3(ptr, val);
#else
simde_vst1_f64(ptr, val.val[0]);
simde_vst1_f64(ptr+1, val.val[1]);
simde_vst1_f64(ptr+2, val.val[2]);
#endif
}
#if defined(SIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES)
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vst1_f64_x3
#define vst1_f64_x3(a, b) simde_vst1_f64_x3((a), (b))
#endif
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/st1_x4.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ simde_vst1_f32_x4(simde_float32 ptr[HEDLEY_ARRAY_PARAM(8)], simde_float32x2x4_t
SIMDE_FUNCTION_ATTRIBUTES
void
simde_vst1_f64_x4(simde_float64 ptr[HEDLEY_ARRAY_PARAM(4)], simde_float64x1x4_t val) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
vst1_f64_x4(ptr, val);
#else
simde_vst1_f64(ptr, val.val[0]);
Expand All @@ -65,7 +65,7 @@ simde_vst1_f64_x4(simde_float64 ptr[HEDLEY_ARRAY_PARAM(4)], simde_float64x1x4_t
simde_vst1_f64(ptr+3, val.val[3]);
#endif
}
#if defined(SIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES)
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vst1_f64_x4
#define vst1_f64_x4(a, b) simde_vst1_f64_x4((a), (b))
#endif
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/st1q_x2.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ simde_vst1q_f32_x2(simde_float32 ptr[HEDLEY_ARRAY_PARAM(8)], simde_float32x4x2_t
SIMDE_FUNCTION_ATTRIBUTES
void
simde_vst1q_f64_x2(simde_float64 ptr[HEDLEY_ARRAY_PARAM(4)], simde_float64x2x2_t val) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
vst1q_f64_x2(ptr, val);
#else
simde_vst1q_f64(ptr, val.val[0]);
simde_vst1q_f64(ptr+2, val.val[1]);
#endif
}
#if defined(SIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES)
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vst1q_f64_x2
#define vst1q_f64_x2(a, b) simde_vst1q_f64_x2((a), (b))
#endif
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/st1q_x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ simde_vst1q_f32_x3(simde_float32 ptr[HEDLEY_ARRAY_PARAM(12)], simde_float32x4x3_
SIMDE_FUNCTION_ATTRIBUTES
void
simde_vst1q_f64_x3(simde_float64 ptr[HEDLEY_ARRAY_PARAM(6)], simde_float64x2x3_t val) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
vst1q_f64_x3(ptr, val);
#else
simde_vst1q_f64(ptr, val.val[0]);
simde_vst1q_f64(ptr+2, val.val[1]);
simde_vst1q_f64(ptr+4, val.val[2]);
#endif
}
#if defined(SIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES)
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vst1q_f64_x3
#define vst1q_f64_x3(a, b) simde_vst1q_f64_x3((a), (b))
#endif
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/st1q_x4.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ simde_vst1q_f32_x4(simde_float32 ptr[HEDLEY_ARRAY_PARAM(16)], simde_float32x4x4_
SIMDE_FUNCTION_ATTRIBUTES
void
simde_vst1q_f64_x4(simde_float64 ptr[HEDLEY_ARRAY_PARAM(8)], simde_float64x2x4_t val) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE)
vst1q_f64_x4(ptr, val);
#else
simde_vst1q_f64(ptr, val.val[0]);
Expand All @@ -65,7 +65,7 @@ simde_vst1q_f64_x4(simde_float64 ptr[HEDLEY_ARRAY_PARAM(8)], simde_float64x2x4_t
simde_vst1q_f64(ptr+6, val.val[3]);
#endif
}
#if defined(SIMDE_ARM_NEON_A32V7_ENABLE_NATIVE_ALIASES)
#if defined(SIMDE_ARM_NEON_A64V8_ENABLE_NATIVE_ALIASES)
#undef vst1q_f64_x4
#define vst1q_f64_x4(a, b) simde_vst1q_f64_x4((a), (b))
#endif
Expand Down

0 comments on commit 2edce07

Please sign in to comment.