Slashdot Mirror


Nvidia, Western Digital Turn to Open Source RISC-V Processors (ieee.org)

An anonymous reader quotes IEEE Spectrum: [W]hat's so compelling about RISC-V isn't the technology -- it's the economics. The instruction set is open source. Anyone can download it and design a chip based on the architecture without paying a fee. If you wanted to do that with ARM, you'd have to pay its developer, Arm Holding, a few million dollars for a license. If you wanted to use x86, you're out of luck because Intel licenses its instruction set only to Advanced Micro Devices. For manufacturers, the open-source approach could lower the risks associated with building custom chips.

Already, Nvidia and Western Digital Corp. have decided to use RISC-V in their own internally developed silicon. Western Digital's chief technology officer has said that in 2019 or 2020, the company will unveil a new RISC-V processor for the more than 1 billion cores the storage firm ships each year. Likewise, Nvidia is using RISC-V for a governing microcontroller that it places on the board to manage its massively multicore graphics processors.

95 comments

  1. Um... didn't AMD by rsilvergun · · Score: 2

    license their tech to a Chinese company? At this point I think AMD is big enough and advanced (pun intended) enough to stand on their own. I'm sure they have to license patents from Intel, but last I checked that was required by law (that's kind of the point of patents) and I'm sure they've got their own patents to license.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
    1. Re:Um... didn't AMD by Desler · · Score: 1

      but last I checked that was required by law (that's kind of the point of patents)

      No, it's not. You're conflating patents and copyrights.

    2. Re:Um... didn't AMD by gavron · · Score: 1
    3. Re:Um... didn't AMD by Desler · · Score: 1

      Nowhere in that article is there any proof of a law requiring compulsory licensing of patents.

    4. Re:Um... didn't AMD by Anonymous Coward · · Score: 0

      > At this point I think AMD is big enough and advanced (pun intended) enough to stand on their own.

      AMD and Intel are joined at the hip with all of the x86-related patents they share; it's to neither's advantage at this point to try to stand on their own. Not without sacrificing their existing revenue streams or fracturing the desktop and server markets.

    5. Re:Um... didn't AMD by Gojira+Shipi-Taro · · Score: 1
      --
      "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
    6. Re:Um... didn't AMD by Desler · · Score: 1

      Just as proof from the article:

      It’s entirely possible that AMD wants to use the building blocks of Zen or AMD’s SeaMicro fabric and combine them with its own homegrown capabilities in ways that wouldn’t infringe on patents held by Intel or other players in the industry.

      If patent licensing was compulsory why would they care about infringing Intel's patents? Intel would have to give them a license. Oh wait, except there is nothing requiring Intel to license its patents which is why they are working around that as backed up by the paragraph above this one:

      This suggests that the JV is structured to bypass restrictions in AMD’s x86 license agreement with Intel that would otherwise prevent the company from signing any such agreement.

    7. Re:Um... didn't AMD by Desler · · Score: 1

      Yes, as I said the US has compulsory licensing of certain copyrighted works, but it does not work that way for patents. Did you even read the article?

    8. Re:Um... didn't AMD by Desler · · Score: 1

      BTW if patents licenses are compulsory, how do you explain Intel not being forced to license x86 patents? If they were, more than just AMd would have a license from Intel. Or how do you explain the Apple v. Samsung lawsuit over patents? If patent licensing were compulsory, there would be no case since Apple would have been forced by law to license the patwnts to Samsung.

    9. Re:Um... didn't AMD by Anonymous Coward · · Score: 0

      This is a "semi-custom" deal. The legal, commercial aspects are pretty custom themselves I would guess.
      I think it's not really about AMD selling its technology away. AMD already has a "semi-custom" business which consists in the main CPU/APU used in Playstation 4 and Xbox One and further releases of them.

      It could be even a straight Ryzen die, which has some major I/O flexibility : some physical lines can be PCIe or CPU interconnect, some can be PCIe or SATA. I think there's some support for 10 Gb Ethernet. Have custom/different packaging, custom firmware, use a different chipset (or no chipset and you may have 4x PCIe lanes there instead). To sum it up, turn the 8-core desktop chip into a server SoC.
      That, or the die might be fairly different after all.

      AMD is a fabless company that uses different fabs (GloFo and TSMC). Maybe the lines aren't very clear then. But maybe the legal construct is in way that AMD doesn't really give away x86 tech to the Chinese company, like we pretend it doesn't give it away to GloFo, TSMC, Sony and Microsoft.

    10. Re: Um... didn't AMD by Anonymous Coward · · Score: 0

      They do and it is symbiotic. Intel licensed to amd and amd licenses back. They could not really exist without each other at this point and intel really needs that.

    11. Re: Um... didn't AMD by that+this+is+not+und · · Score: 1

      AMD really only has an x86 license because back in the day they were an 80286 second source. Their main thing back then were some 'bit slice' ALU processors they sold in 4 bit chunks that you could bolt together. I think I still have some stuck away in a box somewhere.

    12. Re:Um... didn't AMD by tsqr · · Score: 1

      The OP said, "I'm sure they have to license patents from Intel, but last I checked that was required by law"

      In other words, the law requires that AMD license any Intel patents they use. Not sure how you construed his comment to mean Intel is required to license their patents to AMD.

    13. Re: Um... didn't AMD by Anonymous Coward · · Score: 1

      AMD really only has an x86 license because back in the day they were an 80286 second source.

      Oh, and that other thing called AMD64 that pretty much every x86 CPU (even Intel's) has become.

    14. Re: Um... didn't AMD by sweepkick · · Score: 1

      Eh, minor detail.

    15. Re:Um... didn't AMD by ShanghaiBill · · Score: 1

      but it does not work that way for patents.

      Sometimes it does. Intel is compelled to license some of their patents to AMD by the DoJ as part of an anti-trust consent decree.

    16. Re:Um... didn't AMD by Anonymous Coward · · Score: 0

      I'm sure they've got their own patents to license.

      You mean like the whole x86_64 thing that everyone is actually using?

    17. Re:Um... didn't AMD by citizenr · · Score: 1

      no, AMD engineered financial arrangement that makes it look like Chinese company is manufacturing processors, all in an effort to skirt Chinese import taxes.

      --
      Who logs in to gdm? Not I, said the duck.
    18. Re:Um... didn't AMD by Anonymous Coward · · Score: 0

      License their instruction set to Intel?
      Because didn't Intel throw away their attempt at a 64 bit ISA in favour of AMD's?

    19. Re:Um... didn't AMD by Anonymous Coward · · Score: 0

      Wikipedia isn't a trustworthy source.

    20. Re:Um... didn't AMD by Aighearach · · Score: 1

      but it does not work that way for patents.

      Sometimes it does. Intel is compelled to license some of their patents to AMD by the DoJ as part of an anti-trust consent decree.

      You didn't understand the word "consent" in "consent decree." That means it is a contract between DoJ and Intel. It isn't something they were compelled to do; it is something they agreed to do to prevent being compelled to do things, potentially more or different things than the things they were allowed to agree to do.

    21. Re: Um... didn't AMD by that+this+is+not+und · · Score: 1

      The only reason they had an architecture to extend was because of having been a licensed second source decades ago.

      The knob polishing that AMD gets from their fanboys is amazing. As is the presumption some will make that this comment makes me an Intel fanboy.

      For pete's sake, they're not football teams. Nothing we say or do matters to the people running Intel or AMD. You're not going to get invited to the party afterwards if you're the most slavish fan in the mosh pit.

    22. Re: Um... didn't AMD by Anonymous Coward · · Score: 0

      My two year old, 65 watt, eight core,16 thread, ~4ghz peak Ryzen 1700 is a party I attend almost every day.

      Also, I picked up a hundred thousand shares of AMD at $2/share and don't have to work anymore since I'm not waiting for it to double again. Good lesson for the bitcoin holds.
      The party is real.

    23. Re:Um... didn't AMD by knorthern+knight · · Score: 2

      There is a long backstory, with a timeline detailed at https://www.cnet.com/news/inte...

      * in the early 1980s, when IBM brought out the PC, they threw in their standard demand for a "second source". Back then, IBM was YUUUUGE, and if you wanted their business, you complied with their demands.

      * as per IBM's demand, Intel licenced 8086/8088 and 80286 tech to AMD

      * later, Intel claimed that the licence did not cover 80386 and further cpus. AMD claimed that the licence did cover future X86 cpus. Court battles ensued.

      > 1991--AMD files an antitrust complaint in Northern
      > California claiming that Intel engaged in unlawful
      > acts designed to secure and maintain a monopoly.

      > 1992--A court rules against Intel and awards AMD $10
      > million plus a royalty-free license to any Intel patents
      > used in AMD's own 386-style processor.

      > 1995--AMD settles all outstanding legal disputes with
      > Intel in a deal that gives AMD a shared interest in the
      > x86 chip design, which remains to this day the basic
      > architecture of chips used to make personal computers.

      One reason Intel developed the 64-bit Itanium (aka "Itanic" giggle) was to come out with a cpu so radically different that it wasn't covered by the original licence.

      This all goes back to Intel agreeing to allow second-sourcing and licencing X86 to AMD, as per IBM's demands when developing the PC. Ironically, the cross-licencing agreement of 1995 is what allowed Intel to use AMD's "AMD64" tech in Intel cpus. That's why IBM and AMD cpus remain mostly compatible to this day.

      --

      I'm not repeating myself
      I'm an X window user; I'm an ex-Windows user
  2. Why not others? by Anonymous Coward · · Score: 0

    I'm all for open source anything, but the fact that Samsung, Apple, Broadcom and others aren't investing on that architecture must say something about how good/mature it is.

    1. Re: Why not others? by Anonymous Coward · · Score: 1

      Well... considering nVidia IS considering RISC-V, shouldn't that tell those others you mention that they might be missing out?

    2. Re: Why not others? by Anonymous Coward · · Score: 0

      Same could be said about sparc, had massive investemt from sun and fujitsu and for a long time outperformed x86 for a lot of worloads

    3. Re: Why not others? by Anonymous Coward · · Score: 0

      Nvidia is poorly positioned without their own CPU. Logical move.

    4. Re:Why not others? by Anonymous Coward · · Score: 0

      Behold, the reasoning that brought us the Itanium.

    5. Re: Why not others? by Anonymous Coward · · Score: 1

      Nvidia's Risc V CPU is intended to replace Nvidia's Falcon (FAst Logic CONtroller) CPU, which is the internal controller of their graphics cards.

    6. Re: Why not others? by Anonymous Coward · · Score: 0

      Which is what, an in-house FPGA core? This isnâ(TM)t rocket science - focus on your thing, and outsource the rest to people who do exclusively general purpose arithmetic and logic core design and quit wasting time on cross compilers and software for your royalty free dog food.

    7. Re: Why not others? by Anonymous Coward · · Score: 5, Interesting

      Not necessarily.

      Instruction set is far less important than toolchain in 2018.

      In 1999 when I was working with ARM, Ericsson, Redhat, Opera and some others, we were investing very heavily in sorting out Linux on non-x86 processors. It was a disaster because so much of GCC, Linux, globe and binutils were optimized to death for x86.

      We had our biggest challenge trying to make dynamic software (software with indeterminate memory requirements) operate on CPUs lacking an MMU. The web changed everything. Because none of the software vendors involved in the project could dictate the data sets to be consumed on the devices, we had serious memory fragmentationâ(TM)s issues. In a multi-process operating system that needed to support HTML in mail and in the web browser, Linux was suffering terribly on systems lacking MMUs.

      We had a lot of other problems as well. GCC 2.91 was such a horrible codebase that had spaghetti everywhere in code generation because Stallman did such a painfully piss poor job in his design. Academics and companies everywhere had been spamming the codebase for years inserting AST reduction oriented optimizations which would be carried over to code generation. And since GCC didnâ(TM)t really have a maintainer in the sense that Linus maintains the kernel and CVS was also a nightmare, letâ(TM)s just say that GCC worked almost by accident.

      Binutils was ugly too. Even today, binutils is not nearly what it should be. This is still a point of clear superiority for Microsoft. If for no other reason than that Microsoft made it a standard requirement of Windows DLL files to explicitly describe entry points which would permit far more intelligent linkers to be written.

      Of course any language that actually needs a compile time linker in 2018 is a piece of crap by design. Most C/C++ code would be substantially better if all the source files were included from a single source file which then would be compiled and linked with clear entry point definitions by GCC or CLang instead of using a linker which lacks an AST.

      So, the year is 2018 and both GCC and LLVM are highly retargetable. Binutils works much better than ever. Most JITs are well designed and easily portable. .NET Core run on x86, x64, ARM, ARM64, and apparently one of Microsoftâ(TM)s own CPU designs. Java runs everywhere. Oh and Mono can run pretty much anywhere a C compiler is available.

      If you want to make a new CPU design, you need to port code generators and binutils to the new CPU and then porting Linux is pretty straight forward. Most of the platform native code in Linux these days is a single directory and that directory can be very lightweight. The DEC Alpha directory is ridiculously easy to port as itâ(TM)s mostly C code tweaked to produce good code. Alternatively, thereâ(TM)s the ZPU project which worked pretty well and is almost all C.

      Last, you need to make a first stage bootloader and porting some UEFI code is easier than youâ(TM)d think.

      Once those things are done, compiling Fedora or Ubuntu for the platform is pretty easy.

      Iâ(TM)ve seen and end to end new CPU bootstrap on modern Debian by 5 developers in a month. It took a small team a year to implement optimizations since the CPU was an extremely different architecture, but it was done by a robot dink $10 a year company.

      Now enter RISC V or other CPUs which already have a toolchain... there is no value in using ARM anymore since those toolchain are already stable and the platforms are also stable. They have some disadvantages, for example, theyâ(TM)re designed mostly for FPGA which means that design decisions have been made based on structure or LUs. Multipliers are probably based on stacked 9 but pyramid multipliers and dividers are probably suboptimal. As NVidia and others get their hands on it, they will contribute better ASIC blocks because they have the skill set required and also have more than enough of their own IP for those things... like reduced gate d

    8. Re: Why not others? by Anonymous Coward · · Score: 0

      Sorry, but your story only holds if you use almost nothing of the ecosystem or don't care about performance.
      Just look at some multimedia-related benchmarks on PowerPC, performance is a joke amd that is an architecture with tons of optimization hanging on from when Apple used it.
      ARM also still looks fairly bad, and that has major interest from people using it on Android.
      Compilers (gcc or clang at least) still produce a lot of horrible code for x86. A new architecture will need years to catch up, where you'll find out that someone e.g. forgot to add the intrinsics necessary to make the 128 bit datatypes work well.

    9. Re: Why not others? by Anne+Thwacks · · Score: 1
      for a long time outperformed x86 for a lot of worloads

      Assuming you meant workloads and not warlords, it still does in terms of processing power per watt in some situations if you are talking about t-series.

      Personally, I would love more server manufacturers to sell "the most power you can get in a box for 100W/200W", for which I use Sparc, but would be happy to use Arm or Mips or Risc-V. (I use very little floating point and quite a lot of I/O bandwidth).

      Granny always told me not to put my eggs in a basket called x86.

      --
      Sent from my ASR33 using ASCII
    10. Re: Why not others? by Anonymous Coward · · Score: 0

      Not FPGA, it's in the GPU die itself. Hard silicon, and inside the GPU. It's easier, more flexible than using a ton of custom logic to do whatever it does. As if you used an Arduino in a part of some complicated project rather than dozens of clock gearings.

    11. Re: Why not others? by Anonymous Coward · · Score: 0

      What are you talking about..!? They've said they're using riscv in place of other microcontrollers.. this is not an attempt to compete with AMD or Intel CPUs.

    12. Re: Why not others? by Aighearach · · Score: 1

      I think the most common computer at a Warlord's base is going to be the Toyota ECM. Without that, your technicals won't have good traction control or extreme weather performance.

    13. Re: Why not others? by Anonymous Coward · · Score: 0

      Linux? On systems without a MMU? In 1999? Are you sure?

    14. Re: Why not others? by Anonymous Coward · · Score: 0

      there are many more things between Heaven and Earth, Horatio, than are dreamt of in your... philosophy

  3. Good tech by Misagon · · Score: 5, Informative

    I think the article should say "[W]hat's so compelling about RISC-V isn't just the technology".

    The instruction set is modern and tight, made to be easy to pipeline and scale. There are RISC-V chips that rival ARM in performance / watt at the same manufacturing process.
    The ISA is modular so engineers could strip out the parts they don't need and get more power savings that way.

    But I would not say that it is mature yet. There are important parts, such as the memory consistency model that I have not yet seen set in stone.

    --
    "We mustn't be caught by surprise by our own advancing technology" -- Aldous Huxley
  4. The Greater the RISC ... by gnujoshua · · Score: 4, Funny

    The greater the return!

  5. Whatever happened to step changes? by Anonymous Coward · · Score: 0

    I'd like to see a multidisciplinary team take a look at software and hardware together and see if a bit of re-imagination can improve both. Security should be in there as well.

    For instance, how about thinking about things like?

    1. We divide presentation layers from computational layers, so why can't we load the presentation layers fully into the graphics core?
    2. There is a lot of complex data binding and dependency objects and all the rest these days. Can the graphics core just be told where the source of indicator data is that resides in memory and let do its job?
    3. Basically with 1 and 2 can we design things so that they are effectively decoupled and operating independently for most tasks? A lot of tasks today require hardware locking to avoid potentially bad things happening or even greater care, but sometimes simple producer + 1 or more consumer linking works, provided you have some buffering and provided you can prove your consumers _will_ keep up.
    4. How do we address security with all that?
    5. How does physical disk security fit into things? Maybe extend the SE linux ideas? This component is confined to these parts of these resources and it will stay in its box, by hardware, if possible.

    I love the open source stuff. It just seems that improvements these days are incremental, and no one is really trying to take a step back, understand the big picture and perhaps take a few risks to try to get step change in say performance per watt.

    I thought risc was the way of the future when it first came out, yet Intel dominates with their fairly complex architecture. Why and are the problems solvable? A quick review of Itanium seems to indicate that the magic compilers to make all the hype work never materialized to the extent expected. I do wonder if that will always be the case, since finding ways to reduce processor complexity are still very appealing...

    1. Re:Whatever happened to step changes? by mangastudent · · Score: 4, Informative

      I thought risc was the way of the future when it first came out, yet Intel dominates with their fairly complex architecture. Why and are the problems solvable?

      RISC really shined during a brief period where there was an extreme premium on getting every part of a CPU on a single die, and memory speeds weren't totally out of wack with CPU speeds. That favored its approach of the minimum number of transistors on a chip and using memory a bit more wastefully than older approaches grounded in the days when memory was both slow and very expensive, e.g. during the transition from core to DRAM.

      Now, of course, we can put relative to those days an infinite number of transistors on a die, and memory speeds are again out of wack with CPU speeds. We've got plenty of main memory, but cache is still dear. To the point that pretty much any execution micro-optimization that causes your working set to exceed a level of caching ends up running slower. And Intel's IA-32 macro architecture didn't make any fatal mistakes like e.g. the VAX's so that it could be made to run quickly without insane effort.

    2. Re:Whatever happened to step changes? by Anonymous Coward · · Score: 0

      I'd like to see a multidisciplinary team take a look at software and hardware together and see if a bit of re-imagination can improve both. Security should be in there as well.

      For instance, how about thinking about things like? [...]

      I love the open source stuff. It just seems that improvements these days are incremental, and no one is really trying to take a step back, understand the big picture and perhaps take a few risks to try to get step change in say performance per watt.

      I thought risc was the way of the future when it first came out, yet Intel dominates with their fairly complex architecture. Why and are the problems solvable? A quick review of Itanium seems to indicate that the magic compilers to make all the hype work never materialized to the extent expected. I do wonder if that will always be the case, since finding ways to reduce processor complexity are still very appealing...

      You might be interested in the Mill architecture, which is a thoughtful re-imagining of general purpose architecture from scratch, addressing many of the problems plaguing existing technologies. It is not a small departure from conventional thinking, but a shift in paradigm with the potential to considerably simplify hardware and compilers. The takeaway is OoO performance at DSP area/cost and power efficiency, with an elegant hardware abstraction.

    3. Re:Whatever happened to step changes? by technosaurus · · Score: 1

      I think the old Macs were like that and even though they ran at 1/1000th the speed, they booted 100 times faster.

    4. Re:Whatever happened to step changes? by AHuxley · · Score: 1

      For a very short time in history Apple had a CPU that with the correct software and lot of skilled work could do tasks at a good speed.
      The Intel went full fast.

      --
      Domestic spying is now "Benign Information Gathering"
    5. Re: Whatever happened to step changes? by Anonymous Coward · · Score: 1

      Intel excels at main memory access performance and cache utilization due to variable length instruction. Most ARM processors have relatively poor main memory access performance even when the run at higher core speeds.

    6. Re:Whatever happened to step changes? by Anonymous Coward · · Score: 0

      For a very short time in history Apple had a CPU that with the correct software and lot of skilled work could do tasks at a good speed.

      The Intel went full fast.

      What the fuck are you saying?

    7. Re: Whatever happened to step changes? by Anonymous Coward · · Score: 0

      There's no actual information on that page, but "static scheduling" they mention does NOT go together with "simpler compilers". In fact, nobody has even managed to make it go together with "usable performance". Intel spent billions and utterly failed. But I guess there are still to many people like my computer science professor who would still insist the architecture was good. He obviously never talked to the HPC guys at the same university...

    8. Re: Whatever happened to step changes? by Anonymous Coward · · Score: 0

      Without javascript you might have missed the docs link under "Technology", but there is a wealth of information available in the videos there. (or even in this brief introductory forum post for the impatient.)

      The Mill is not an Itanium; they had the opportunity to learn from Intel's failure, and offer compelling solutions to its deficiencies. The mechanisms available do support OoO performance with static scheduling, and the hardware abstraction is a near ideal compiler target, as surprising as that might be. As you suggest, it is a non-trivial problem, and solutions were not for sale, even given Intel's vast resources. A lot of clever thinking went into the Mill over a long period of time, and they produced something quite elegant, if very different.

      Judging only by the Itanium, the skepticism is understandable. If one takes the time to understand the Mill though, their claims look very plausible if not overly conservative. Time will tell, but it is nevertheless fascinating.

    9. Re: Whatever happened to step changes? by mangastudent · · Score: 2

      Indeed. The higher transistor count needed to quickly decode Intel's variable length instructions is now trivially affordable, so ARM processors don't gain much there, and tend to lose it when memory hierarchy performance is factored in.

      Except that we should note that "lots more" transistors to decode or otherwise make a CPU run quickly is harmful for energy usage, so ARM still wins in mobile (although some of Intel's issues there are due to it just not seriously pursuing that potentially high volume but low profit margin niche, including developing low cost fab nodes (possibly low power ones as well), note their fairly recently still using TSMC for Altera's lowest cost line of FPGAs). And being able to run at high clock speeds is generally less desirable in mobile, again to conserve on overall system energy consumption, nothing like Moore's Law has every applied to batteries.

    10. Re:Whatever happened to step changes? by Aighearach · · Score: 1

      He said he's drunk, can't you even read?!

    11. Re:Whatever happened to step changes? by dryeo · · Score: 1

      It helped that a lot of the OS was in ROM.

      --
      https://en.wikipedia.org/wiki/Inverted_totalitarianism
  6. Stealth CPUs by nateman1352 · · Score: 4, Interesting

    So RISC-V's market is going to be mostly in non-exposed, internal processors running secret unreplacable firmware doing unknown things our GPUs and SSDs... Kinda like the Intel ME and AMD PSP. Are we supposed to feel good about that?

    I find it ironic that the first thing that comes out of an open CPU design is more of the closed systems that supposedly RISC-V was designed to discourage. I don't think we can blindly apply the same approach to open hardware that was taken for open software, the economics of hardware production is very different than the economics of distributing software on the Internet.

    1. Re:Stealth CPUs by Katatsumuri · · Score: 2

      Those closed systems would exist either way. As it stands, at least there is a chance of those companies contributing something back to the open project.

    2. Re:Stealth CPUs by Gaygirlie · · Score: 3, Insightful

      So RISC-V's market is going to be mostly in non-exposed, internal processors running secret unreplacable firmware doing unknown things our GPUs and SSDs... Kinda like the Intel ME and AMD PSP.

      No, you dunce. We already have those kinds of controllers in hard-drives, GPUs, soundcards and so on and so forth, they've just mostly been ARM-based for now! The move to RISC-V is about cost-savings, since the companies won't have to pay for all the license-fees, but from the point of having "non-exposed, internal processors running secret unreplacable firmware doing unknown things" nothing has or is going to change as we are already there!

    3. Re:Stealth CPUs by Anonymous Coward · · Score: 0

      If you want an open RISC V dev environment, you might be interested at SiFive's Freedom U540 CPU and the HiFive Unleashed dev board.

      It is at $999 not as cheap as a Raspberry Pi or an Arduino tho. For that we will have to wait until somebody starts mass producing RISC V consumer products - somebody like Nvidia or Western Digital perhaps?

    4. Re:Stealth CPUs by Anonymous Coward · · Score: 1

      Not only ARM but many lesser known ones. For example ARC has a bit of notoriety for being used in nvidia GPUs before being replaced by a RISC-V or in the Intel Management Engine before they put in an x86 instead (their small 486/586 clone that was sold as Quark I believe)
      There's MIPS likely. PowerPC was used on RAID cards. And probably a ton of vendor-specific architectures and simple micro-controllers.

    5. Re:Stealth CPUs by Anonymous Coward · · Score: 0

      "It is at $999 not as cheap as a Raspberry Pi "

      Ya think?

    6. Re:Stealth CPUs by Anonymous Coward · · Score: 0

      Not only cost savings, but ability to customize the designs, yet still built upon a solid and common base. Even with proprietary derivatives, companies will still contribute improvements to compilers, etc. No one wants the soul responsibility and cost of needlessly supporting a custom architecture, and everyone benefits from a good open project maintaining the tools.

      Also, RISC-V may make it easier to reverse engineer or even replace proprietary code. It should make for better products all around, and enable better OS support for hardware. At some point, RISC-V will grow beyond embedded, and expand the options of those looking for an open platform, but that is an orthogonal problem.

    7. Re:Stealth CPUs by Anonymous Coward · · Score: 0

      communism tends to be totalitarian. news at 11

    8. Re:Stealth CPUs by ledow · · Score: 4, Interesting

      Not being funny - but almost every chip you've ever used could have secret unreplaceable firmware and you'd know nothing about it.

      This has been true throughout the history of computing, really. Sure, we know now that the Z80 was okay but we had no way of sensibly telling back then and it was all we could use.

      Has anyone ever decapped a 386? What about those old AMI BIOS chips, sure we know what firmware can load onto them, but how do we know that's all that's in that chip and there isn't a secret ROM activated under certain conditions? We don't, until the chip is dead and out of the market, and even then we may never know.

      Sorry, but "open" hardware of any significant specification is a fallacy... because you cannot verify it without an awful lot of very expensive equipment, even if it operates as if it were a RISC-V processor. Anything could be tapping into that core specification and leaking or acting on data secretly and you'd never know - it would just look and work like RISC-V chips all do to all outside appearances.

      Honestly, if you think that nVidia using RISC-V is a bad thing, and isn't going to boost RISC-V adoption, reputation and development, or that your system is somehow going to avoid all such avenues of compromise, you're so wrong that it's laughable.

      In fact, if anything, such code makes it incredibly easy to modify such a thing, use its name AND get away with it because nobody will ever check and/or ever be able to sue, that doing that to some big-name chip manufacturer.

    9. Re:Stealth CPUs by Anonymous Coward · · Score: 0

      secret unreplacable firmware doing unknown things our GPUs and SSDs

      Which, if they stick to common design, would be trivial to verify since the whole design is open.
      All it would take is any of the thousands of smart persons capable of tapping chips to see said firmware to say "HEY, YOU, STOP SPYING!" and the whole thing would be a nightmare.

      Intel ME has been known about for YEARS from anyone in the networking world. What wasn't as well known was how easy it was to break it once certain things were in place.
      Whether that was deliberate or not is another question.
      It could be said all these Spectre-class bugs were accidental / deliberate oversights, or a design choice too.
      Given the serious performance hits when fixed, it is likely a deliberate design choice. It was very likely a hack to get around the limits of silicon to squeeze out ever-decreasing performance gains from the complexities of sub-30nm fabrication and the continued support of an aged x86.
      Expect the near-future of upgrades to be pretty piss-poor. It's going to take a whole different molecular framework to get further, whether that is graphene or whatever else.
      Either that or some super heatsink, or liquid cooling as a default, to allow stacked CPU cores without turning to MAGMA.
      It's looking ever-more likely to be the latter, despite the huge complexities involved!

    10. Re:Stealth CPUs by mangastudent · · Score: 1

      Given the serious performance hits when [Spectre-class bugs are] fixed, it is likely a deliberate design choice. It was very likely a hack to get around the limits of silicon to squeeze out ever-decreasing performance gains from the complexities of sub-30nm fabrication and the continued support of an aged x86.

      The hacks are much older, in x86 it's all based on the 1990s' Pentium Pro, first shipped using a 50 um process, and the basic concept was first developed by IBM in the mid-late 1960s back when they were using individual transistors fabricated on a module. To date no one has demonstrated a faster approach, but as we're seeing more and more that it comes with high security costs.

    11. Re:Stealth CPUs by Aighearach · · Score: 1

      Well, in the olden days some of us didn't like buying BIOS chips, and updates weren't always user-installable. So some of us went to a local electronics store, and if you bought a blank EEPROM of the correct size and pinout they'd be happy to copy the firmware off of a real BIOS chip they had laying around. It would work great, but it wasn't even the same brand of ROM, it wouldn't have had the stock secret circuit. And it wouldn't have been sold in a supply chain that expected it to end up as a BIOS chip.

      And if you replaced the ROM in a many brands of 14.4 or 28.8 modems you could upgrade them to 56.6. That only cost ~$15, instead of $100+ for a new external modem.

      You're right in general, of course. And with RISC-V even if you implement it on an FPGA, how do you know what the FPGA is "really" doing?

    12. Re:Stealth CPUs by Anonymous Coward · · Score: 0

      Sorry, 6502 user here - you could have used that, so you were not limited to just the Z80!

      (plus it was more efficient per clock cycle!)

    13. Re:Stealth CPUs by blahplusplus · · Score: 1

      I find it ironic that the first thing that comes out of an open CPU design is more of the closed systems that supposedly RISC-V was designed to discourage.

      That is the whole tech industries goal, you seem to be unaware the tech industry from the very beginning - (games, hardware mfg'ers, holly wood, etc) have always hated people owning and controlling their own computers and software. With the rise of high speed internet they are using the ignorant half of mankind to slowly boil the frog and take away control of our machines because they know we can't reach these companies and hold them accountable.

      The last 20 years in videogames and software has been towards walled gardens, pioneered by Apple and google, with iphone and android. Then by the videogame industry with rebadging PC RPG's as mmo's to extract monthly payments to transform and get the public used to software as something you never own. That has been the industries goal since forever. The internet was the gift from god big business was waiting for - when everything is a software (aka on longer on dvd), you can just keep part of the software on computers at corporate HQ and control the customer because your tech smart customers can't reach you. The free market is a myth for the masses. How are you supposed to hold any company accountable when they are 100's of miles away from you?

      The internet has radically transformed the relationship between consumers and companies and in a very bad way companies can now just steal and exploit the public from the safety of corporate HQ miles away. Nothing short of magic portal tech or ideological revolution will ever change anything.

    14. Re:Stealth CPUs by ledow · · Score: 1

      The portion of people who would have bought their own chips and copied a BIOS onto them was vanishingly small. I was really deep into my IT as a kid, and very much considered a "BIOS Saviour" purchase several times, but could never justify it.

      But the fact remains that you still wouldn't have known - you may have unwittingly saved yourself from such an attack, but the BIOS could easily program in an innocent-looking presence check and carry on regardless if on a non-compromised device. Hell, it doesn't even need to be in the BIOS, the compromised device could just take advantage of a small signature in the BIOS and replace code offsets to go via its own routines rather than whatever is on the chip, etc. If anyone did that, even 30+ years ago, we would STILL not even know anything about it.

      Hell, it took 20 years to discover that the 3DFX drivers for all early Windows were nothing more than blanket-DMA enablers, and with them installed your entire machine is compromised. Nobody knew until the product was obsolete, and that was in easily-viewable software.

      Now every machine is Flash BIOS, with key-encrypted updates, done while the machine is live, even with Internet connectivity sometimes, to an unreadable part of the chip. With UEFI the BIOS is basically presenting Turing-complete programming languages too and has access to everything, even if the machine is off.

      We have literally no idea what's going on, nor what systems - past or present - may have been compromised in this way. There's almost no way to tell, either, short of decapping every batch of chips and checking they match a spec that's been provably verified to have no malicious capability.

      Literally, I could probably quite easily supply you with a 6502, or Z80, or Intel whatever, or even just a plain memory chip that - inside the package - has something that adds on certain signatures to modify the chip's behaviour, or even transmits data over discrete and encrypted radio waves. The only way to ever tell it was there (and not just random noise) would be to pull the thing off and investigate with a suitable microscope (probably an electron microscope given the size of those things nowadays) and analyse every component of a billions-of-transistors multi-layer integrated circuit.

      Possibly the only saviour in this instance might be something like homomorphic encryption - where a processor is able to perform actions on encrypted data without ever knowing the decryption details or data. Literally "not trusting the processor at all", at least to do more than basic mathematics on numbers that it can't infer anything from. People have been trying to get it working for decades and though, in theory, it's possible, nobody's really made a chip that does anything useful.

      However, that itself just pushes the problem further down the line - somewhere there's a piece of opaque circuitry from China looking at your data, no matter what you do.

  7. Wanna make a bet that RISC-V will become obsolete by Anonymous Coward · · Score: 0

    soon due to the usual lack of progress open source projects face when they lack funding in research and development to improve substantially and the original developers vanish or their ideas stagnate?

  8. Hack The Planet! by Anonymous Coward · · Score: 0

    "RISC architecture is gonna change everything"

  9. Open hardware won't make itself... by DMJC · · Score: 1

    If you want open hardware then you're going to have to buckle down and start designing and writing drivers for it yourself. Sandisk/AMD/Intel/NVIDIA/WesternDigital/Seagate/RAID manufacturers/Creative clearly don't give a shit about making open source hardware. Now many of their patents and methods have already expired so it should be possible to raid the patent libraries to make some pretty reasonable hardware, but the software is going to all have to be written from scratch as existing code is under copyright protection.

    1. Re:Open hardware won't make itself... by pjrc · · Score: 1

      Kinda sounds like comments of the early 1990s when Linux was considered a toy that nobody would ever use "in real life".

  10. Why not SPARC? by kriston · · Score: 1

    Why not SPARC?

    --

    Kriston

    1. Re:Why not SPARC? by Anne+Thwacks · · Score: 3, Funny

      Because sane people do not wish to be on the same planet as Larry Ellison.

      --
      Sent from my ASR33 using ASCII
    2. Re:Why not SPARC? by Anonymous Coward · · Score: 0

      The newer parts of SPARC (including 64 bits, IIRC) are almost certainly not open, and owned by Oracle. Those would have to be reinvented, which would lose the benefits of software compatibility. There is little other reason, as SPARC is not amazing architecturally.

      While all of the problems with the instruction set are probably surmountable, RISC-V aims at everyone, not just those with enough money and engineering talent to work around shortsighted design decisions. Some things that probably contributed to the RISC-V foundation not just using (the open part of) SPARC are:

      Condition code branching: Adds unnecessary complexity to in-order superscalar implementations, if you want any semblance of speed in instructions that access the flags register. (Specifically, it's a choice between being forced to rename the flags register and taking a speed hit because of WAR hazards and WAW hazards) Register-register comparison branching is simpler to implement in such processors, and even in processors where condition code branching wouldn't be a big deal to implement, comparison branching has better code size for many branches (Compare-and-branch (1 instruction) versus Compare-and-set-flags, then Branch-based-on-flags (2 instructions)).

      Register windows: Probably seemed like a good idea at the time. It adds an unnecessary amount of complexity to basically any implementation no matter which way you implement it, and they are not even needed in modern CPUs.

      Branch delay slots: Correct me if I'm wrong here, but I think SPARC still has branch delay slots to this day. The very existence of any branch delay slots complicates the control flow logic, as there is always the possibility of the instruction being a branch followed by a delay slot.

      Code size: I'll let the RISC-V foundation explain this one:

      There was no support for compressed instructions. We wanted to support a dense instruction encoding to reduce static code size in embedded systems, and to reduce dynamic instruction traffic in high-end servers.

      The above was in a post mentioning why they didn't use OpenRISC, but this holds true for SPARC also.

    3. Re:Why not SPARC? by mangastudent · · Score: 1

      if you want any semblance of speed in instructions that access the flags register.

      RISC-V got around any issues with the flags register by dispensing with one altogether. They defend this in part by claiming the most popular programming languages don't care about integer overflow and the like, but they also don't provide any other facilities to make it quick to discover that. The people who need to do big integer math are not amused, and I take this as a clear sign it's a "worse is better" architecture.

    4. Re:Why not SPARC? by Anonymous Coward · · Score: 0

      Original AC here. Speaking as someone who really likes RISC-V, is happy with (most of) the design decisions, I agree, and there should actually be a quick way to detect overflow, as there is for testing negativity (BLT reg, x0), zero (BEQ reg, x0), and carry (SLT, I think).

      Apparently, in the J extension for JIT compilers, they are actually adding facilities for detecting integer overflow. This is good. Presumably they are going to do something like adding an instruction ADDV rd, rs1, rs2 that adds rs1 and rs2 and sets rd to 1 if there was an overflow/underflow, and 0 if not. This would rely on macro op fusion to fuse an ADD/ADDV pair in high performance implementations, allowing low performance implementations to do these separately. (That is, if trap-on-overflow-adds are out of the question.)

      But again, I agree with you, and would like to see some quick way of detecting overflow without a flags register.

  11. Code density by Anonymous Coward · · Score: 0

    With gcc the code density is poor vs armcc. If someone writes a better compiler for it, that would be great, as for embedded work, code density is $.

    1. Re:Code density by Anonymous Coward · · Score: 0

      No it is not. Check your facts.

  12. Why don't cell phones use RISC-V? by mnemotronic · · Score: 1

    Why do Qualcomm and Samsung use ARM for their mobile chips (Exynos and Snapdragon) instead of RISC-V? Superior performance? Price?

    --
    The Russians have won. They have made the world a cesspool of distrust, greed, fear and hate.
    1. Re:Why don't cell phones use RISC-V? by Anonymous Coward · · Score: 0

      ARM was available. ARM is available in a wide range of performance. ARM has a huge ecosystem. ARM is everywhere.
      There are more ARM CPUs than x86 CPUs. Even on microSD cards, hard drives, WiFi chips, etc.

    2. Re: Why don't cell phones use RISC-V? by Anonymous Coward · · Score: 0

      Android isn't even ported to RISC-V yet.
      Also, Samsung is the only one able (willing?) to afford their own CPU design, even Qualcomm only does semi-custom now.
      So everyone else wouls STILL have to license a RISC-V design from someone.
      The fully OpenSource implementations are not modern high-performance ones.
      But even if they were, they don't have the optimization packs for e.g. specific TSMC processes.
      A lot of smaller companies also really like and rely on having support, being able to ask "why does this not work?", both during development and when getting silicon back.
      So what would be the compelling reason to go with RISC-V for most?

    3. Re: Why don't cell phones use RISC-V? by Anonymous Coward · · Score: 1

      The key word being "yet". It would be more surprising if it weren't being worked on, and given that android is almost architecture neutral and linux support is forthcoming, there are few obstacles. Google is a platinum member of the RISC-V foundation, and eventually it seems very likely that it will power their servers and more.

      As for a compelling reason, a simple and uniform platform would be extremely desirable. ARM is a horror on phones and tablets, basically requiring a custom OS image for every device. Updates are a nightmare and the manufacturers abandon support not long after the warranty expires. RISC-V will be cheaper and easier for manufacturers; why wouldn't they choose it?

    4. Re: Why don't cell phones use RISC-V? by Bert64 · · Score: 2

      Yes, RISC-V is lowend for now...
      But ARM was always lowend, and so was x86, support from a large number of vendors and huge sales volume push the lowend up while the highend architectures have all failed or been pushed into tiny expensive niches.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re:Why don't cell phones use RISC-V? by jgfenix · · Score: 1

      The same reason x86 is the king. The software works in ARM. People want their software to just work. There are some Android devices with MIPS but they aren't a huge success.

    6. Re:Why don't cell phones use RISC-V? by Anonymous Coward · · Score: 0

      Google's Pixel phone has a RISC-V chip.

  13. Intel invests in RISC V by Anonymous Coward · · Score: 0

    I think this were mentioned in an earlier slashdot post, but here it is again since it seems relevant: https://www.bit-tech.net/news/...

    their intent seems difficult to gauge though, even the sum they invested is up is an unknown, but I think when we look at what's happening each day - new spectre releases, patents lapsing, proliferation of ARM and so on - it looks more and more like a bad idea to base your entire fortune around a single processor.

    to be more specific, I think going forward we'll see ISAs factor more and more into security decisions, especially as fpga stuff gets cheaper, and this could change the ecosystem up a lot. there was a recent-ish article in another thread about intel losing ground in the server market to ARM, so you could say the shift is already happening.

    alternatives like RISC V, would stand to benefit a lot in this, though in which capacity and to what extent is hard to tell at the moment. It's worth noting ARM were scared enough to wage a smear campaign on RISC V recently, so at the very least the future may be interesting for awhile.

  14. My proposal for RISC-V. by Anonymous Coward · · Score: 0

    1. Pipeline: yes.
    2. Superscalar: yes.
    3. Out-of-order termination: yes.
    4. EPIC: yes.
    4.1 Tomasulo: yes.
    4.2 Scoreboard: yes if it is necessary (e.g. more registers to be renamed)
    5. Speculative execution: better no, because it heats much and could have risks of meltdown/spectre mitigations.
    6. Caches: yes, larger and many.

    1. Re:My proposal for RISC-V. by Anonymous Coward · · Score: 0

      Mine

      1. 68000 : yes
      2. Z80 : yes
      3. 65816 : yes
      4. SuperFX : yes
      5. Runs the games for Neo Geo, SNES, Megadrive, Master System, Game Boy Color and NES : yes

      Add a 80486 clone in there as it's unpatented, and recreate all the sound, graphics and support chips. HDMI and VGA and jack outputs.

  15. SPARC is very popular in space by Anonymous Coward · · Score: 0

    There's an open source LEON core for SPARC, it's easy to make it radiation upset tolerant, etc.

  16. Prediction: Intel will also sell RISC-V processors by Anonymous Coward · · Score: 0

    sometime in the 2020's, or they will risk losing market.

  17. Couldn't they have used MIPS, SPARC or POWER? by jgfenix · · Score: 1

    Thy are also free to use AMD there is an existing expertise so it should be easier to use than something new.

  18. How the hell is it possible to pay fee for ISA? by Eravnrekaree · · Score: 1

    It's outrageous you can copyright an instruction set. Its a language, and you shouldnt be able to copyright languages, protocols, etc. Didnt transmeta and several other companies implement x86 without paying Intel a fee? It seems the fee should only be for licensing Intels schematics. but if your going to use all of your own electronic designs it should be fine to support an existing ISA. ISAs are not difficult to implement. In fact you can create one in an hour. This certainly is not worth millions of dollars of fees. 99.9% of the effort to create your own CPU is in laying out the electronics, making the masks, and all of the difficulties of being able to fabricate the thing. Maybe I am missing something here but something does not make sense.

  19. The Chinese are developing new CPUs by Anonymous Coward · · Score: 0

    So RISC-V's market is going to be mostly in non-exposed, internal processors running secret unreplacable firmware doing unknown things our GPUs and SSDs... Kinda like the Intel ME and AMD PSP. Are we supposed to feel good about that?

    Don't feel bad.

    The Chinese are developing new CPUs based on the RISC-V architecture

    Rumor has it that a few of those new CPUs may end up as accelerators for their up-coming exa-scale supercomputers