mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 20:45:17 -07:00
Simplify
This commit is contained in:
parent
6ac55a30be
commit
862c747a20
@ -200,8 +200,7 @@ if (bytes >= 512) {
|
|||||||
in12 = x[12];
|
in12 = x[12];
|
||||||
in13 = x[13];
|
in13 = x[13];
|
||||||
in1213 = ((uint64_t) in12) | (((uint64_t) in13) << 32);
|
in1213 = ((uint64_t) in12) | (((uint64_t) in13) << 32);
|
||||||
x_12 = _mm256_broadcastq_epi64(_mm_cvtsi64_si128(in1213));
|
x_12 = x_13 = _mm256_broadcastq_epi64(_mm_cvtsi64_si128(in1213));
|
||||||
x_13 = _mm256_broadcastq_epi64(_mm_cvtsi64_si128(in1213));
|
|
||||||
|
|
||||||
t12 = _mm256_add_epi64(addv12, x_12);
|
t12 = _mm256_add_epi64(addv12, x_12);
|
||||||
t13 = _mm256_add_epi64(addv13, x_13);
|
t13 = _mm256_add_epi64(addv13, x_13);
|
||||||
|
@ -55,8 +55,7 @@ if (bytes >= 512) {
|
|||||||
in9 = x[13]; /* see arrays above for the address translation */
|
in9 = x[13]; /* see arrays above for the address translation */
|
||||||
in89 = ((uint64_t) in8) | (((uint64_t) in9) << 32);
|
in89 = ((uint64_t) in8) | (((uint64_t) in9) << 32);
|
||||||
|
|
||||||
z8 = _mm256_broadcastq_epi64(_mm_cvtsi64_si128(in89));
|
z8 = z9 = _mm256_broadcastq_epi64(_mm_cvtsi64_si128(in89));
|
||||||
z9 = _mm256_broadcastq_epi64(_mm_cvtsi64_si128(in89));
|
|
||||||
|
|
||||||
t8 = _mm256_add_epi64(addv8, z8);
|
t8 = _mm256_add_epi64(addv8, z8);
|
||||||
t9 = _mm256_add_epi64(addv9, z9);
|
t9 = _mm256_add_epi64(addv9, z9);
|
||||||
|
Loading…
Reference in New Issue
Block a user