Commit ec90d25979f99d58c8ad76c410fdff3f5073f0dc

Authored by Loic Dachary
1 parent 52267055
Exists in v1

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>
(cherry picked from commit d569220629d476d687859968fc4bee3194eca16f)
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
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_
595 595 }
596 596 }
597 597  
598   -#ifdef INTEL_SSSE3
  598 +#if defined(INTEL_SSSE3) && defined(INTEL_SSE4)
599 599 static
600 600 void
601 601 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_
694 694 }
695 695 #endif
696 696  
697   -#ifdef INTEL_SSSE3
  697 +#if defined(INTEL_SSSE3) && defined(INTEL_SSE4)
698 698 static
699 699 void
700 700 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)
... ...