diff options
author | Loic Dachary <loic@dachary.org> | 2014-03-30 00:06:48 +0100 |
---|---|---|
committer | Loic Dachary <loic@dachary.org> | 2014-03-30 00:06:48 +0100 |
commit | d569220629d476d687859968fc4bee3194eca16f (patch) | |
tree | 5704cbda53556cff97b1e7f50fe14b59dc0daf36 /src | |
parent | c61ad61b439188fa9ec7cf8747fe3bd47f7ef17f (diff) | |
download | gf-complete-d569220629d476d687859968fc4bee3194eca16f.tar.gz |
do not compile if used in SSE4 code path only
Acknowledge that gf_w128_split_4_128_multiply_region and
gf_w128_split_4_128_sse_multiply_region are only used when the
INTEL_SSE4 flag is present, even though they only need INTEL_SSSE3
It suppresses a compilation warning complaining about them not being
used if INTEL_SSE4 is absent and INTEL_SSSE3 is present.
Signed-off-by: Loic Dachary <loic@dachary.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/gf_w128.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gf_w128.c b/src/gf_w128.c index 881df00..6f9b00a 100644 --- a/src/gf_w128.c +++ b/src/gf_w128.c @@ -595,7 +595,7 @@ gf_w128_split_4_128_multiply_region(gf_t *gf, void *src, void *dest, gf_val_128_ } } -#ifdef INTEL_SSSE3 +#if defined(INTEL_SSSE3) && defined(INTEL_SSE4) static void gf_w128_split_4_128_sse_multiply_region(gf_t *gf, void *src, void *dest, gf_val_128_t val, int bytes, int xor) @@ -694,7 +694,7 @@ gf_w128_split_4_128_sse_multiply_region(gf_t *gf, void *src, void *dest, gf_val_ } #endif -#ifdef INTEL_SSSE3 +#if defined(INTEL_SSSE3) && defined(INTEL_SSE4) static void gf_w128_split_4_128_sse_altmap_multiply_region(gf_t *gf, void *src, void *dest, gf_val_128_t val, int bytes, int xor) |