Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
[PMEM-COMMON-8][POAE7-896]use clflush optimize version for clflush (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqi authored Mar 26, 2021
1 parent d1a0d97 commit 581011d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ JNIEXPORT void JNICALL Java_com_intel_oap_common_unsafe_PersistentMemoryPlatform

while (sz >= BYTES_PER_CLFLUSH) {
memcpy(dest, src, BYTES_PER_CLFLUSH);
_mm_clflush(dest);
_mm_clflushopt(dest);
dest += BYTES_PER_CLFLUSH;
src += BYTES_PER_CLFLUSH;
sz -= BYTES_PER_CLFLUSH;
Expand Down

0 comments on commit 581011d

Please sign in to comment.