Skip to content

Commit

Permalink
no sse compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ladnir committed Jan 23, 2024
1 parent e6251a8 commit 9b07475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libOTe/Tools/TungstenCode/TungstenCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,10 @@ namespace osuCrypto {

for (u64 j = 0; j < Table::data.size();)
{
#ifdef ENABLE_SSE
if (rangeCheck == false || i + Table::data.size() * 2 < size)
_mm_prefetch((char*)(x + i + Table::data.size() * 2), _MM_HINT_T0);
#endif

for (u64 k = 0; k < ChunkSize; ++k, ++j, ++i)
{
Expand Down

0 comments on commit 9b07475

Please sign in to comment.