39 ms·
MIPS Goes Open Source
- glenrivard 8y agoWill it slow down RISC-V?
- Derek_MK 8y agoThat basically comes down to whether RISC-V's current partners decide to jump ship for something more well-known.
- nickik 8y agoThey will not. Important RISC-V companies like SiFive already ship commercial RISC-V that they helped develop. The same for Andes. Esperanto has a RISC-V core that is competitive with top ARM cores already. Western Digital has already committed to RISC-V and released open source cores, invested in RISC-V companies and has multiple products deep in the pipeline. Academic research from Berkley, MIT, ETH and many others is already on RISC-V and they would be crazy to switch, RISC-V is perfect for them. Not to mention that RISC-V is a better instruction set overall.
- saagarjha 8y agoI'm curious to hear the answer for this as well. Given the MIPS and RISC-V are similar in nature, I'm not sure what the impact of making an already widely used and quite mature RISC ISA open source when this was basically the entire premise behind RISC-V.
- nickik 8y agoRISC-V is not just to have an open ISA but to have an ISA that is modular and designed in an open process.
- zozbot123 8y agoThat's a good question. Did OpenSPARC slow down RISC-V? It's worth noting that, as the article points out, MIPS remains patent encumbered, the ownership situation of these patents is itself quite complex, and all in all, it's not quite clear how the new "Open" licensing will work.
- snaky 8y agoIt depends on bunch of small and medium-size Chinese SoC vendors, would they jump to MIPS now, or not. RISC-V is pretty much default ISA among them nowadays.
- siffland 8y agoIt depends if they truly open source their stuff, or if they just do their newest items. Their definition of open source and ours might be different as well. I would take everything with a grain of salt until it is truly open sourced and then revisit the question.
- ansible 8y agoIn my totally non-expert option, no, it will not slow down RISC-V. The RISC-V instruction set family does benefit from the decades of research since MIPS was first created. Also, a lot depends on the ecosystem surrounding whatever MIPS cores are available. Memory crossbars, interrupt handling, etc. There's a lot that goes into a system-on-chip.
- dbcurtis 8y ago> The RISC-V instruction set family does benefit from the decades of research since MIPS was first created. Agree. Also, RISC-V has a business model built around open source, it isn't a desperation move, which is what the MIPS move smells like. Also, RISC-V has mind share right now -- implementing RISC-V variations is now homework sets for MIT 6.004. MIPS is day-old bread.
- lambda 8y agoProbably not at this point. If they had done this right when RISC-V was first announced, then maybe, as at that point they had the advantage of much more ecosystem and tooling integration. However, it's now at the point where there are shipping RISC-V Linux distros, it's supported in GCC and LLVM out of the box, there are more than a dozen open-source RISC-V cores (https://riscv.org/risc-v-cores/ https://riscv.org/risc-v-cores/, several of which are actually parameterized families of cores), and there are companies like SiFive offering commercially supported proprietary cores. There is hardware that has shipped from multiple different vendors, and that likely means that there are a number of others where it's fairly far in the pipeline. With MIPS being behind Intel on the desktop and server market, behind ARM on the proprietary embedded core front, and behind RISC-V on the open source ISA and cores front, it's a bit hard to see why someone would buy MIPS who hasn't already invested in it. If you want something more well established with a wider variety of cores available to purchase, you'd go with ARM. If you want something with no ISA licensing fees and even potentially no charge at all for an open source core, you can go with RISC-V. I suppose there is some chance that MIPS could win some folks over from RISC-V for already having stable SIMD and DSP extensions, and more overall architectural maturity than RISC-V. But given that this seems to just be opening up the ISA without opening up any cores, and right now is a press release without having decided on the governance structure for the project or released any assets, while RISC-V has a number of fairly mature open cores including Rocket, BOOM, RI5CY, and more, and has a governance structure with a number of different companies involved, it seems like it will be a while if ever for MIPS to catch up on the open ISA front.
- snaky 8y ago> from multiple different vendors Hundreds. > China is rallying around the architecture with perhaps hundreds of RISC-V SoCs and dozens of cores in the works. > “We are talking hundreds, if not thousands, of [RISC-V–based SoC] projects under way; it’s crazy … probably at least 40 to 50 companies or academic groups are dabbing in core development — some for internal use, some for open-source, and some commercial” https://www.eetimes.com/document.asp?doc_id=1334032 https://www.eetimes.com/document.asp?doc_id=1334032
- 8y ago
- ChuckMcM 8y agoThat is pretty awesome. So three 'open' RISC architectures (RISC-V, MIPS, SPARC) with varying amounts of ecosystem support. That the patent stuff seems to be dealt with is key here, one of the challenges with working with MIPS and SPARC was always that their 'parent' organizations (SGI and Sun respectively) were essentially patent trolls when it came to third parties being successful with the architecture. Now that SGI and Sun are just footnotes in the computer industry, perhaps these architectures can flourish.
- baybal2 8y ago> challenges with working with MIPS and SPARC was always that their 'parent' organizations (SGI and Sun respectively) were essentially patent trolls when it came to third parties being successful with the architecture. And that was in part what has killed them. ARM only got so far thanks to their no questions asked attitude. I heard from people from Chinese fabless companies of ARM DHLing usb sticks to them in the early A8/A9 era, and flying support engineers to them the same day. Comparing MIPS to them, they had an obviously bad attitude. First, they barely sold complete solutions, nor worked on their integration (DMA controllers, memory controllers, bus interfaces and PHYs) Second, they were compete slowpokes. People are telling of them spending weeks to reply to very clear licensing applications, and them nor being able to say a word without going through their lawyers. You were essentially speaking not with sales, or engineers, but their legal department. Third, patently bad support. Only when they hit the terminal stage, they seemed to notice that they were doing something wrong
- ChuckMcM 8y ago> Only when they hit the terminal stage, they seemed to notice that they were doing something wrong Sadly this is the motivation for a lot of "correct" decisions. It is the first thing I look for when I read a startup pitch, a misunderstanding of where the value is and what the customer perceived risks are for adoption. Too often I've heard entrepreneurs or senior managers say, "But if we did that, this business model wouldn't work." And I patiently point out to them that if they can't get customer engagement with their current business model, it already doesn't work so they need to change something. Typically it is re-think the business model so they can focus on what is valuable to the customer and what isn't. ARM Holdings can be disrupted by a business model that can keep software coherence high while not requiring an architecture license to add special sauce. That puts more pressure on the foundation/management entity but it trades value (architecture extension) for adoption. The key is partnering with those who would extend the architecture to keep it aligned with key architectural invariants, and when possible allowing really useful extensions to move into the mainstream.
- mindcrime 8y agoInteresting that MIPS includes DSP functionality in the ISA. Does anyone have experience using DSP functionality with a MIPS chip? This seems like something that could be big, since so many of the DSP chips that are out there are totally proprietary, require proprietary compilers, etc. The idea of widely available DSP support that can be built with standard off the shelf OSS compilers / tools seems like something that could be a big win.
- lambda 8y agoThese include instructions for saturating arithmetic (arithmetic that give the greatest or lowest possible values, rather than wrapping around), 16 and 32 bit fixed point, fused multiply add instructions, and some SIMD instructions https://en.wikipedia.org/wiki/MIPS_architecture#MIPS_DSP https://en.wikipedia.org/wiki/MIPS_architecture#MIPS_DSP Basically your usual DSP fare. ARM has a similar extension; see https://en.wikipedia.org/wiki/ARM_architecture#DSP_enhancement_instructions https://en.wikipedia.org/wiki/ARM_architecture#DSP_enhanceme... for a reference to it, or http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.100166_0001_00_en/ric1417449098079.html http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.... for details. I don't think that RISC-V has a DSP extension yet; they are still working on nailing down their SIMD/vector extension story.
- wbl 8y agoThey are trying to support vector machines as well as SIMD instructions.
- lambda 8y agoYou mean RISC-V or MIPS? There's a reason why I said SIMD/vector extension, since RISC-V first started down the SIMD route, but then they took a step back and decided that a vector extension might work better, so from what I can tell more work has been going into the vector extension than SIMD. But neither SIMD nor the vector extension are finalized yet. I'm unaware of a MIPS vector extension, it seems to just have standard packed SIMD instructions, though I'm not that familiar with MIPS.
- jhallenworld 8y agoI wonder if this will include the MIPS 16e extension (the thumb-like instruction set for MIPS). It would be interesting to me if MIPS can compete with ARM in microcontrollers. As far as I know, only the PIC32 is MIPS. I used IDT's MIPS IDTR3041 in an embedded system in the mid 90s... I remember compiling gcc for "decstation" to support it. https://stuff.mit.edu/afs/sipb/contrib/doc/specs/ic/cpu/mips/r3051.pdf https://stuff.mit.edu/afs/sipb/contrib/doc/specs/ic/cpu/mips... Will Sparc follow? I used the LEON4 SPARC processor in Intel / Movidius Myriad recently, was surprised to see Sparc...
- rjsw 8y ago> Will Sparc follow? SPARC is already open, as in it can be used royalty free and there are open source implementations.
- snaky 8y agoAnd even such things as > Heterogeneous-ISA with RISC-V and SPARC FPGA Soft-cores https://arxiv.org/abs/1811.08091 https://arxiv.org/abs/1811.08091
- hlandau 8y agoMy understanding is that only 32-bit SPARC is open. The 64-bit extensions are still proprietary, aren't they?
- rjsw 8y agoThe T1 and T2 are both 64-bit, the Verilog for them is GPLv2.
- djcapelis 8y agoThe verilog for the UltraSPARC T1 core is GPL. I have my own fork on a dev board they used to make for the purposes of researchers modifying it and giving a modified processor a spin. So... I don’t think so?
- 8y ago
- retSava 8y agoIt's cool to see such an old and well-used arch still be used in new applications, not just old legacy stuff. And, gotta love: "Wave, which styles itself as a tech startup poised to bring “AI and deep learning from the datacenter to the edge,” sees MIPS as a key to advancing Wave’s AI into a host of uses and applications.". Hello, fellow kids!
- kevin_thibedeau 8y agoAs opposed to the 8080 variant most people have in their PCs?
- snvzz 8y ago68000 was the better CISC architecture.
- dtx1 8y agowhat does open source mean in this context?
- justincormack 8y agoThe article just says the most recent 32 and 64 bit instruction sets will be open. No mention of open core designs (there are many old versions of MIPS, it has been very fragmented, so excluding these makes sense to get some commonality).
- jordigh 8y agoAnd again, what does it mean for the instruction set to be open? Does that mean that they are releasing circuit schematics and hardware documentation? Surely it means more than releasing documentation for the instruction set like we have for Intel chips.
- orbifold 8y agoIt means that you are allowed to design/produce a chip using this instruction set without getting sued.
- jordigh 8y agoJust that? With no extra help from them? No schematics or diagrams or documentation? Do you still have to reverse-engineer their work? Did AMD have to get permission from Intel to implement the i386 instruction set?
- deleted 8y ago[deleted]
- otterlicious 8y agoDid AMD have to get permission from Intel to implement the i386 instruction set? Yup, and Intel needed permission from AMD to implement the x86_64 instruction set. https://www.cnet.com/news/intel-and-amd-a-long-history-in-court/ https://www.cnet.com/news/intel-and-amd-a-long-history-in-co...
- pozzed420 8y agoIs this only for their newest core or will they be releasing old stuff too? Would be really interesting to see the HDL for early MIPS processors like the 3051, 4300, 5900, etc.
- ZirconiumX 8y agoOf those cores, MIPS own the direct rights to none of them. The R3051 (used in the PlayStation 1) was a derivative of the R3000A (which MIPS should have the rights to) made by IDT. I don't think MIPS have the right to the modifications. The R4300 (A derivative, the NEC VR4300 was used in the Nintendo 64) was designed by Quantum Effect; I think whoever owns what's left of them would own the HDL, if it's still around. The R5900 (used as the core of the PlayStation 2's Emotion Engine) was designed by Sony and Toshiba; I'm pretty sure Toshiba have the rights to it.
- pozzed420 8y agoYeah I know there's licensing issues for those exact processors, it would still be cool to see the stuff they were derived from.
- walterbell 8y agoWill this make MIPS hardware virtualization available to the Western market? So far it's only been available in a Russian CPU (Balkal), https://news.ycombinator.com/item?id=18142295 https://news.ycombinator.com/item?id=18142295 Article says that PRPL foundation may be governing Open MIPS. There was an L4-based hypervisor offered by PRPL, but the website seems to have been reorganized. Virt whitepaper: https://prplfoundation.org/wp-content/uploads/2018/07/prpl-security-guidance-for-critical-areas-of-embedded-computing-2-5-2.pdf https://prplfoundation.org/wp-content/uploads/2018/07/prpl-s...
- baybal2 8y agoLol, the story with them choosing MIPS over ARM is that ARM was too afraid to get slapped with sanction, and they went to MIPS instead. After ARM saw that the sky is not falling on MIPS, they decided to license them their cores as well.
- monocasa 8y agoWhat licence? Their FAQ certainly reads more like "source available" than "open source". You have to be a registered MIPS Open Member to even see anything. https://wavecomp.ai/mipsopen https://wavecomp.ai/mipsopen
- snaky 8y ago> Swift is very familiar with most of the MIPS players in China, “because I worked with them,” he told us. Well, things change, and if he still thinks about a couple of big vendors, that would fit. But most of the Chinese SoC vendors using RISC-V aren't big nowadays, and most of them probably wouldn't bother with all that corporate memberships and stuff.
- microcolonel 8y agoI think this might change. They are participating at least a bit for now.
- danaos 8y agoFrom what I gather they are also holding Lexra core IP.[1] Hopefully they will be releasing the Lexra IP too. I have stumbled upon many routers that utilize Lexra cores. https://www.linux-mips.org/wiki/Lexra https://www.linux-mips.org/wiki/Lexra
- jf 8y ago> “Had this happened two or three years ago, RISC-V would have never been born.” Had RISC-V not been born, MIPS wouldn't have made this announcement.
- SlowRobotAhead 8y agomindblown.gif :) I guess the thing that has put me off of RISCV is The emphasis on for peripherals, they’re just doesn’t seem to be a lot. Yeah, there’s a peripheral bus, And I’m sure it works great but… This is where I could see MIPS going open source to have a serious advantage. There are people out there that already have experience with how MIPS peripherals should work.
- monocasa 8y agoMIPS isn't really known for peripherals either.
- kevin_thibedeau 8y agoModern MIPS implementations usually have AMBA support.
- monocasa 8y agoAnd there's open TileLink->AMBA bridges too if that counts.
- ac29 8y agoMIPS was on its way to irrelevance, first as ARM slowly ate its remaining marketshare, then quickly when Imagination Technology went under and sold it off for a pittance to a relatively obscure "AI" company. RISC-V may have hastened its demise, but the writing was on the wall for a long time.
- chasil 8y agoI don't program in assembler professionally, but I understand that MIPS has some ugly, ugly aspects: https://www.jwhitham.org/2016/02/risc-instruction-sets-i-have-known-and.html https://www.jwhitham.org/2016/02/risc-instruction-sets-i-hav... Sun opened the SPARC T2 a decade ago, and it certainly has not become popular: https://www.oracle.com/technetwork/systems/opensparc/opensparc-t2-page-1446157.html https://www.oracle.com/technetwork/systems/opensparc/openspa... It does seem that RISC-V corrects a number of these design eccentricities. SPARC did not move the market an inch with an open release - perhaps MIPS will fail just as spectacularly.
- capkutay 8y agoI can't wait for a company to raise $100 million Series A to sell 'Enterprise, Open Source MIPS', then come back in 4 years with a blog post about changing the license due to concerns that large companies are taking advantage of it.
- victore 8y agohttps://www.amazon.com/Digital-Design-Computer-Architecture-Harris/dp/0123944244/ref=sr_1_4?ie=UTF8&qid=1545079537&sr=8-4&keywords=computer+architecture https://www.amazon.com/Digital-Design-Computer-Architecture-...
- fernly 8y agoThe article notes the "maturity" of the support software. Indeed when I was writing manuals for SGI in the 90s, I was trying to document what seemed like extremely sophisticated compiler optimization techniques, including link-time optimization. (Due to customer demand there was also a screaming Fortran IV compiler, but it was bought in from a vendor.) I also remember how one range of the MIPS line (4000?) had the "4K page bug" where a page fault induced by the last instruction on a page caused some nasty problem. IRIX had special code to handle it.
- nickik 8y agoFunny, I would have gone bananas over this a couple years ago. Now, its mix between disappointment and but still support. MIPS exists and will continue to exist, its far to large to ever go away so it is good that it will open up and eventually we can remove property architectures from the market. I just hope they really commit to that strategy. Remember Docker was once a failing PaaS company who released their tech as open source.
- amatecha 8y agoBTW, some official information on MIPS' site[0] which doesn't show a fullscreen modal or split the information across three ad-laden pages ;) Looks like there is a forthcoming site[1] for the initiative as well, which has not launched yet. [0] https://www.mips.com/mipsopen/ https://www.mips.com/mipsopen/ [1] https://mipsopen.com/ https://mipsopen.com/
- znpy 8y agoThe devil lies in the details: it all depends on the actual license that Wave Computing will use for MIPS.
- _chris_ 8y agoIn comparing RISC-V vs MIPS, I think people are forgetting that one is a Foundation of member companies driving development, and the other is one company releasing their IP. There's obvious pluses and minuses to both approaches, but if I were a company trying to choose an ISA for my own IP development, I'd probably want the ISA that has a Foundation I can join and help drive its direction going forward [Ed: it will be interesting to see how MIPS proceeds from here].
- walterbell 8y agoMIPS is involved in this foundation: https://prplfoundation.org/current-members/ https://prplfoundation.org/current-members/
- bogomipz 8y agoThe article states: >"Included in MIPS instruction sets are extensions such as SIMD (single instruction, multiple data) and DSP." I always thought of DSPs as being a specific type of chip i.e a DSP chip. Are Are many DSPs MIPs based then? Is a DSP really just any general purpose CPU whose ISA has optimized DSP instructions then?
- dumael 8y agoMIPS has what's called an Application Specific Extension (ASE) basis for extending a given MIPS core for particular areas. The MIPS DSP ASE extends the base instruction set with certain instructions applicable to various codecs of the day that the ASE was defined for. It's essentially extending a general purpose cpu to efficiently perform DSP like tasks.
- nickpsecurity 8y agoThis is awesome! It might mean we get a CHERI board without a RISC-V port. The port is still a good idea but a port to highest-end MIPS will probably be cheaper since it reuses toolchain and some hardware stuff. Then we can make the desktop cases look like SGI’s as a tribute to the best MIPS of the past. Plus, they look cool. https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/ https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/
- walterbell 8y agoThat would be industry-changing for desktop security - capabilities in open hardware. Does the MIPS ecosystem have an equivalent to coreboot?
- LargoLasskhyfv 8y agoFor what? There is https://en.wikipedia.org/wiki/Das_U-Boot https://en.wikipedia.org/wiki/Das_U-Boot and https://www.linux-mips.org/wiki/PMON_2000 https://www.linux-mips.org/wiki/PMON_2000 I bet "Das U-Boot" is more of an "ecosystem" than coreboot when you zoom far out and see the installed base of embedded devices. Coreboot unfortunately not so much in comparison.
- pjmlp 8y agoCurrently I am looking into the Arm v8.3+ memory tagging instructions. It still isn't SPARC ADI, but at least we might get some additional safety along the OS stack that way.
- gurjeet 8y agoDespite this announcement, RISC-V momentum is not going to stop. Anyone trying to understand why, should watch this presentation by Krste Asanovic, as it sets RISC-V in historical and market context. https://www.youtube.com/watch?v=QTYiH1Y5UV0 https://www.youtube.com/watch?v=QTYiH1Y5UV0 edit: added link to presentation.
- userbinator 8y ago"Open Source"? As if it really matters for the dozens of computer science courses out there which used MIPS as a base (and some are now switching to RISC-V)... and a lot of unlicensed MIPS-ish/clone cores are also present in various cheap Chinese gadgets. I mean, if the average second-year CS student can make a working MIPS core, what does that say about how much it's worth? It's such a mundane ISA that you can't really squeeze much out of it (and I'm not talking about adding SIMD and such, which you could do for x86 and ARM too) unlike x86 and to a lesser extent ARM. x86 or ARM going open-source, now that would be interesting...
- billfruit 8y agoHearing news like this I wonder, what happened to Transmeta's processor architectures?
- bunderbunder 8y agoTheir patents ended up getting bought up by a patent troll. I assume that was the end of their architectures.
- walterbell 8y agoSimilar capabilities are shipping in some Nvidia CPUs, https://hothardware.com/news/nvidias-64bit-tegra-k1-the-ghost-of-transmeta-rides-again https://hothardware.com/news/nvidias-64bit-tegra-k1-the-ghos... Transmeta's founder is working on RISC-V AI/ML chips at Esperanto.
- kbumsik 8y agoOnly ISA? I must have missed something, but I cannot see if they are going to open-source its implementation though.
- ksec 8y agoIf Imagination didn't win, CEVA would have been a much better fit for MIPS. IMG might have been better off focusing on something else ( But judging from their management direction and execution I doubt they would have survived long anyway ) I think only Cavium and Broadcom are the biggest supporter of MIPS, not sure if there are any other heavyweight, but both have in recent years diverged to ARMv8. I think the most interesting part is open sources includes DSP and SIMD.
- riemannzeta 8y agoWhat applications is the hierarchical clustering approach MIPS's owner Wave is taking to designing ASICs for machine learning going to work best for? Deep learning? Anybody with ASIC design experience have a view on whether what they've got will be competitive (along energy or speed dimension) with TPUs or whatever RISC-V solution NVIDIA is working on?
- WillSlim95 8y agoTill the silicon comes nobody can really say much. Also NVIDIA is only using RISC V for the system controller for their future GPUs.
- nickik 8y agoNVIDIA is also working with SiFive to deliver some of their stuff on RISC-V.
- WillSlim95 8y agoWell it is different, what they are delivering is not based on RISC V but rather a silicon implementation of their NVDLA which will act as a peripheral to a SiFive core.
- jibanes 8y agoI wish they could opensource mipspro