Parallel
64optimz.txt
Associated article: Integer 64-Bit Optimizations
Tags: Parallel
Published source code accompanying the article by Anatoliy Kuznetsov in which he shows how to fully utilize the power of 64-bit CPUs by exploiting wider machine words. Anatoliy presents performance optimization techniques that take advantage of this power.
Integer 64-bit Optimizations
by Anatoliy Kuznetsov
Listing One
{
int a1[2048];
int a2[2048];
int a3[2048];
for (int i = 0; i < 2048; ++i)
{
a3[i] = a1[i] ^ a2[i];
}
}
Listing Two
{
long long a1[1024];
long long a2[1024];
long long a3[1024];
for (int i = 0; ...


