summaryrefslogtreecommitdiffstats
path: root/mathfuncs_rcp.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-20 11:23:14 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-20 11:23:14 -0400
commit7433525f9886a22956670202b5203e843cf41e5c (patch)
tree3a57dbc29e5b64b06baa9db86dd9d84b8931316f /mathfuncs_rcp.h
parent1371dedd32e6615bb18918794b82217b77a0d910 (diff)
downloadvecmathlib-7433525f9886a22956670202b5203e843cf41e5c.zip
vecmathlib-7433525f9886a22956670202b5203e843cf41e5c.tar.gz
Describe in comment how NEON implements rcp
Diffstat (limited to 'mathfuncs_rcp.h')
-rw-r--r--mathfuncs_rcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mathfuncs_rcp.h b/mathfuncs_rcp.h
index 586e9d1..d5e412f 100644
--- a/mathfuncs_rcp.h
+++ b/mathfuncs_rcp.h
@@ -38,6 +38,8 @@ namespace vecmathlib {
// Note: don't rewrite this expression, this may introduce
// cancellation errors
r += r * (RV(1.0) - x*r);
+
+ // NEON: r = r * (RV(2.0) - x*r);
}
// Handle negative values
OpenPOWER on IntegriCloud