Hi Team,
I observer that division of __int128 bit is very heavy operation.
It internally call a routine '__udivti3', which internally call '__udivmodti4'.
Due to it the overall performance is much much slower (almost 15 time slower than if I do it via a combination of 64-bit or microsoft '_udiv128').
Also what to know if I can directly call below routine directly from my code :
unsigned
long long __udivmodti4 (unsigned long long a, unsigned long long b, unsigned long long *c)
This is against statement "Conceptually,in
operation, like ‘/’ or ‘%’, no function is called, so no header is provided for
__udivmodti4 etc. – and we should not
call them explicitly in our code." but wanted to know more on it.
Thank you!
Regards,
Vivek JP Pandey,
Software Professional,
+91-7775054441