Is there a fast way of using 64bit ints on 32 x86 machines (in c (added: and c++) language compilers)?
32 bit x86 support 64 bit operations in some extent (there is some movq instruction in old mmx and some other commands probably), but how to use it from c?
What if someone want to use a 64bit ints arithmetic in c on 32 bit x86 machines - how to do it most easy and efficient?
//EdiT
do by now I found some of candidates for it
uint64_t A;
long long a;
int64 a;
__int64 a;
what should be used ? is there a chance that some implementation of above arthimetic is better/faster than other?
As far as I managed to know, there are somewhat eleborated procedures in assemby putted here on 32-bit systems, so probably there is no way of doing accelerated 64-bit multiply or division on 32-bit systems (software routines are used) (This would be a partial answer to that) But i am not sure in 100 % still, so correct this if I am wrong.