Loongson Technology develops its own CPU instruction set architecture
tomshardware.com
tomshardware.com
IIRC most of the advantages this architecture claims to have should also be addressed by the RISC-V specification (at least in baseline profile) and they're also free to add vendor specific extensions?
Other than not-invented-here, a project already in the pipeline, or possible national security (for China) applications; I fail to see the advantage of yet another standard.
This decision by one CPU vendor is unlikely to change this.
I wonder how much of a benefit that would be.
To have an entirely separate instruction set and all the hardware / software that builds upon it that is only really used in your country _sounds_ like it would be a good way to frustrate espionage / hacking to a layman since adversaries lack the expertise.
I am sure adversarial agencies would appoint a person or a small team to become experts in this specific technology though so maybe not so much although the costs would be more than for a "common" tech.
Interesting theoretical situation to play with though.
In reality this is going to be a hugely limited benefit: to be useful it has to be widely dispersed, probably internationally. Which means everyone is going to wind up with samples in hand, and realistically it closes no exploits (which usually operate higher then architecture level).
It's in fact far more likely that some devastating architectural flaws are discovered.
Erm, no, independance of supply is the entire point. Multiple nations, such as Iran and Cuba, have seen their economies rekt by US sansctions or embargoes. This is literally priority N1 for any country on bad terms with US, whatever the reasons.
In-countrying your chip making just makes sense, but there's no reason not to use an existing architecture that experiences global cooperative development for as long as possible.
https://www.cnx-software.com/2021/04/17/loongson-loongarch-c...
It seems risc-v relies on a patent pool dominated by us companies. So the us can arbitrarily extrajudicially stomp on chinese chip manufacturer as they did with Huawei
Please stop repeating this.
First of all, before winning a few court cases we can't really be sure.
Also, probably well above 99% of patents in this area are not about the ISA but various implementation and optimization details.
As fun as riscv is, the patent free statement is (at this point) just marketing talk by Berkley.
To me, this indicates that the RISC-V team has bad intentions, and I dropped RISC-V for this reason.
https://github.com/loongson-community/docs/tree/master/unoff...
If you can make head or tail of it ...
Another post in that thread says that instruction encoding is different: https://www.realworldtech.com/forum/?threadid=201588&curpost...
For political reasons: The threat of US sanctions and China's drive to become indepedent of Western technology it makes sense not to go for ARM, X86 or RISCV. But from a pure technical perspective (ignoring software compability issues), can you actually make a modern general purpose CPU better by designing the ISA from scratch?
MIPS is dead, and Loongson was not commercially successful in the past ten years. But I do admire their work on developing CPUs with good performance independently. It seems to be necessary for China, especially after US sanctions. Hope they'll finally get on the right way.
With inexistent documentation comes an awful open-source toolchain. Their official community "Loongnix" cgit is a collection of extremely outdated, long-winded forks of gcc and the kernel. They do provide patches to GCC and Binutils, but only barely enough for the errata (and the old MMX copycat). LLVM is overlooked here, so good luck with that ll/sc lockup when you try Rust. [The "grassroots" @loongson-community on GitHub does try to figure out some more instructions.]
And that brings me to the topic of their fancy ISA extensions. Accelerated X86/ARM emulation, 256-bit SIMD (with a mnemonic of "VBCMULADDPD"), everything! But to hobbists who bought their commercial samples, all that silicon area is just expensive padding with no way to use them.
If you can tolerate Google Translate, I recommend reading https://zh.wikipedia.org/wiki/LoongISA and some of the refs. Especially the comment article by "windows1089" on Zhihu.
> However, only time will tell whether the company can actually develop a competitive ecosystem for its LoongArch.
It may not need to be open market competitive if it's heavily subsidized by the CCP and government, for reasons of having a wholly domestic cpu industry.
Given that, I'm confused why most posters think RISC-V would be a better solution. Don't you need to see both sides for a comparison?