<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi Team,</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I observer that division of __int128 bit is very heavy operation.</div><div class="gmail_default" style="font-family:verdana,sans-serif">It internally call a routine '<span style="background-color:yellow;color:rgb(85,85,85);font-family:Consolas;font-size:9.5pt">__udivti3</span>', which internally call '<span style="background-color:yellow;color:rgb(85,85,85);font-family:Consolas;font-size:9.5pt">__udivmodti4</span>'. </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">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 '<span style="font-size:10pt;font-family:"Courier New"">_udiv128</span>').</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Also what to know if I can directly call below routine directly from my code : </div><div class="gmail_default" style="font-family:verdana,sans-serif"><em><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black">unsigned
long long</span></em><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black"> <strong>__udivmodti4</strong> <em>(unsigned long long </em><var>a</var><em>, unsigned long long </em><var>b</var><em>, unsigned long long *</em><var>c</var><em>)</em></span><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">This is against statement "<span style="font-size:10pt;font-family:"Courier New";color:black">Conceptually,in
operation, like ‘/’ or ‘%’, no function is called, so no header is provided for
</span><strong style="font-family:Arial,Helvetica,sans-serif"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:black">__udivmodti4</span></strong><span style="font-size:10pt;font-family:"Courier New";color:black"> etc. – and we should not
call them explicitly in our code.</span>" but wanted to know more on it.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="verdana, sans-serif">Thank you!<br>Regards,<br>Vivek JP Pandey,<br>Software Professional,<br><font color="#351c75" size="1"><b>+91-7775054441</b></font></font><br></div></div></div></div></div></div>