summaryrefslogtreecommitdiff
path: root/adv-simd.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-03-09 06:45:32 -0500
committerJeffrey Walton <noloader@gmail.com>2018-03-09 06:45:32 -0500
commit8146eda6a32c04063adece40b312369c79b7a349 (patch)
tree394f9fbf53e00b94c86e50b49787aa02ab84e536 /adv-simd.h
parent6d35beb05ddd7885b9dfbcad3d04d56dba9a1eeb (diff)
downloadcryptopp-git-8146eda6a32c04063adece40b312369c79b7a349.tar.gz
Clear unused variable warnings under GCC
Diffstat (limited to 'adv-simd.h')
-rw-r--r--adv-simd.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/adv-simd.h b/adv-simd.h
index 7a560764..36e5015d 100644
--- a/adv-simd.h
+++ b/adv-simd.h
@@ -83,12 +83,10 @@ inline size_t AdvancedProcessBlocks64_6x2_NEON(F2 func2, F6 func6,
#if defined(CRYPTOPP_LITTLE_ENDIAN)
const word32 s_zero32x4[] = {0, 0, 0, 0};
- const word32 s_one32x4[] = {0, 0, 0, 1<<24};
const word32 s_one32x4_1b[] = {0, 0, 0, 1<<24};
const word32 s_one32x4_2b[] = {0, 2<<24, 0, 2<<24};
#else
const word32 s_zero32x4[] = {0, 0, 0, 0};
- const word32 s_one32x4[] = {0, 0, 0, 1};
const word32 s_one32x4_1b[] = {0, 0, 0, 1};
const word32 s_one32x4_2b[] = {0, 2, 0, 2};
#endif
@@ -328,13 +326,9 @@ inline size_t AdvancedProcessBlocks128_NEON1x6(F1 func1, F6 func6,
#if defined(CRYPTOPP_LITTLE_ENDIAN)
const word32 s_zero32x4[] = {0, 0, 0, 0};
const word32 s_one32x4[] = {0, 0, 0, 1<<24};
- const word32 s_one32x4_1b[] = {0, 0, 0, 1<<24};
- const word32 s_one32x4_2b[] = {0, 2<<24, 0, 2<<24};
#else
const word32 s_zero32x4[] = {0, 0, 0, 0};
const word32 s_one32x4[] = {0, 0, 0, 1};
- const word32 s_one32x4_1b[] = {0, 0, 0, 1};
- const word32 s_one32x4_2b[] = {0, 2, 0, 2};
#endif
const ptrdiff_t blockSize = 16;
@@ -481,15 +475,9 @@ inline size_t AdvancedProcessBlocks128_6x2_NEON(F2 func2, F6 func6,
CRYPTOPP_ASSERT(length >= 16);
#if defined(CRYPTOPP_LITTLE_ENDIAN)
- const word32 s_zero32x4[] = {0, 0, 0, 0};
const word32 s_one32x4[] = {0, 0, 0, 1<<24};
- const word32 s_one32x4_1b[] = {0, 0, 0, 1<<24};
- const word32 s_one32x4_2b[] = {0, 2<<24, 0, 2<<24};
#else
- const word32 s_zero32x4[] = {0, 0, 0, 0};
const word32 s_one32x4[] = {0, 0, 0, 1};
- const word32 s_one32x4_1b[] = {0, 0, 0, 1};
- const word32 s_one32x4_2b[] = {0, 2, 0, 2};
#endif
const ptrdiff_t blockSize = 16;