6 ms·
MIPS R3000
- pinewurst 7y agoIt's still my favorite RISC processor and the only one that I actually liked coding in assembler (SPARC wasn't fun at all).
- mepian 7y agoHow annoying were the branch delay slots?
- x0re4x 7y agoYou could always put NOPs into delay slots by default and replace them later with something more useful.
- jawnv6 7y agono, you could not "always" find something useful to put there later. gross exaggeration
- mrguyorama 7y agoYou misunderstood parent. They meant you can always nop the branch delay, and you might find something more useful for it later
- jawnv6 7y agothat may have been what they wanted to write. unfortunately they wrote something wrong and misleading instead. i understood what they wrote perfectly well and the implication therein isn't, somehow, my fault
- mrguyorama 7y agoThe "always" qualifier does not apply to anything after the "and". Why do you assume it does? You are being very combative and pedantic so I assume you have a diehard rule for this that you can reference? Like some english grammar handbook?
- deleted 7y ago[deleted]
- pinewurst 7y agoLess so than register windows :)
- aap_ 7y agoFrom having read lots of disassembled MIPS code I can tell you that they become second nature very quickly.
- monocasa 7y agoAlpha is bae. PowerPC is great as long as you don't look at the fever dream nightmare that is it's supervisor state.
- pkaye 7y agoAlpha had a weakly-ordered memory model though.
- monocasa 7y agoYeah, but it wasn't that big of a deal in practice. I sort of like that it was such a weak memory model that you just explicitly had to synchronize any sorts of cross thread comms.
- ncmncm 7y agoMIPS never had any memory model at all! They might have one, by now, most likely cribbed from PPC, ARM, or Itanic. Or maybe more than one!
- kristopolous 7y agoWant one? I've got a 600mhz sitting in the cost. Totally works. I'm in Los Angeles
- monocasa 7y agoHaha, my partner would be unhappy if I came home with another stray, but I appreciate the offer. : )
- kristopolous 7y agoHrmm. I could do a login if you really want. I have an openvms and netbsd disk. I've been trying to not take this thing to ewaste for a decade
- segfaultbuserr 7y agoAlternative history time: what if MIPS R4000 hasn't been killed by Pentium? Would we be running R10000-compatibles now?
- koblas 7y agoIt was an interesting moment, though there was a higher chance we would have been running SPARC or POWERPC. The architecture was top notch, but the company was too focused on being "MIPS Computers" not "MIPS Technology" at the time.
- snvzz 7y agoEven more fun alternative history: What if Motorola didn't end 68000 with the 68060? 68060 released earlier than the pentium, and regardless it had about twice the performance per clock. But then Motorola decided to abandon 68k to focus on PowerPC. Going further back: What if IBM picked 68000 over the 8086 for the PC? I'm hoping RISC-V will put an end to x86. It's about time.
- 0815test 7y ago> Even more fun alternative history: What if Motorola didn't end 68000 with the 68060? Well, then we would all be doing our computing on Amigas, or at least on Atari Falcons. People blame C= for the downfall of the Amiga, but Motorola abandoning the 68k line was a much bigger factor, with no immediate way forward being evident at the time.
- snvzz 7y ago>People blame C= for the downfall of the Amiga >but Motorola abandoning the 68k line was a much bigger factor The engineers had plans going forward. C= just didn't allow it to happen. They scrapped everything.
- blackhaz 7y agoI'm happy my computing platform does not depend on a single corporation. The shock vibrations of those people who developed for beloved Amigas and other amazing but now dead platforms must still be echoing throughout the universe.
- cwt137 7y agoI remember reading a computer architecture book that used a fictional MIPS instruction set and used washing and drying clothes as an example of how to pipeline / do parallel instructions. Does anyone remember the name of that book?
- EdwardCoffin 7y agoThat might be the DLX architecture used in some of the earlier Patterson and Hennessey texts.
- benwen 7y agoMaybe Computation Structures by Ward? Lecture notes for the class from which it was born show a two-stage Laundromat model (with snarky MIT/Harvard humor) https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-004-computation-structures-spring-2009/lecture-notes/MIT6_004s09_lec08.pdf https://ocw.mit.edu/courses/electrical-engineering-and-compu...
- opencl 7y agoThat description probably applies to several computer architecture books, but the one I read was like that and called "Computer Organization and Design: The Hardware/Software Interface".
- cwt137 7y agoThis is the book. Thanks for your help
- opencl 7y agoMIPS is a fun architecture (other than the delay slots that plagued early RISC ISAs) and implementing a subset of it on an FPGA is still a pretty common undergraduate university course project. I was kind of amazed just how simple it is to get a basic CPU working, though even the 1988 version was quite a lot more sophisticated than the class project version (multiple cache levels, having an MMU, probably much better branch predictor, etc).
- AnaniasAnanas 7y agoWhy does everyone seem to hate delay slots? I understand that it makes writing assembly more annoying but most people use a compiler anyway.
- alain94040 7y agoIt makes the hardware implementation more complicated. The delay slot was perfect for the 5-pipeline original design. Once you try to push this to out of order execution (executing more than one instruction per cycle), the delay slot just doesn't make any sense.
- blu42 7y agoThat's my understanding as well. Software-wise, I, for one, have not had issues with reading or writing code with branch delay slots -- automatic nops, at worst. I guess it all depends how early in one's development they were introduce to the concept of delay slots.
- ajross 7y agoThey make writing assembly more annoying. They make writing compilers more annoying. But the big reason is that except for the case of simple, short pipeline designs like the early MIPS parts they make designing CPUs annoying too. The second you introduced parallel decode or a branch predictor with more than a cycle of latency these things hurt and don't help.
- jawnv6 7y ago
- PopePompus 7y agoI'm honestly confused - why is a wikipedia page about an old computer architecture on the front page of HN?
- news_to_me 7y agoBecause it's interesting! I think it is, at least. From the guidelines: > What to Submit > On-Topic: Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual curiosity.
- messe 7y agoWhy wouldn't it be on the front of HN?
- angersock 7y agoYeah, it's taking up valuable space we could be using for content marketing, politics, clickbait, or startupcanistan circlejerking! </s>
- ncmncm 7y agoBecause it has legs. Hundreds of thousands -- maybe millions? -- of MIPS-derived chips are still made every day.
- segmondy 7y agoI loved this CPU, programming it using spim, then actually getting to write some PSX code.