From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa751,be70f766e74c3946 X-Google-Attributes: gidfa751,public X-Google-Thread: 110292,8ecdad84850d9973 X-Google-Attributes: gid110292,public X-Google-Thread: f6df3,8ecdad84850d9973 X-Google-Attributes: gidf6df3,public X-Google-Thread: 1051a8,8ecdad84850d9973 X-Google-Attributes: gid1051a8,public X-Google-Thread: 1164f8,8ecdad84850d9973 X-Google-Attributes: gid1164f8,public X-Google-Thread: f8403,5b9190c01066e4f0 X-Google-Attributes: gidf8403,public From: sschaem@teleport.com (Stephan Schaem) Subject: Re: MIPS R10K vs Alpha Date: 1996/04/14 Message-ID: <4kr7kp$lif@nadine.teleport.com>#1/1 X-Deja-AN: 147408189 distribution: world references: <4kb8a2$m6f@cville-srv.wam.umd.edu> <4kpf46$uq@nnrp1.news.primenet.com> <4kpl13$8pd@nadine.teleport.com> <4kpmq6$8pd@nadine.teleport.com> <4kq3lu$41a@babbage.ece.uc.edu> followup-to: comp.sys.sgi.hardware,comp.sys.powerpc,comp.sys.powerpc.tech,comp.sys.intel,comp.sys.dec,comp.sys.mips organization: Teleport - Portland's Public Access (503) 220-1016 newsgroups: comp.sys.sgi.hardware,comp.sys.powerpc,comp.sys.powerpc.tech,comp.sys.intel,comp.sys.dec,comp.sys.mips Steve Bakke (sbakke@uceng.uc.edu) wrote: : In article <4kpmq6$8pd@nadine.teleport.com> Stephan Schaem, : sschaem@teleport.com writes: : >: RISC architectures have a fixed instruction length. The uniform size of : >: an : >: instruction to be fetched makes pipelining easy. : > : > And with compiler cooperation you could set that register usage is : > alway interleaved to issue 2 inst/cycle without any real logic to : > decode in advance if what you will do will afect the next instruction. : > I dont know if any chip actually uses something like this tho? : > : I'm not sure what you mean here. Mostly, the compiler needs to resolve : which operations depend on the results of a previous operation. Then, the : compiler will (hopefully) just schedule the instructions far enough apart : so that the pipeline will not stall. Obviously, two instructions with a : dependency between them can't be issued simultaneously. This can also be done on cisc too... I was trying to show an example of how risc can do something cisc cannot, and how 'simple' it would be: lets consider a instruction set fixed at 32bit per instruction: 2 instruction for 64bit... you could design the cpu to execute 2 instruction in 1 cycle with little effort by having a rule where no destination can overlap. So its the compiler job, not the CPU to make sure this is true. the CPU cannot stall on register conflict because all operation are fully concurent. Or you can see it as a dual CPU sharing a registerfile and cache but for CPU1 PC = PC+0 , CPU2 PC = PC+4 . I beleive nops wont be encountered to often, but thats just a guess. It could be even possible that 4 instruction block (4cpu) could work fine on the same code. For a cisc to acheive something similare would be impossible? Maybe if you make it target a instruction size and have so crazy logic to recover from wrong assumtion and loads of other problems. : A processor implementation can't depend on the compiler to perfectly : schedule : code, so it must always resolve dependencies. The above would be totaly worthless if one find that a huge amount of nop need to be inserted. BTW, the block can still be considered instructions... So what ever you use to aply to instruction you now aply to a 'block'. misc, Modular instruction? :) Stephan