On 8/16/06, Leanz <[EMAIL PROTECTED]> wrote: > maksudnya 100 x 2 lebih cepat dari 2 x 100.
http://pdos.csail.mit.edu/6.828/2005/readings/i386/IMUL.htm The 80386 uses an early-out multiply algorithm. The actual number of clocks depends on the position of the most significant bit in the optimizing multiplier, shown underlined above. The optimization occurs for positive and negative values. Because of the early-out algorithm, clock counts given are minimum to maximum. karena ada early-out algorithm, begitu sudah tidak ada lagi significant bit di faktor pengali, operasi perkalian bisa langsung selesai. ini mengakibatkan proses perkalian integer di x86 merupakan proses asimetris, bergantung pada letak significant bit. 2 x 100 berarti faktor pengali adalah 100, significant bit dari 100 itu jauh lebih di sebelah kiri ketimbang 100 x 2, faktor pengalinya adalah 2, significant bit-nya cuma 1 bit dari kanan. -- I solemnly swear that I'm up to no good, http://data.startrek.or.id things left unsaid, http://ryosaeba.wordpress.com -- http://nusagames.wordpress.com/ it's a new way of life!.. SPAMMERS WELCOME!! Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/nusagames/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
