DICL / CCEH

Other
98 stars 30 forks source link

There exists a bug in persist.h #1

Closed shiniaas closed 5 years ago

shiniaas commented 5 years ago

In function clflush volatile char ptr = (char)((unsigned long)data & (\~kCacheLineSize-1)); should be volatile char ptr = (char)((unsigned long)data & (\~(kCacheLineSize-1))); because ~ has a much higher priority

moohnam commented 5 years ago

Thank you for reporting. We fixed the bug. Our CCEH performs slightly better than before.

Thank you again.