summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2013-12-10 09:00:32 -0800
committerKevin Greenan <kmgreen2@gmail.com>2013-12-10 09:00:32 -0800
commitef18bccc3a063790e29c6cb33f37974b5f1c1ae4 (patch)
tree555d39b1bff011f2c1cb9f5bf6ae8ac62fc8775d /src
parente1c76b4dd48a3ab323e20e94ebe984d7ded7c183 (diff)
downloadgf-complete-ef18bccc3a063790e29c6cb33f37974b5f1c1ae4.tar.gz
Group for w=128 was failing because SSE4 is enabled, but not ARCH_64 (on my Linux VM). Ensure that both are defined
when init'ing group for w=128.
Diffstat (limited to 'src')
-rw-r--r--src/gf_w128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gf_w128.c b/src/gf_w128.c
index 5f6e585..d2e6dc2 100644
--- a/src/gf_w128.c
+++ b/src/gf_w128.c
@@ -1880,7 +1880,7 @@ int gf_w128_group_init(gf_t *gf)
gf->inverse.w128 = gf_w128_euclid;
gf->multiply_region.w128 = gf_w128_group_multiply_region;
- #ifdef INTEL_SSE4
+ #if defined(INTEL_SSE4) && defined(ARCH_64)
if(!(scratch->region_type & GF_REGION_NOSSE))
{
if ((g_m != 4) && ((g_r != 4) || (g_r != 8)))