Skip to content

Commit

Permalink
neon/recpe: Remove duplicate code and fix copyright year
Browse files Browse the repository at this point in the history
Fixes #756
  • Loading branch information
ngzhian authored and nemequ committed May 1, 2021
1 parent e8a8a09 commit 5a27732
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions simde/arm/neon/recpe.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* Copyright:
* 2020 Evan Nemerson <evan@nemerson.com>
* 2020 Zhi An Ng <zhin@google.com> (Copyright owned by Google, LLC)
* 2021 Zhi An Ng <zhin@google.com> (Copyright owned by Google, LLC)
*/

#if !defined(SIMDE_ARM_NEON_RECPE_H)
Expand Down Expand Up @@ -65,11 +65,6 @@ simde_vrecpe_f32(simde_float32x2_t a) {
}
#endif

SIMDE_VECTORIZE
for (size_t i = 0 ; i < (sizeof(r_.values) / sizeof(r_.values[0])) ; i++) {
r_.values[i] = 1.0f / a_.values[i];
}

return simde_float32x2_from_private(r_);
#endif
}
Expand Down

0 comments on commit 5a27732

Please sign in to comment.