lundi 25 janvier 2016

Global bitwise shift of 128, 256, 512 bit registry using intrinsics?

Consider an array of 64 bit unsigned integers, like:

std::array<unsigned long long int, 20> a;

What is the fastest way, including using intel or compiler intrinsics (this or that) (using g++ 5.3), to perform a global bitshift (right or left) as this array was a single bit integer?

Aucun commentaire:

Enregistrer un commentaire