From a47c2701160094d0e7c1959407d60b4d88da4f6a Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 12 Jun 2013 23:16:45 -0400 Subject: Correct fma --- vec_float_neon.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vec_float_neon.h b/vec_float_neon.h index 422f578..fccc10f 100644 --- a/vec_float_neon.h +++ b/vec_float_neon.h @@ -451,7 +451,11 @@ namespace vecmathlib { // return vrndm_f32(v); return MF::vml_floor(*this); } - realvec fma(realvec y, realvec z) const { return vmla_f32(v, y.v, z.v); } + realvec fma(realvec y, realvec z) const + { + // TODO: vfma_f32 + return vmla_f32(z.v, v, y.v); + } realvec fmax(realvec y) const { return vmax_f32(v, y.v); } realvec fmin(realvec y) const { return vmin_f32(v, y.v); } realvec fmod(realvec y) const { return MF::vml_fmod(*this, y); } -- cgit v1.1