aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@google.com>2019-12-06 12:23:07 -0800
committerMarat Dukhan <maratek@google.com>2019-12-06 12:23:07 -0800
commit8fd2884b88848180904a40c452a362d1ee429ad5 (patch)
tree8b29cc393942869ccc463f5c372b3405376c2cfa
parent4f2c53947184b56f58607b9e777416bb63ebbde1 (diff)
downloadpsimd-8fd2884b88848180904a40c452a362d1ee429ad5.tar.gz
psimd_div_f32 function
-rw-r--r--include/psimd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/psimd.h b/include/psimd.h
index 74cb3a8..405eb54 100644
--- a/include/psimd.h
+++ b/include/psimd.h
@@ -674,6 +674,10 @@
#endif
}
+ PSIMD_INTRINSIC psimd_f32 psimd_div_f32(psimd_f32 a, psimd_f32 b) {
+ return a / b;
+ }
+
/* Vector and */
PSIMD_INTRINSIC psimd_f32 psimd_andmask_f32(psimd_s32 mask, psimd_f32 v) {
return (psimd_f32) (mask & (psimd_s32) v);