Path: chuka.playstation.co.uk!news From: "pal" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Daft Question [long] Date: 2 Sep 2001 22:28:11 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 22 Message-ID: <01c133fe$0a5a89e0$b00ae4d5@pal-s-omnibook> References: <9lrqqf$3j63@www.netyaroze-europe.com> <01c129ca$a5a6f700$d81fe4d5@pal-s-omnibook> <9m1d9c$b2i7@www.netyaroze-europe.com> <01c12ceb$fba64880$9709e4d5@pal-s-omnibook> <9m9c88$ioj5@www.netyaroze-europe.com> <01c12edc$cc2bf440$991fe4d5@pal-s-omnibook> <9me1g1$1sb13@www.netyaroze-europe.com> <9meajl$1sb17@www.netyaroze-europe.com> <01c13018$85386ae0$122e1bd4@pal-s-omnibook> <9mjelr$dra1@www.netyaroze-europe.com> <9mrotl$mfo3@www.netyaroze-europe.com> <3b9250e6.158216893@www.netyaroze-europe.com> NNTP-Posting-Host: nas-cbv-6-10-176.dial.proxad.net X-Newsreader: Microsoft Internet News 4.70.1155 Steven Osman wrote in article <3b9250e6.158216893@www.netyaroze-europe.com>... >Remember that the processor can take UP TO 32 cycles... presumably, >that would be if it has to do a tonne of additions Indeed according to mips docs it processes 1bit per cycle; a whole mul/div always takes 32 cycles (although I don't know whether mul/divs can be done less-than-32bit-ly) or a bit more depending on instruction variants. What is meant by "up to" is that, as mul/divs are processed in parallel in something like a second dedicated alu, other instructions can be executed until the result of the mul/div is actually used. Ie if you have something like: a *= b x += y x += a the first line will be executed in parallel with the second, so that those first two lines will take 32 cycles. In the following order however the first two lines would take 1+32 cycles: x += y a *= b x += a