aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/prefetch.h
Commit message (Collapse)AuthorAgeFilesLines
* Disable prefetch in AES for now. Problem: with iterative modes like CBC,lloyd2009-09-301-12/+0
| | | | | | | | the prefetch is called for each block of input, and so a total of (4096+256)/64 = 68 prefetches are executed for each block. This reduces performance of iterative modes dramatically. I'm not sure what the right approach for dealing with this is.
* Change the prefetching interface; move to PREFETCH namespace, and add alloyd2009-09-291-9/+25
| | | | helper function for fetching both inputs and outputs of block ciphers.
* Add some basic prefetching support (only supported with GNU C++ or thingslloyd2009-09-291-0/+39
that claim to be by defining __GNUG__ (such as Intel C++)) in new utils header prefetch.h