mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
i hate operator overloading
Signed-off-by: contextswap <ctxswp@proton.me>
This commit is contained in:
parent
a0b53d2c62
commit
f2bbc43777
1 changed files with 3 additions and 3 deletions
|
@ -809,10 +809,10 @@ namespace data
|
|||
#if defined(__AVX__) // not all X86 targets supports AVX (like old Pentium, see #1600)
|
||||
if(i2p::cpu::avx)
|
||||
{
|
||||
__m256 ymm_0 = _mm256_loadu_ps((float const*)&key1);
|
||||
__m256 ymm_1 = _mm256_loadu_ps((float const*)&key2);
|
||||
__m256 ymm_0 = _mm256_loadu_ps((float const*)*key1);
|
||||
__m256 ymm_1 = _mm256_loadu_ps((float const*)*key2);
|
||||
ymm_1 = _mm256_xor_ps(ymm_1, ymm_0);
|
||||
_mm256_storeu_ps((float*)m.metric, ymm_1);
|
||||
_mm256_storeu_ps((float*)*m.metric, ymm_1);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue