Skip to content

Commit

Permalink
arm neon clang: skip vrnd native before clang v18
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Mar 20, 2024
1 parent ed4a5cd commit e647f10
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions simde/arm/neon/rnd32x.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ simde_vrnd32x_f32(simde_float32x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x1_t
simde_vrnd32x_f64(simde_float64x1_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd32x_f64(a);
#else
simde_float64x1_private
Expand Down Expand Up @@ -127,7 +127,7 @@ simde_vrnd32xq_f32(simde_float32x4_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x2_t
simde_vrnd32xq_f64(simde_float64x2_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd32xq_f64(a);
#else
simde_float64x2_private
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/rnd32z.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ simde_vrnd32z_f32(simde_float32x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x1_t
simde_vrnd32z_f64(simde_float64x1_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd32z_f64(a);
#else
simde_float64x1_private
Expand Down Expand Up @@ -127,7 +127,7 @@ simde_vrnd32zq_f32(simde_float32x4_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x2_t
simde_vrnd32zq_f64(simde_float64x2_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd32zq_f64(a);
#else
simde_float64x2_private
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/rnd64x.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ simde_vrnd64x_f32(simde_float32x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x1_t
simde_vrnd64x_f64(simde_float64x1_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd64x_f64(a);
#else
simde_float64x1_private
Expand Down Expand Up @@ -127,7 +127,7 @@ simde_vrnd64xq_f32(simde_float32x4_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x2_t
simde_vrnd64xq_f64(simde_float64x2_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd64xq_f64(a);
#else
simde_float64x2_private
Expand Down
4 changes: 2 additions & 2 deletions simde/arm/neon/rnd64z.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ simde_vrnd64z_f32(simde_float32x2_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x1_t
simde_vrnd64z_f64(simde_float64x1_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd64z_f64(a);
#else
simde_float64x1_private
Expand Down Expand Up @@ -127,7 +127,7 @@ simde_vrnd64zq_f32(simde_float32x4_t a) {
SIMDE_FUNCTION_ATTRIBUTES
simde_float64x2_t
simde_vrnd64zq_f64(simde_float64x2_t a) {
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT)
#if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(__ARM_FEATURE_FRINT) && (!defined(__clang__) || SIMDE_DETECT_CLANG_VERSION_CHECK(18, 0, 0))
return vrnd64zq_f64(a);
#else
simde_float64x2_private
Expand Down

0 comments on commit e647f10

Please sign in to comment.