From 7a9a09f32cf29c3ceaa99108738c5a68d60de95a Mon Sep 17 00:00:00 2001 From: animetosho Date: Thu, 12 Nov 2015 21:06:34 +1000 Subject: CARRY_FREE is currently only available for w=4 and w=8 on NEON --- src/gf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1