Clear unused variable warnings under GCC
parent
6d35beb05d
commit
8146eda6a3
12
adv-simd.h
12
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue