aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-05-20 03:13:16 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-05-20 03:13:16 +0000
commitdd87d7e82a707477933eecac614b7cfb1a014018 (patch)
treec365bc7d824b63a5c999b847716be03643cf7ac4
parent98b16c3750d369c095b5b103e548c61e65966df5 (diff)
parente6e2b185c5acc1ce0bab4e13a811ab9a3d813642 (diff)
downloadpsimd-dd87d7e82a707477933eecac614b7cfb1a014018.tar.gz
Snap for 6510525 from e6e2b185c5acc1ce0bab4e13a811ab9a3d813642 to sc-d1-release
Change-Id: Ia989affa4e909a8b6e091d0b2f24cbc1c2558bf3
-rw-r--r--METADATA6
-rw-r--r--include/psimd.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/METADATA b/METADATA
index 3593e7e..364e59b 100644
--- a/METADATA
+++ b/METADATA
@@ -9,11 +9,11 @@ third_party {
type: GIT
value: "https://github.com/Maratyszcza/psimd"
}
- version: "85427dd4c8521cc037a1ffa6fcd25c55fafc8a00"
+ version: "072586a71b55b7f8c584153d223e95687148a900"
license_type: NOTICE
last_upgrade_date {
year: 2020
- month: 4
- day: 17
+ month: 5
+ day: 18
}
}
diff --git a/include/psimd.h b/include/psimd.h
index f674e46..b7cb65d 100644
--- a/include/psimd.h
+++ b/include/psimd.h
@@ -664,9 +664,9 @@
#if defined(__aarch64__) || defined(__ARM_NEON__) && defined(__ARM_FEATURE_FMA)
return (psimd_f32) vfmaq_f32((float32x4_t) a, (float32x4_t) b, (float32x4_t) c);
#elif (defined(__x86_64__) || defined(__i386__) || defined(__i686__)) && defined(__FMA__)
- return (psimd_f32) _mm_fmadd_ps((__m128) c, (__m128) a, (__m128) b);
+ return (psimd_f32) _mm_fmadd_ps((__m128) b, (__m128) c, (__m128) a);
#elif (defined(__x86_64__) || defined(__i386__) || defined(__i686__)) && defined(__FMA4__)
- return (psimd_f32) _mm_macc_ps((__m128) c, (__m128) a, (__m128) b);
+ return (psimd_f32) _mm_macc_ps((__m128) b, (__m128) c, (__m128) a);
#elif defined(__wasm__) && defined(__wasm_simd128__) && defined(__clang__) && PSIMD_ENABLE_WASM_QFMA
return (psimd_f32) __builtin_wasm_qfma_f32x4(a, b, c);
#else