From d816780ff5d7fb2163464fe93fabb70d1191f0a7 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 17 Dec 2007 19:48:58 +0000 Subject: [PATCH] * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64. --- ChangeLog | 4 ++++ src/polynomial/elem/cl_UP_GF2.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f68bce5..817fb3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-17 Richard B. Kreckel + + * src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64. + 2007-12-04 Richard B. Kreckel * include/cln/types.h ([su]intE): 64-bit exponents for MIPS and RS6000. diff --git a/src/polynomial/elem/cl_UP_GF2.h b/src/polynomial/elem/cl_UP_GF2.h index 32d3866..0fb5e65 100644 --- a/src/polynomial/elem/cl_UP_GF2.h +++ b/src/polynomial/elem/cl_UP_GF2.h @@ -95,7 +95,7 @@ static const _cl_UP gf2_uminus (cl_heap_univpoly_ring* UPR, const _cl_UP& x) return x; } -#if !(defined(__sparc__) || defined(__sparc64__)) +#if !defined(__sparc__) || defined(__sparc64__) // Multiplication of polynomials over GF(2) can unfortunately not profit // from hardware multiply instructions. Use a table instead. // This is a 2^8 x 2^4 table. Maybe a 2^6 x 2^6 table would be better?