summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranimetosho <animetosho@users.noreply.github.com>2015-11-12 21:06:34 +1000
committeranimetosho <animetosho@users.noreply.github.com>2015-11-12 21:06:34 +1000
commit7a9a09f32cf29c3ceaa99108738c5a68d60de95a (patch)
treed18d9328a1f0195d201db4367e51d6f7a4a11c27
parent363da207236617b1d50f04bb191a14f0de364303 (diff)
downloadgf-complete-7a9a09f32cf29c3ceaa99108738c5a68d60de95a.tar.gz
CARRY_FREE is currently only available for w=4 and w=8 on NEON
-rw-r--r--src/gf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gf.c b/src/gf.c
index 835fb12..b9caa26 100644
--- a/src/gf.c
+++ b/src/gf.c
@@ -219,7 +219,7 @@ int gf_error_check(int w, int mult_type, int region_type, int divide_type,
#endif
#ifdef ARM_NEON
- pclmul = 1;
+ pclmul = (w == 4 || w == 8);
sse3 = 1;
#endif