News for hackers. Stuff that matters.
Re:Arm is canceling Qualcomm's chip design license by mushufasa on Tuesday October 22, 2024 @09:55PM (#41920927)
Qualcomm is known for having a particularly aggressive & hardball-style legal department to enforce its patents on core telecom IP. I believe the most likely outcome is they just settle the dispute here. Arm fighting hardball with hardball.

Which would not really affect the ecosystem of phones using Qualcomm arm chips, it would just change the margins / market cap of Qualcomm.

Yes, longterm Q might invest in their own RISC implementations, but I don't see a viable business case for Qualcomm to just stop ARM development for the foreseeable future.

Re:Arm is canceling Qualcomm's chip design license by hajile on Tuesday October 22, 2024 @10:11PM (#41921048)
Qualcomm doesn't have nearly as much to lose as ARM does and they know it.

Qualcomm is almost certainly ARM's biggest customer. If ARM loses, Qualcomm doesn't have to pay out. If ARM wins, Qualcomm moves to RISC-V and ARM loses even harder in the long-term.

The most likely outcome is that Qualcomm agrees to pay a slight bit more than they are currently paying, but nowhere near what ARM is demanding and in the meantime, Qualcomm continues having a team work on a RISC-V frontend for Oryon.

Re:Arm is canceling Qualcomm's chip design license by starspangled on Tuesday October 22, 2024 @11:13PM (#41921415)
Just the impact of making this move will have a chilling effect, regardless of the long term outome.

ARM Ltd wants to position itself as the ISA. It is highly proprietary of course, but the impression they want to give is that it is "open" and freely available, no lock-in, etc.

This really brings the reality back into focus that ARM controls it with an iron fist, and they're not above playing political games and siding against you if you annoy their favored customers. Really horrible optics for them.

Re:Arm is canceling Qualcomm's chip design license by t43562 on Wednesday October 23, 2024 @02:23AM (#41922354)
Qualcomm is slightly bigger than ARM so it seems like a fair fight to me. Does Qualcomm police it's IP at all?
Re:Arm is canceling Qualcomm's chip design license by starspangled on Wednesday October 23, 2024 @02:49AM (#41922495)
> Qualcomm is slightly bigger than ARM so it seems like a fair fight to me.

I'm not really sure what you're responding to. It's got nothing to do with size whether or not something is fair, it's what is in the contract. None of us know exactly what's there so if it becomes disputed then a court is going to have to decide what is fair.

But that was entirely not the point of my comment though. I'm talking about how corporations looking to make chips or get into the ecosystem view ARM and its behavior with its architecture and licensing. ARM Ltd might well be in the right here by the letter of their contracts, but that canceling their customer's license (ostensibly if not actually siding with another customer who is in competition with the first) is just not a good look for positioning they are going for.

Re:Arm is canceling Qualcomm's chip design license by t43562 on Wednesday October 23, 2024 @07:02AM (#41923763)
You might be right, but they do perhaps also have to establish that their contracts are going to be defended/enforced. Otherwise they have nothing.
Re:Arm is canceling Qualcomm's chip design license by starspangled on Thursday October 24, 2024 @07:40AM (#41934556)
Big middle ground before nuclear option of canceling license entirely though. It's a bad look too because Nuvia/QC has bad blood with Apple, and Apple is suspected to be a very favored client for ARM, so ARM has this problem of potentially appearing to be taking Apple's side against Qualcomm.

I'm not saying that's what happened or that ARM did not try to negotiate and QC was being unreasonable and the whole thing has nothing at all to do with Apple, or that ARM had any better options available to them. Could be they were backed into a corner and couldn't do anything else. I don't know. That doesn't mean it's not bad optics for them though.

Re:Arm is canceling Qualcomm's chip design license by michaelt on Wednesday October 23, 2024 @05:02AM (#41923203)
According to Wikipedia,

Qualcomm has 50,000 employees, $51 billion assets and $35 billion revenue https://en.wikipedia.org/wiki/Qualcomm

ARM Holdings has 7000 employees, $8 billion assets and $3 billion revenue https://en.wikipedia.org/wiki/Arm_Holdings

I think "slightly bigger" is an understatement.

Re:Arm is canceling Qualcomm's chip design license by cduzz on Wednesday October 23, 2024 @09:07AM (#41924687)
That's roughly the same size -- like swamp thing vs namor -- both are name brand, almost blue chip heros.

Or put another way -- as they said in gawker[1] -- if you're in a lawsuit with a billionaire you better have a billionaire on your side or you're losing.

In this case -- it's unlikely that qualcomm will have quite enough juice to just smoosh Arm, in the same way that they would be able to just smoosh a company that's 100th the size of arm (not just 1/10th), regardless of the merits of the case.

[1]https://gawker.com/how-things-work-1785604699

Re:Arm is canceling Qualcomm's chip design license by CamperBob2 on Wednesday October 23, 2024 @08:52AM (#41924565)
Does Qualcomm police it's IP at all?

Traditionally they've been known as a tech company that employs more lawyers than engineers, if that tells you anything.

I'd probably go up against IBM or Oracle before I tugged on Qualcomm's cape. Good luck to ARM, they'll need it.

Re:Arm is canceling Qualcomm's chip design license by verditelabs on Wednesday October 23, 2024 @11:44AM (#41926217)
I am an ex Qualcomm employee. We often called ourselves a law firm with a tech problem. QC doesn't actually have more lawyers than engineers, but I'd not be surprised if the legal department got paid more than all the engineers combined.
Re:Arm is canceling Qualcomm's chip design license by hajile on Wednesday October 23, 2024 @09:16AM (#41924762)
Oracle v Qualcomm would be epic.
Re:Arm is canceling Qualcomm's chip design license by aleph_minus_one on Wednesday October 23, 2024 @09:52AM (#41925068)
The public will likely be the loser of such a battle. :-(
Re:Arm is canceling Qualcomm's chip design license by Nemo_bis on Wednesday October 23, 2024 @01:38PM (#41927381)
Not if they end up cancelling each other's patents. :)
Re:Arm is canceling Qualcomm's chip design license by markhahn on Wednesday October 23, 2024 @09:13AM (#41924730)
"Chilling effect" implies that we should want ARM to succeed.

IMO we need to question the premises of the current IP ecosystem. Obviously, the principles of open-source are quite the opposite to how ARM licenses IP. (Afaik, ARM also licenses ready-to-go cores, which is very different from what Q is getting.)

It's easy to see how RISC-V avoids the conflict of interest between owning the ISA and licensing specific implementations.

Re:Arm is canceling Qualcomm's chip design license by starspangled on Wednesday October 23, 2024 @05:45PM (#41929538)
> "Chilling effect" implies that we should want ARM to succeed.

It really doesn't.

I agree an actual open ISA is far preferable, ARM is not much different than x86.

Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Thursday October 24, 2024 @03:40AM (#41933038)
> RISC-V

We’d just get a bunch of proprietary cores which might not even be compatible with each other due to extensions. Companies like Qualcomm would have zero incentives to share their designs with anyone.

ARM is not perfect but it at least guarantees some minimal equal playing field.

> Afaik, ARM also licenses ready-to-go cores

Which is the core of Qualcomm’s business. All their phone chips are based on Cortex. Of course ARM has a lot of incentives to keep it that way, hence this while thing.

Re:Arm is canceling Qualcomm's chip design license by starspangled on Thursday October 24, 2024 @07:34AM (#41934506)
> We’d just get a bunch of proprietary cores which might not even be compatible with each other due to extensions.

No different than ARM. Apple has matrix extensions that others don't, for example.

The ecosystem (e.g., Linux and OSS) pressure will strongly encourage compatible subsets however. There is some concern about RISCV fragmentation hell that ARM used to suffer from, but a least in the Linux-capable CPU space (e.g., not highly embedded or tiny), a plethora of incompatible cores will probably not happen.

> Companies like Qualcomm would have zero incentives to share their designs with anyone.

ARM cores are also proprietary. All ARM cores actually, you can't get an architectural license from ARM to create an open source core. With RISCV at least you can make open cores and there are some out there.

But opening the ISA is attacking a different level of the stack than the logic and silicon.

Re:Arm is canceling Qualcomm's chip design license by aseipp on Thursday October 24, 2024 @10:46AM (#41936031)
> RISCV fragmentation hell that ARM used to suffer from

Does "fragmentation hell" refer to Age Old problem of massive incompatibility in the Linux codebase, or the more "modern" problem people refer to which is the problem of device trees and old kernel support for peripheral drivers? Because you can rest assured that this majestic process will not be changed at all for RISC-V devices. You will still be fed plenty of junkware that will require an unsupported kernels with blobs. The ISA isn't going to change the strategy of the hardware manufacturers.

Re:Arm is canceling Qualcomm's chip design license by starspangled on Thursday October 24, 2024 @11:24PM (#41941965)
Neither. It refers to proliferation of incompatible extensions that plagued ARM. Most well known one was hf incompatibility, but there were others too.
Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Friday October 25, 2024 @04:59AM (#41943496)
> No different than ARM

Everyone has more or less the same access to relatively competitive Cortex and Neoverse cores. As ARM’s finances show that’s not a very good business model so it’s unlikely anyone would do that with RISC-V.

You can make opensource cores, but nobody investing massive amounts of money/resources required to design high end CPUs will make them open source. The situation with ARM is of course not ideal but at least the playing field is somewhat more even.

Re:Arm is canceling Qualcomm's chip design license by initramfs on Friday October 25, 2024 @03:02PM (#41948518)
> Companies like Qualcomm would have zero incentives to share their designs with anyone.

And yet, that's what linux did in 1991- they shared the code, lowering the cost of buying an operating system. I wouldn't say there is zero incentive, but it certainly lowers the incentive without a profitable complementary hardware implementation that can be sold for less than the proprietary isa when there is a royalty free license allows the manufacturer/fab designer "mask rights" to get a small margin within the difference of the foundry/ISA proprietary core competitor.

Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Saturday October 26, 2024 @04:24AM (#41953416)
Hardware is not software. Almost nothing alike. Surr it might happen for low-end/old chips with low margins but nothing cutting edge or competitive on the high-end
Re:Arm is canceling Qualcomm's chip design license by initramfs on Tuesday October 29, 2024 @11:37AM (#41985120)
software used to be hardware limited, and therefore efficient. Today Software relies on many more transistors per joule to compute a number of operations in high-level languages. I'd agree 22nm isn't leading edge, but foundries like Skywater could theoretically provide more options at 65nm and 90nm in coming years that are fully open source, except for the cost of the foundry technique perhaps: https://riscv.org/wp-content/uploads/2018/07/1130-19.07.18-L...
Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Wednesday October 30, 2024 @06:32AM (#41993483)
Yes, I think we might be talking about slightly different things. I don’t really see OS model working for higher-end / leading-edge chips.

In segments where chips are almost an interchangeable commodity and the R&D cost might be insignificant relative to manufacturing/foundry it would make a lot more sense.

Re:Arm is canceling Qualcomm's chip design license by astrange on Thursday October 31, 2024 @04:38AM (#42004621)
> No different than ARM. Apple has matrix extensions that others don't, for example.

Not anymore, M4 supports ARM SME instead.

Re:Arm is canceling Qualcomm's chip design license by 6SixTy on Thursday October 24, 2024 @02:33PM (#41938245)
Even the base integer instructions are Turing complete in RISC-V. Only instruction extensions that could be a point of contention are Matrix operations, as T-Head and Tenstorrent already have their own. Even then, I can't find a reason how this "clash" is any different than those in the x64 or ARM space.

Even if Qualcomm makes their own RISC-V chips that are somehow incompatible with everyone else's, they can't advertise that it's RISC-V due to the branding guidelines. They should know them because they are on the board as a founding top tier member.

Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Friday October 25, 2024 @05:01AM (#41943502)
> they can't advertise that it's RISC-V due to the branding guidelines

Unless it’s a superset of RISC-V. They can still have proprietary extensions

Re:Arm is canceling Qualcomm's chip design license by h_tbob on Wednesday October 23, 2024 @03:13PM (#41928376)
I don’t understand how they can copyright just the ISA. Didn’t a recent Supreme Court case in oracle v google Java issue decide that you can copy the api if you impelement it differently? So what exactl is arm pulling? Implementation hardware specs? I suspect Qualcomm can do that on its own
Re:Arm is canceling Qualcomm's chip design license by TheFlyingFish on Wednesday October 23, 2024 @03:36PM (#41928584)
I think it might actually be patents rather than copyright restrictions that are in play here.
Re:Arm is canceling Qualcomm's chip design license by dragonwriter on Wednesday October 23, 2024 @10:51PM (#41931448)
> Dudn’t a recent Supreme Court case in oracle v google Java issue decide that you can copy the api if you impelement it differently

No, it didn’t. It ruled that the specific copying and use of that Google did with Java in Android was fair use, but did not rule anything as blanket as “you can copy an API as long as you re-implement it”.

Re:Arm is canceling Qualcomm's chip design license by sangnoir on Thursday October 24, 2024 @01:27AM (#41932218)
It was a little more nuance than that. Oracle was hoping SCOTUS would rule that API Structure, sequence and organization are copyrightable - the court sidestepped that question altogether by ruling that if APIs are copyrightable[1], the case fell under fair use. So the pre-existing case law holds (broadly, it's still fine to re-implement APIs - like s3 - for compatibility since SCOTUS chose not to weigh in on it in Google v. Oracle).

1. Breyer's majority statement presupposes API's are copyrightable, without declaring it or offering any kind of test on whats acceptable.

Re:Arm is canceling Qualcomm's chip design license by dragonwriter on Thursday October 24, 2024 @11:22AM (#41936420)
> So the pre-existing case law holds (broadly, it's still fine to re-implement APIs - like s3 - for compatibility since SCOTUS chose not to weigh in on it in Google v. Oracle).

There is no clear preexisting national case law on API copyrightability, and it is unclear how other, more general, case law would apply to APIs categorically (or even if it would apply a categorical copyrightable-or-not rule), so, no, its not “ok”, its indeterminant.

Re:Arm is canceling Qualcomm's chip design license by sangnoir on Thursday October 24, 2024 @11:49AM (#41936731)
You are right there is no single national case that clearly ruled in either way, but the status quo is that it's de facto ok. Adjacent case law made white room reverse engineering & API re-implementation "ok" de jure, which is why most storage vendors - including very large ones - feel they can safely implement the S3 protocol without a license from Amazon.

Edit: none of the large companies (except Oracle) are foolish enough to pursue a rule that declares APIs as falling under copyright because they all do it. In Google v. Oracle, Microsoft files briefs support both sides after seemingly changing their mind. In lower courts, they submitted an amicus brief supporting Oracle, then when it got to SCOTUS, they filed one supporting Google, stating how disastrous it would be to the entire industry.

Re:Arm is canceling Qualcomm's chip design license by nemothekid on Tuesday October 22, 2024 @10:22PM (#41921125)
>Qualcomm moves to RISC-V and ARM loses even harder in the long-term.

I think long term is doing a lot of heavy lifting here. How long until:

1. Qualcomm develops a chip that competitive in performance to ARM

2. The entire software world is ready to recompile everything for RISC-V

Unless you are Apple I see such a transition taking a decade easily.

Re:Arm is canceling Qualcomm's chip design license by coder543 on Tuesday October 22, 2024 @10:40PM (#41921228)
> 1. Qualcomm develops a chip that competitive in performance to ARM

Virtually all high performance processors these days operate on their own internal “instructions”. The instruction decoder at the very front of the pipeline that actually sees ARM or RISC-V or whatever is a relatively small piece of logic.

If Qualcomm were motivated, I believe they could swap ISAs relatively easily on their flagship processors, and the rest of the core would be the same level of performance that everyone is used to from Qualcomm.

This isn’t the old days when the processor core was deeply tied to the ISA. Certainly, there are things you can optimize for the ISA to eke out a little better performance, but I don’t think this is some major obstacle like you indicate it is.

> 2. The entire software world is ready to recompile everything for RISC-V

#2 is the only sticking point. That is ARM’s only moat as far as Qualcomm is concerned.

Many Android apps don’t depend directly on “native” code, and those could potentially work on day 1. With an ARM emulation layer, those with a native dependency could likely start working too, although a native RISC-V port would improve performance.

If Qualcomm stopped making ARM processors, what alternatives are you proposing? Everyone is switching to Samsung or MediaTek processors?

If Qualcomm were switching to RISC-V, that would be a sea change that would actually move the needle. Samsung and MediaTek would probably be eager to sign on! I doubt they love paying ARM licensing fees either.

But, all of this is a very big “if”. I think ARM is bluffing here. They need Qualcomm.

Re:Arm is canceling Qualcomm's chip design license by sgc on Tuesday October 22, 2024 @11:41PM (#41921573)
Naively, it would seem like it would be as simple as updating android studio and recompiling your app, and you would be good to go? There must be less than 1 in 1000 (probably less than 1 in 10,000) apps that do their own ARM specific optimizations.
Re:Arm is canceling Qualcomm's chip design license by coder543 on Tuesday October 22, 2024 @11:52PM (#41921638)
Without any ARM specific optimizations, most apps wouldn’t even have to recompile and resubmit. Android apps are uploaded as bytecode, which is then AOT compiled by Google’s cloud service for the different architectures, from what I understand. Google would just have to decide to support another target, and Google has already signaled their intent to support RISC-V with Android.

https://opensource.googleblog.com/2023/10/android-and-risc-v...

Re:Arm is canceling Qualcomm's chip design license by vel0city on Wednesday October 23, 2024 @09:09AM (#41924702)
I remember when Intel was shipping x86 mobile CPUs for Android phones. I had one pretty soon after their release. The vast majority of Android apps I used at the time just worked without any issues. There were some apps that wouldn't appear in the store but the vast majority worked pretty much day one when those phones came out.
Re:Arm is canceling Qualcomm's chip design license by iggldiggl on Wednesday October 23, 2024 @11:28AM (#41926037)
I'm not sure how well it fits the timeline (i.e. x86 images for the Android emulator becoming popular due to better performance than the ARM images vs. actual x86 devices being available), but at least these days a lot of apps shipping native code probably maintain an x86/x64 version purely for the emulator.

Maybe that was the case back then, too, and helped with software availability?

Re:Arm is canceling Qualcomm's chip design license by coder543 on Wednesday October 23, 2024 @09:34AM (#41924927)
Yep! I had the Zenfone with an Intel processor in it, and it worked well!
Re:Arm is canceling Qualcomm's chip design license by iggldiggl on Wednesday October 23, 2024 @11:39AM (#41926151)
> Android apps are uploaded as bytecode, which is then AOT compiled by Google’s cloud service for the different architectures, from what I understand.

No, Android apps ship the original bytecode which then gets compiled (if at all) on the local device. Though that doesn't change the result re compatibility.

However – a surprising number of apps do ship native code, too. Of course especially games, but also any other media-related app (video players, music players, photo editors, even my e-book reading app) and miscellaneous other apps, too. There, only the original app developer can recompile the native code to a new CPU architecture.

Re:Arm is canceling Qualcomm's chip design license by coder543 on Wednesday October 23, 2024 @11:43AM (#41926214)
> No, Android apps ship the original bytecode which then gets compiled (if at all) on the local device.

Google Play Cloud Profiles is what I was thinking of, but I see it only starts “working” a few days after the app starts being distributed. And maybe this is merely a default PGO profile, and not a form of AOT in the cloud. The document isn’t clear to me.

https://developer.android.com/topic/performance/baselineprof...

Re:Arm is canceling Qualcomm's chip design license by iggldiggl on Wednesday October 23, 2024 @12:14PM (#41926490)
Yup, it's just a PGO profile (alternatively, developers can also create their own profile and ship that for their app).
Re:Arm is canceling Qualcomm's chip design license by IshKebab on Wednesday October 23, 2024 @12:10AM (#41921735)
1. That doesn't mean you can just slap a RISC-V decoder on an ARM chip and it will magically work though. The semantics of the instructions and all the CSRs are different. It's going to be way more work than you're implying.

But Qualcomm have already been working on RISC-V for ages so I wouldn't be too surprised if they already have high performance designs in progress.

Re:Arm is canceling Qualcomm's chip design license by coder543 on Wednesday October 23, 2024 @12:27AM (#41921829)
That is a good comment, and I agree things like CSR differences could be annoying, but compared to the engineering challenges of designing the Oryon cores from scratch… I still think the scope of work would be relatively small. I just don’t think Qualcomm seriously wants to invest in RISC-V unless ARM forces them to.
Re:Arm is canceling Qualcomm's chip design license by eigenform on Wednesday October 23, 2024 @02:40AM (#41922439)
> I just don’t think Qualcomm seriously wants to invest in RISC-V unless ARM forces them to.

That makes a lot of sense. RISC-V is really not at all close to being at parity with ARM. ARM has existed for a long time, and we are only now seeing it enter into the server space, and into the Microsoft ecosystem. These things take a lot of time.

> I still think the scope of work would be relatively small

I'm not so sure about this. Remember that an ISA is not just a set of instructions: it defines how virtual memory works, what the memory model is like, how security works, etc. Changes in those things percolate through the entire design.

Also, I'm going to go out on a limb and claim that verification of a very high-powered RISC-V core that is going to be manufactured in high-volume is probably much more expensive and time-consuming than the case for an ARM design.

edit: I also forgot about the case with Qualcomm's failed attempt to get code size extensions. Using RVC to approach parity on code density is expensive, and you're going to make the front-end of the machine more complicated. Going out on another limb: this is probably not unrelated to the reason why THUMB is missing from AArch64.

Re:Arm is canceling Qualcomm's chip design license by IshKebab on Wednesday October 23, 2024 @04:31PM (#41929019)
> verification of a very high-powered RISC-V core that is going to be manufactured in high-volume is probably much more expensive and time-consuming than the case for an ARM design.

Why do you say this?

Re:Arm is canceling Qualcomm's chip design license by eigenform on Wednesday October 23, 2024 @04:51PM (#41929172)
Presumably, when you have a relationship with ARM, you have access to things that make it somewhat less painful:

- People who have been working with spec and technology for decades

- People who have implemented ARM machines in fancy modern CMOS processes

- Stable and well-defined specifications

- Well-understood models, tools, strategies, wisdom

I'm not sure how much of this exists for you in the RISC-V space: you're probably spending time and money building these things for yourself.

Re:Arm is canceling Qualcomm's chip design license by snvzz on Wednesday October 23, 2024 @11:18PM (#41931573)
There is a market for RISC-V design verification.

And there is already some companies specializing on supplying this market. They do consistently present at RISC-V Summit.

Re:Arm is canceling Qualcomm's chip design license by sarlalian on Wednesday October 23, 2024 @12:51AM (#41921935)
The bigger question is how much of their existing cores utilize Arm IP… and how sure are they that they would find all of it?
Re:Arm is canceling Qualcomm's chip design license by gardaani on Wednesday October 23, 2024 @01:38AM (#41922134)
> That doesn't mean you can just slap a RISC-V decoder on an ARM chip and it will magically work though.

Raspberry Pi RP2350 already ships with ARM and RISC-V cores. https://www.raspberrypi.com/products/rp2350/

It seems that the RISC-V cores don't take much space on the chip: https://news.ycombinator.com/item?id=41192341

Of course, microcontrollers are a different from mobile CPUs, but it's doable.

Re:Arm is canceling Qualcomm's chip design license by MindSpunk on Wednesday October 23, 2024 @01:56AM (#41922219)
That's not really comparable. Raspberry Pi added entirely separate RISC-V cores to the chip, they didn't convert an ARM core design to run RISC-V instructions.

What is being discussed is taking an ARM design and modifying it to run RISC-V, which is not the same thing as what Raspberry Pi has done and is not as simple as people are implying here.

Re:Arm is canceling Qualcomm's chip design license by ajb on Wednesday October 23, 2024 @02:50AM (#41922499)
Nevertheless, several companies that originally had MIPS implementations did exactly this, to implement ARM processors.
Re:Arm is canceling Qualcomm's chip design license by x0x0 on Tuesday October 22, 2024 @11:38PM (#41921553)
> Virtually all high performance processors these days operate on their own internal “instructions”. The instruction decoder at the very front of the pipeline that actually sees ARM or RISC-V or whatever is a relatively small piece of logic.

If that's true, then what is arm licensing to Qualcomm? Just the instruction set or are they licensing full chips?

Sorry for the dumb question / thanks in advance.

Re:Arm is canceling Qualcomm's chip design license by coder543 on Tuesday October 22, 2024 @11:46PM (#41921612)
Qualcomm has historically licensed both the instruction set and off the shelf core designs from ARM. Obviously, there is no chance the license for the off the shelf core designs would ever allow Qualcomm to use that IP with a competing instruction set.

In the past, Qualcomm designed their own CPU cores (called Kryo) for smartphone processors, and just made sure they were fully compliant with ARM’s instruction set, which requires an Architecture License, as opposed to the simpler Technology License for a predesigned off the shelf core. Over time, Kryo became “semi-custom”, where they borrowed from the off the shelf designs, and made their own changes, instead of being fully custom.

These days, their smartphone processors have been entirely based on off the shelf designs from ARM, but their new Snapdragon X Elite processors for laptops include fully custom Oryon ARM cores, which is the flagship IP that I was originally referencing. In the past day or two, they announced the Snapdragon 8 Elite, which will bring Oryon to smartphones.

Re:Arm is canceling Qualcomm's chip design license by x0x0 on Wednesday October 23, 2024 @12:22AM (#41921805)
thank you for explaining
Re:Arm is canceling Qualcomm's chip design license by dmitrygr on Wednesday October 23, 2024 @08:54AM (#41924586)
A well-designed (by apple [1], by analyzing millions of popular applications and what they do) instruction set. One, where there are reg+reg/reg+shifted_reg addressing modes, only one instruction length, and sane useful instructions like SBFX/UBFX, BFC, BFI, and TBZ. All of that is much better than promises of a magical core that can fuse 3-4 instructions into one magically.

[1] https://news.ycombinator.com/item?id=31368681

Re:Arm is canceling Qualcomm's chip design license by x0x0 on Wednesday October 23, 2024 @12:07PM (#41926429)
1 - thank you

2 - thank you again for sharing your eink hacking project!

Re:Arm is canceling Qualcomm's chip design license by snvzz on Wednesday October 23, 2024 @11:20PM (#41931582)
Note that these are just a person's own opinions, obviously not shared by the architects behind RISC-V.

There are multiple approaches here. There's this tendency for each designer to think their own way is the best.

Re:Arm is canceling Qualcomm's chip design license by x0x0 on Thursday October 24, 2024 @12:05PM (#41936871)
I get that. I just work quite distantly from chips and find it interesting.

That said, licensing an instruction set seems strange. With very different internal implementations, you'd expect instructions and instruction patterns in a licensed instruction set to have pretty different performance characteristics on different chips leading to a very difficult environment to program in.

Re:Arm is canceling Qualcomm's chip design license by snvzz on Thursday October 24, 2024 @06:40PM (#41940579)
Note that this is not in any way a new development.

If you look at the incumbent ISAs, you'll find that most of the time ISA and microarchitecture were intentionally decoupled decades ago.

Re:Arm is canceling Qualcomm's chip design license by The_Colonel on Wednesday October 23, 2024 @03:24AM (#41922665)
> Everyone is switching to Samsung or MediaTek processors?

Why not? MediaTek is very competitive these days.

It would certainly perform better than a RISC-V decoder slapped onto a core designed for ARM having to run emulation for games (which is pretty much the main reason why you need a lot of performance on your phones).

Adopting RISC-V is also a risk for the phone producers like Samsung. How much of their internal tooling (e.g. diagnostics, build pipelines, testing infrastructure) are built for ARM? How much will performance suffer, and how much will customers care? Why take that risk (in the short/medium term) instead of just using their own CPUs (they did it in some generations) or use MediaTek (many producers have experience with them already)?

Phone producers will be happy to jump to RISC-V over the long term given the right incentives, but I seriously doubt they will be eager to transition quickly. All risks, no benefits.

Re:Arm is canceling Qualcomm's chip design license by mazurnification on Wednesday October 23, 2024 @04:20AM (#41922971)
I am fan of the Jeff Geerling Youtube series in which he is trying to make GPU (AMD/Nvidia) run on Raspbery Pi. It is not easy - and they have linux kernel source code available to modify. Now imagine all Qualcomm clients have to do similar stuff with their third party hardware, possibly with no access to source code of drivers. Then debug and fix for 3y all the bugs that pop up in the wild. What a nightmare.

Apple at least have full control on hardware stack (Qualcomm do not as they only sells chips to others).

Re:Arm is canceling Qualcomm's chip design license by coder543 on Wednesday October 23, 2024 @09:44AM (#41925015)
Hardware drivers certainly can be annoying, but a hobbyist struggling to bring big GPUs’ hardware drivers to a random platform is not at all indicative of how hard it would be for a company with teams of engineers. If NVidia wanted their GPUs to work on Raspberry Pi, then it would already be done. It wouldn’t be an issue. But NVidia doesn’t care, because that’s not a real market for their GPUs.

Most OEMs don’t have much hardware secret sauce besides maybe cameras these days. The biggest OEMs probably have more hardware secret sauce, but they also should have correspondingly more software engineers who know how to write hardware drivers.

If Qualcomm moved their processors to RISC-V, then Qualcomm would certainly provide RISC-V drivers for their GPUs, their cellular modems, their image signal processors, etc. There would only be a little work required from Qualcomm’s clients (the phone OEMs) like making sure their fingerprint sensor has a RISC-V driver. And again, if Qualcomm were moving… it would be a sea change. Those fingerprint sensor manufacturers would absolutely ensure that they have a RISC-V driver available to the OEMs.

But, all of this is very hypothetical.

Re:Arm is canceling Qualcomm's chip design license by wang_li on Wednesday October 23, 2024 @01:48PM (#41927478)
> If NVidia wanted their GPUs to work on Raspberry Pi, then it would already be done. It wouldn’t be an issue. But NVidia doesn’t care, because that’s not a real market for their GPUs.

It's weird af that Geerling ignores nVidia. They have a line of ARM based SBCs with GPUs from Maxwell to Ampere. They have full software support for OpenGL, CUDA, and etc. For the price of an RPi 5 + discreet GPU, you can get a Jetson Orin Nano (8 GB RAM, 6 A78 ARM cores, 1024 Ampere cores.) All in a much better form factor than a Pi + PCIe hat and graphics card.

I get the fun of doing projects, but if what you're interested in is a working ARM based system with some level of GPU, it can be had right now without being "in the shop" twice a week with a science fair project.

Re:Arm is canceling Qualcomm's chip design license by derstander on Wednesday October 23, 2024 @05:31PM (#41929429)
> It's weird af that Geerling ignores nVidia.

“With the PCI Express slot ready to go, you need to choose a card to go into it. After a few years of testing various cards, our little group has settled on Polaris generation AMD graphics cards.

Why? Because they're new enough to use the open source amdgpu driver in the Linux kernel, and old enough the drivers and card details are pretty well known.

We had some success with older cards using the radeon driver, but that driver is older and the hardware is a bit outdated for any practical use with a Pi.

Nvidia hardware is right out, since outside of community nouveau drivers, Nvidia provides little in the way of open source code for the parts of their drivers we need to fix any quirks with the card on the Pi's PCI Express bus.”

Reference = https://www.jeffgeerling.com/blog/2024/use-external-gpu-on-r...

I’m not in a position to evaluate his statement vs yours, but he’s clearly thought about it.

Re:Arm is canceling Qualcomm's chip design license by wang_li on Wednesday October 23, 2024 @08:21PM (#41930626)
I mean in terms of his quest for GPU + ARM. He's been futzing around with Pis and external GPUs and the entire time you've been able to buy a variety of SBCs from nVidia with first class software support.
Re:Arm is canceling Qualcomm's chip design license by preisschild on Wednesday October 23, 2024 @03:49PM (#41928698)
AFAIK the new SiFive dev board actually supports AMD discrete grsphics cards over PCIe
Re:Arm is canceling Qualcomm's chip design license by shash on Wednesday October 23, 2024 @04:58AM (#41923180)
> Virtually all high performance processors these days operate on their own internal “instructions”. The instruction decoder at the very front of the pipeline that actually sees ARM or RISC-V or whatever is a relatively small piece of logic.

You're talking essentially about microcode; this has been the case for decades, and isn't some new development. However, as others have pointed out, it's not _as_ simple as just swapping out the decoder (especially if you've mixed up a lot of decode logic with the rest of the pipeline). That said, it's happened before and isn't _impossible_.

On a higher level, if you listen to Keller, he'll say that the ISA is not as interesting - it's just an interface. The more interesting things are the architecture, micro-architecture and as you say, the microcode.

It's possible to build a core with comparable performance - it'll vary a bit here and there, but it's not that much more difficult than building an ARM core for that matter. But it takes _years_ of development to build an out-of-order core (even an in-order takes a few years).

Currently, I'd say that in-order RISC-V cores have reached parity. Out of order is a work in progress at several companies and labs. But the chicken-and-egg issue here is that in-order RISC-V cores have ready-made markets (embedded, etc) and out of order ones (mostly used only in datacenters, desktop and mobile) are kind of locked in for the time being.

> Many Android apps don’t depend directly on “native” code, and those could potentially work on day 1.

That's actually true, but porting Android is a nightmare (not because it's hard, but because the documentation on it sucks). Work has started, so let's see.

> With an ARM emulation layer, those with a native dependency could likely start working too, although a native RISC-V port would improve performance.

I wonder what the percentage here is... Again, I don't think recompiling for a new target is necessarily the worst problem here.

Re:Arm is canceling Qualcomm's chip design license by cesarb on Wednesday October 23, 2024 @10:14AM (#41925251)
> > Virtually all high performance processors these days operate on their own internal “instructions”. The instruction decoder at the very front of the pipeline that actually sees ARM or RISC-V or whatever is a relatively small piece of logic.

> You're talking essentially about microcode; this has been the case for decades, and isn't some new development.

Microcode is much less used nowadays than in the past. For instance, several common desktop processors have only a single instruction decoder capable of running microcode, with the rest of the instruction decoders capable only of decoding simpler non-microcode instructions. Most instructions on typical programs are decoded directly, without going through the microcode.

> However, as others have pointed out, it's not _as_ simple as just swapping out the decoder

Many details of an ISA extend beyond the instruction decoder. For instance, the RISC-V ISA mandates specific behavior for its integer division instruction, which has to return a specific value on division by zero, unlike most other ISAs which trap on division by zero; and the NaN-boxing scheme it uses for single-precision floating point in double-precision registers can be found AFAIK nowhere else. The x86 ISA is infamous for having a stronger memory ordering than other common ISAs. Many ISAs have a flags register, which can be set by most arithmetic (and some non-arithmetic) instructions. And that's all for the least-privileged mode; the supervisor or hypervisor modes expose many more details which differ greatly depending on the ISA.

Re:Arm is canceling Qualcomm's chip design license by shash on Wednesday October 23, 2024 @01:27PM (#41927279)
> Many details of an ISA extend beyond the instruction decoder. For instance, the RISC-V ISA mandates specific behavior for its integer division instruction, which has to return a specific value on division by zero, unlike most other ISAs which trap on division by zero; and the NaN-boxing scheme it uses for single-precision floating point in double-precision registers can be found AFAIK nowhere else. The x86 ISA is infamous for having a stronger memory ordering than other common ISAs. Many ISAs have a flags register, which can be set by most arithmetic (and some non-arithmetic) instructions. And that's all for the least-privileged mode; the supervisor or hypervisor modes expose many more details which differ greatly depending on the ISA.

All quite true, and to that, add things like cache hints and other hairy bits in an actual processor.

Re:Arm is canceling Qualcomm's chip design license by kernal on Wednesday October 23, 2024 @02:53PM (#41928189)
>Many Android apps don’t depend directly on “native” code, and those could potentially work on day 1. With an ARM emulation layer, those with a native dependency could likely start working too, although a native RISC-V port would improve performance.

This is only true if the application is written purely in Java/Kotlin with no native code. Unfortunately, many apps do use native code. Microsoft identified that more than 70% of the top 100 apps on Google Play used native code at a CppCon talk.

>I think ARM is bluffing here. They need Qualcomm.

Qualcomm's survival is dependent on ARM. Qualcomm's entire revenue stream evaporates without ARM IP. They may still be able to license their modem IP to OEMs, but not if their modem also used ARM IP. It's only a matter of time before Qualcomm capitulates and signs a proper licensing agreement with ARM. The fact that Qualcomm's lawyers didn't do their due diligence to ensure that Nuvia's ARM Architecture licenses were transferable is negligent on their part.

Re:Arm is canceling Qualcomm's chip design license by hajile on Tuesday October 22, 2024 @10:44PM (#41921253)
ARM already did the hard work. Once you've ported your app to ARM, you've no doubt made sure all the ISA-specific bits are isolated while the rest is generic and portable. This means you already know where to go and what to change and hopefully already have testing in place to make sure your changes work correctly.

Aside from the philosophy, lots of practical work has been done and is ongoing. On the systems level, there has already been massive ongoing work. Alibaba for example ported the entirety of Android to RISC-V then handed it off to Google. Lots of other big companies have tons of coders working on porting all kinds of libraries to RISC-V and progress has been quite rapid.

And of course, it is worth pointing out that an overwhelming majority of day-to-day software is written in managed languages on runtimes that have already been ported to RISC-V.

Re:Arm is canceling Qualcomm's chip design license by NavinF on Tuesday October 22, 2024 @10:53PM (#41921297)
Interesting, does anyone know what percentage of top Android apps run on RISC-V? I'd expect a lot of apps like games to only have binaries for ARM
Re:Arm is canceling Qualcomm's chip design license by KRAKRISMOTT on Tuesday October 22, 2024 @11:53PM (#41921643)
The thing about RISC-V is that they indirectly have the R&D coffers of the Chinese government backing them for strategic reasons. They are the hardware equivalent of Uber's scale-first-make-money later strategy. This is not a competition that ARM can win purely relying on their existing market dominance.
Re:Arm is canceling Qualcomm's chip design license by Pet_Ant on Tuesday October 22, 2024 @10:57PM (#41921318)
Aren’t Android binaries in Dalvik so you only need to port that to get it to run on RISC-V?
Re:Arm is canceling Qualcomm's chip design license by canucker2016 on Tuesday October 22, 2024 @11:36PM (#41921549)
Many games, multimedia apps (native FFMPEG libs), and other apps that require native C/C++ libs would require a recompile/translation for RISC-V.
Re:Arm is canceling Qualcomm's chip design license by shash on Wednesday October 23, 2024 @05:00AM (#41923188)
FFMPEG has a RISC-V port. We're yet to try it, but I did successfully compile it to target RISC-V vector extensions.
Re:Arm is canceling Qualcomm's chip design license by ThatPlayer on Wednesday October 23, 2024 @05:45AM (#41923431)
Not Android, but Box86 already works on RISC-V, even already running games on top of Wine and DXVK: https://youtu.be/qHLKB39xVkw

It redirects calls to x86 libraries to native RISC-V versions of the library.

Re:Arm is canceling Qualcomm's chip design license by anthk on Wednesday October 23, 2024 @05:12PM (#41929306)
Most FLOSS libraries are already ported over thanks to GNU/Linux.
Re:Arm is canceling Qualcomm's chip design license by NavinF on Tuesday October 22, 2024 @11:07PM (#41921373)
Re:Arm is canceling Qualcomm's chip design license by snvzz on Tuesday October 22, 2024 @11:18PM (#41921443)
Aren't most applications NOT using the ndk?
Re:Arm is canceling Qualcomm's chip design license by monocasa on Tuesday October 22, 2024 @11:32PM (#41921527)
NDK usage is pretty high among applications that actually matter.
Re:Arm is canceling Qualcomm's chip design license by saagarjha on Tuesday October 22, 2024 @11:59PM (#41921680)
Most major apps use the NDK.
Re:Arm is canceling Qualcomm's chip design license by pjmlp on Wednesday October 23, 2024 @03:41AM (#41922752)
Everyone that doesn't want to write Java/Kotlin is using the NDK.

Although from Google's point of view the NDK only purpose is for enabling writing native methods, reuse of C and C++ libraries, games and real time audio, from point of view of others, it is how they sneak Cordova, React Native, Flutter, Xamarin,.... into Android.

Re:Arm is canceling Qualcomm's chip design license by philistine on Tuesday October 22, 2024 @11:30PM (#41921512)
That's what's magical about Apple. It was a decade-long transition. All the 32-bit code that was removed from macOS back in 2017 was all in preparation for the move in 2019.
Re:Arm is canceling Qualcomm's chip design license by MBCook on Tuesday October 22, 2024 @11:41PM (#41921575)
Apple has done it multiple times now and has it down to a science.

68k -> PPC -> x86 -> ARM, with the 64 bit transition you mixed in there for good measure (twice!).

Has any other consumer company pulled a full architecture switch off? Companies pulled off leaving Alpha and Sparc but that was servers which has a different software landscape.

Re:Arm is canceling Qualcomm's chip design license by hajile on Tuesday October 22, 2024 @11:50PM (#41921629)
I don't believe any major company has done it. Even Intel failed numerous times to move away from x86 with iAPX432, i960, i860, and Itanium all failing to gain traction.
Re:Arm is canceling Qualcomm's chip design license by MBCook on Wednesday October 23, 2024 @12:00AM (#41921682)
For Apple it was do or die the first few times. Until x86, if they didn’t move they’d just be left in the dust and their market would disappear.

The ARM transition wasn’t strictly necessary like the last ones. It had huge benefits for them, so it makes sense, but they also knew what they were doing by then.

In your examples (which are great) Intel wasn’t going to die. They had backups, and many of those seem guided more by business goals than a do-or-die situation.

I wonder if that’s part of why they failed.

Re:Arm is canceling Qualcomm's chip design license by hnaccount_rng on Wednesday October 23, 2024 @12:44AM (#41921901)
In a way that's also true for the x86->ARM transition, isn't it? I had an MacbookAir 2018. And.. "it was crap" is putting it very, very mildly. Yes it was still better than any Windows laptop I got since and much less of a hassle than any Linux laptop that I'm aware of in my circle. But the gap was really, really small and it cost twice as much.

But the most important part for the working of the transition is probably that, in any of theses cases, the typical final user didn't even notice. Yes a lot of Hackernews-like people noticed as they had to recompile some of their programs. But most people :tm: didn't. They either use AppStore apps, which were fixed ~immediately or Rosetta made everything runnable, even if performance suffered.

But that's pretty much the requirement you have: You need to be handle to transition ~all users to the new platform with ~no user work and even without most vendors doing anything. Intel never could provide that, not even aim for it. So they basically have to either a) rip their market in pieces or b) support the "deprecated" ISA forever.

Re:Arm is canceling Qualcomm's chip design license by plorkyeran on Wednesday October 23, 2024 @01:29AM (#41922095)
> Rosetta made everything runnable, even if performance suffered.

I think a very important part was that even with the Rosetta overhead, most x86 programs were faster on the m1 than on the machines which it would have been replacing. It wasn’t just that you could continue using your existing software with a perf hit; your new laptop actually felt like a meaningful upgrade even before any of your third party software got updated.

Re:Arm is canceling Qualcomm's chip design license by MBCook on Wednesday October 23, 2024 @09:41AM (#41924980)
I don’t think so. I’ve got a 2019 MBP and yeah, the heat issue is a big problem.

But they weren’t going to be left in the performance dust like the last times. Their chip supplier wasn’t going to stop selling chips to them.

They would have likely had to give up on how thin their laptops were, but they could have continued on just fine.

I do think the ARM transition wasn’t strictly good, it let them stay thin and quiet and cooler. They got economies of scale with their phone chips.

But it wasn’t necessary to the degree the previous ones were.

Re:Arm is canceling Qualcomm's chip design license by MBCook on Wednesday October 23, 2024 @12:20PM (#41926560)
> I do think the ARM transition wasn’t strictly good

That’s a total typo I didn’t catch in time. I’m not sure what I tried to type, but I thought the transition was good. They didn’t have to but I’m glad they did.

Re:Arm is canceling Qualcomm's chip design license by ajb on Wednesday October 23, 2024 @02:48AM (#41922486)
IBM also did it, with mainframes. But otherwise, no.
Re:Arm is canceling Qualcomm's chip design license by shash on Wednesday October 23, 2024 @05:01AM (#41923195)
In a sense, Freescale/NXP did it from their old PowerPC to ARM.
Re:Arm is canceling Qualcomm's chip design license by SoftTalker on Wednesday October 23, 2024 @11:42AM (#41926193)
MacOS (as NeXTSTEP and/or OpenStep) also ran on SPARC and PA-RISC I believe.
Re:Arm is canceling Qualcomm's chip design license by slashdave on Wednesday October 23, 2024 @12:29PM (#41926650)
OpenStep was developed on SunOS, and was the primary GUI out of the box
Re:Arm is canceling Qualcomm's chip design license by slashdave on Wednesday October 23, 2024 @12:28PM (#41926634)
> Companies pulled off leaving Alpha and Sparc

Considering the commercial failure of these efforts, I might disagree

Re:Arm is canceling Qualcomm's chip design license by phkahler on Tuesday October 22, 2024 @11:13PM (#41921414)
>> 1. Qualcomm develops a chip that competitive in performance to ARM

Done. Qualcomm is currently gunning for Intel.

2. The entire software world is ready to recompile everything for RISC-V

Android phones use a virtual machine which is largely ported already. Linux software is largely already ported.

Re:Arm is canceling Qualcomm's chip design license by djbusby on Tuesday October 22, 2024 @11:19PM (#41921450)
And with VM tech, and the power of modern devices even some emulator/thunking layer is not too crazy for apps that (somehow) couldn't cross compile.
Re:Arm is canceling Qualcomm's chip design license by IshKebab on Wednesday October 23, 2024 @12:12AM (#41921749)
2. Except games...

But ARM and RISC-V are relatively similar and it's easy to add custom instructions to RISC-V to make them even more similar if you want so you could definitely do something like Rosetta.

Re:Arm is canceling Qualcomm's chip design license by saagarjha on Tuesday October 22, 2024 @11:57PM (#41921669)
> Qualcomm develops a chip that competitive in performance to ARM

That’s what Oryon is, in theory.

Re:Arm is canceling Qualcomm's chip design license by andyferris on Tuesday October 22, 2024 @11:06PM (#41921372)
Keep in mind, Apple _did_ actually take a good decade from starting with ARM to leaving x86.
Re:Arm is canceling Qualcomm's chip design license by fhdsgbbcaA on Tuesday October 22, 2024 @11:18PM (#41921445)
With 100% control of the stack and an insanely good emulator in Rosetta.
Re:Arm is canceling Qualcomm's chip design license by speed_spread on Tuesday October 22, 2024 @11:38PM (#41921552)
Qualcomm's migration would be much easier than Apple's.

Most of the Android ecosystem already runs on a VM, Dalvik or whatever it's called now. I'm sure Android RISC-V already runs somewhere and I don't see why it would run any worse than on ARM as long as CPUs have equal horsepower.

Re:Arm is canceling Qualcomm's chip design license by saagarjha on Wednesday October 23, 2024 @12:01AM (#41921684)
NDK exists.
Re:Arm is canceling Qualcomm's chip design license by darksaints on Wednesday October 23, 2024 @02:46AM (#41922478)
The companies with large relevant apps running on the NDK are well staffed and funded enough to recompile.
Re:Arm is canceling Qualcomm's chip design license by saagarjha on Wednesday October 23, 2024 @04:13AM (#41922920)
It's not about whether they can, it's whether they will. History has proven that well-resourced teams don't like doing this very much and will drag their feet if given the chance.
Re:Arm is canceling Qualcomm's chip design license by immibis on Wednesday October 23, 2024 @02:57AM (#41922540)
it's not about that, it's about running the apps whose makers are out of business or just find it easier to tell their customers to buy different phones
Re:Arm is canceling Qualcomm's chip design license by toasterlovin on Wednesday October 23, 2024 @01:12AM (#41922021)
Yeah, but Qualcomm doesn’t control Android or any of the phone makers. It’s hard for large corps to achieve the internal coordination necessary for a successful ISA change (something literally only Apple has ever accomplished), but trying to coordinate with multiple other large corps? Seems insane. You’re betting your future on the fact that none of the careerists at Google or Samsung get cold feet and decide to just stick with what works.
Re:Arm is canceling Qualcomm's chip design license by rangestransform on Wednesday October 23, 2024 @05:26PM (#41929395)
Wouldn’t coordination to change ISA between multiple companies receive heavy scrutiny in the Lina Khan era?
Re:Arm is canceling Qualcomm's chip design license by godzillabrennus on Tuesday October 22, 2024 @11:34PM (#41921542)
Is the transition fully over if the latest MacOS still runs an x86 emulator for old software?
Re:Arm is canceling Qualcomm's chip design license by snvzz on Tuesday October 22, 2024 @11:43PM (#41921597)
>2. The entire software world is ready to recompile everything for RISC-V

This would suggest that RISC-V is starting from scratch.

Yet in reality it is well underway; RISC-V is rapidly growing the strongest ecosystem.

Re:Arm is canceling Qualcomm's chip design license by fhdsgbbcaA on Tuesday October 22, 2024 @11:15PM (#41921430)
I think windows-on-arm is fairly instructive as to how likely RISC-V would go.
Re:Arm is canceling Qualcomm's chip design license by Brian_K_White on Wednesday October 23, 2024 @03:37AM (#41922732)
Switches like that are major, but get easier every year, and are easier today than they were yesterday, as everyones tools at all levels up and down both the hardware and software stacks get more powerful all the time.

It's an investment with a cost and a payoff like any other investment.

Re:Arm is canceling Qualcomm's chip design license by detourdog on Wednesday October 23, 2024 @08:59AM (#41924633)
I think it takes Apple at least 9 years to prepare and 1 year to implement.
Re:Arm is canceling Qualcomm's chip design license by gonzo on Wednesday October 23, 2024 @12:05AM (#41921706)
> Qualcomm is almost certainly ARM's biggest customer.

You think Qualcomm is larger than Apple?

Re:Arm is canceling Qualcomm's chip design license by javawizard on Wednesday October 23, 2024 @12:09AM (#41921727)
Apple has (to a first approximation) a royalty-free license to ARM IP by virtue of the fact that they co-founded ARM - so yes, Qualcomm is most likely paying ARM more than Apple is.
Re:Arm is canceling Qualcomm's chip design license by happymellon on Wednesday October 23, 2024 @01:26AM (#41922082)
Just to clarify for those that don't know ARMs history, Acorn were building computers and designing CPUs before they spun out the CPU design portion.

Apple did not help them design the CPU/Architecture, that was a decade of design and manufacturing already, they VC'ed the independence of the CPU. The staffing and knowledge came from Acorn.

Re:Arm is canceling Qualcomm's chip design license by billti on Wednesday October 23, 2024 @02:11AM (#41922299)
> Apple did not help them design the CPU/Architecture

I believe they had a big hand in ARM64. Though best reference I can find right now is this very site: https://news.ycombinator.com/item?id=31368489

Re:Arm is canceling Qualcomm's chip design license by happymellon on Wednesday October 23, 2024 @02:34AM (#41922410)
Oh, I was just wanting to clarify the "Apple co-founded".

They had the Newton project, found ARM did a better job than the other options, but there were a few missing pieces. They funded the spun out project so they could throw ARM a few new requirements for the CPU design.

As a "cofounder" of ARM, they didn't contribute technical experience and the architecture did already exist.

Re:Arm is canceling Qualcomm's chip design license by steeeeeve on Wednesday October 23, 2024 @02:05PM (#41927693)
Sigh. Newton. So far ahead of it's time.
Re:Arm is canceling Qualcomm's chip design license by hajile on Wednesday October 23, 2024 @09:34AM (#41924922)
Absolutely.

There are nearly 2B smartphones sold each year and only 200M laptops, so Apple's 20M laptop sales are basically a rounding error and not worth considering.

As 15-16% of the smartphone market, Apple is generally selling around 300m phones. I've read that Qualcomm is usually around 25-35% of the smartphone market which would be 500-700M phones.

But Qualcomm almost certainly includes ARM processors in their modems which bumps up those numbers dramatically. Qualcomm also sells ARM chips in the MCU/DSP markets IIRC.

Re:Arm is canceling Qualcomm's chip design license by zjjsij on Wednesday October 23, 2024 @12:58PM (#41926956)
Qualcomm's modems aren't ARM processors, they're Hexagon.

https://en.wikipedia.org/wiki/Qualcomm_Hexagon

Re:Arm is canceling Qualcomm's chip design license by Paianni on Sunday October 27, 2024 @11:48AM (#41963439)
Qualcomm may have the market but Apple has the profit.
Re:Arm is canceling Qualcomm's chip design license by svnt on Tuesday October 22, 2024 @10:19PM (#41921107)
You’re suggesting that Snapdragon processors would switch to RISC-V and that would be no big deal? Presumably Qualcomm is committed to numerous multi-year supplier agreements for the arm chipsets.
Re:Arm is canceling Qualcomm's chip design license by hajile on Tuesday October 22, 2024 @10:21PM (#41921120)
Qualcomm pitched Znew quite a while ago. It mostly ditched 16-bit instructions and added a bunch of instructions that were basically ripped straight from ARM64.

The idea was obviously an attempt at making it as easy as possible to replace ARM with RISC-V without having to rework much of the core.

https://lists.riscv.org/g/tech-profiles/attachment/332/0/cod...

Re:Arm is canceling Qualcomm's chip design license by snvzz on Tuesday October 22, 2024 @11:22PM (#41921466)
An attempt that failed miserably. (it was formally rejected a year ago)

But, by now, it is expected that Qualcomm's RISC-V designs have been re-aligned to match the reality that Qualcomm does not control the standard.

Re:Arm is canceling Qualcomm's chip design license by dwaite on Wednesday October 23, 2024 @11:54AM (#41926319)
Actually, it was an attempt to reuse as much of the ARM design they got when they bought Nuvia moving to a different CPU architecture. They were worried about ASIC design not software code.
Re:Arm is canceling Qualcomm's chip design license by monocasa on Tuesday October 22, 2024 @10:21PM (#41921117)
This affects their custom Nuvia derived cores. I'm sure Qualcomm will be able to keep using ARM designed cores to cover themselves while they ween off ARM in favor of RISC-V if they need to.
Re:Arm is canceling Qualcomm's chip design license by a-dub on Tuesday October 22, 2024 @10:55PM (#41921308)
is risc-v anywhere near the same efficiency ballpark?
Re:Arm is canceling Qualcomm's chip design license by monocasa on Tuesday October 22, 2024 @11:45PM (#41921607)
RISC-V is very competitive with ARM when comparing similar PPA niches.
Re:Arm is canceling Qualcomm's chip design license by msh on Wednesday October 23, 2024 @12:11AM (#41921737)
High performance and low power laptop and phone SoC’s, no way. There exists no competitive risc-v chip.
Re:Arm is canceling Qualcomm's chip design license by wmf on Wednesday October 23, 2024 @12:45AM (#41921904)
We're all assuming that Oryon-V is already being developed.
Re:Arm is canceling Qualcomm's chip design license by Mindwipe on Wednesday October 23, 2024 @11:09AM (#41925819)
"Developed" and "successfully shipped" are two enormously different things.
Re:Arm is canceling Qualcomm's chip design license by yalogin on Wednesday October 23, 2024 @02:16AM (#41922312)
Moving to a whole new architecture is really really hard, no? The operating systems and applications all need to be ported. Just because Qualcomm cannot be friends with arm, every single Qualcomm customer from google to some custom device manufacturer needs to invest years and millions to move to a new architecture? Unless I am fundamentally misunderstanding this, it seems like something they won’t be able to achieve.
Re:Arm is canceling Qualcomm's chip design license by dvdkon on Wednesday October 23, 2024 @10:46AM (#41925571)
Android already supports RISC-V, so while migrating an SOC to it is not painless (third-party binaries, device-specific drivers...), the hard work of porting the operating system itself to the ISA is done.
Re:Arm is canceling Qualcomm's chip design license by f1shy on Wednesday October 23, 2024 @02:37AM (#41922426)
>>Qualcomm moves to RISC-V and ARM

That is a HUGE cost!

Re:Arm is canceling Qualcomm's chip design license by m463 on Wednesday October 23, 2024 @02:47AM (#41922483)
> Qualcomm doesn't have nearly as much to lose as ARM does and they know it.

question: isn't arm somewhat apple?

...Advanced RISC Machines Limited and structured as a joint venture between Acorn Computers, Apple, and VLSI Technology.

https://en.wikipedia.org/wiki/Arm_Holdings#Founding

Re:Arm is canceling Qualcomm's chip design license by objclxt on Wednesday October 23, 2024 @04:13AM (#41922929)
> question: isn't arm somewhat apple?

Not for decades. Apple sold its stake in ARM when Steve Jobs came back, they needed the money to keep the company going.

Re:Arm is canceling Qualcomm's chip design license by biosboiii on Wednesday October 23, 2024 @02:52AM (#41922510)
Thing is businesses don't work like side-projects do.

Qualcomm is more or less a research company, the main cost of their business is paying engineers to build their modems/SoCs/processors/whatever.

They have been working with ARM for the last, I dont know, 20 years? Even if they manage to switch to RISC-V, and each employee has negative performance impact of like 15% for 2-3 years this ends up in billions of dollars, because you have to hire more people or lose speed.

If corporate would force me to work with idk Golang instead of TypeScript I could certainly manage to do so, but I would be slower for a while, and if you extrapolate that on an entire company this is big $$.

Re:Arm is canceling Qualcomm's chip design license by nottorp on Wednesday October 23, 2024 @03:47AM (#41922777)
> because you have to hire more people or lose speed

Yes and 9 women can make a baby in 1 month :)

Re:Arm is canceling Qualcomm's chip design license by asgeir on Wednesday October 23, 2024 @05:30AM (#41923362)
In Norse mythology, Heimdallr was born of nine sisters. I'm not sure that it took any less time than usual, but I enjoy the story all the same. https://en.wikipedia.org/wiki/Nine_Mothers_of_Heimdallr
Re:Arm is canceling Qualcomm's chip design license by type0 on Wednesday October 23, 2024 @05:52AM (#41923471)
and Norse mythology has 9 world dimensions, so maybe it worked for them
Re:Arm is canceling Qualcomm's chip design license by vollbrecht on Wednesday October 23, 2024 @09:06AM (#41924681)
It's called pipelining, and the concept works well in all modern processors. Can also work with people, you only have a initial setup delay :)
Re:Arm is canceling Qualcomm's chip design license by tsunamifury on Wednesday October 23, 2024 @11:00AM (#41925747)
No but 9 women can have 9 babies in 9 months.

Which is a 9x output.

Production and development requires multiple parties. This mythical man month stuff is often poorly applied. Many parts of research and development need to be done in parallel.

Re:Arm is canceling Qualcomm's chip design license by nottorp on Thursday October 24, 2024 @09:31AM (#41935305)
If you make screws, sure :)
Re:Arm is canceling Qualcomm's chip design license by dzaima on Wednesday October 23, 2024 @11:13AM (#41925868)
Just take a guess at how the baby will be like and get everyone to pretend it already exists for the 8 months (and throw away the experience if mispredicted afterwards) :)
Re:Arm is canceling Qualcomm's chip design license by nasretdinov on Wednesday October 23, 2024 @04:20AM (#41922968)
> If corporate would force me to work with idk Golang instead of TypeScript

I think the most evil thing to do would be to switch places: TS for backend, Go for frontend. It can certainly work though!

Re:Arm is canceling Qualcomm's chip design license by jkaplowitz on Wednesday October 23, 2024 @05:10AM (#41923253)
Building a website that way would yield quite a popular Show HN post!
Re:Arm is canceling Qualcomm's chip design license by worewood on Wednesday October 23, 2024 @06:14AM (#41923567)
TS running under Node.js for the backend, I'd dare say, looks pretty standard.

But I like to imagine the Web frontend made in Go, compiled to WASM. Would be a fun project, for sure.

Re:Arm is canceling Qualcomm's chip design license by ahoka on Wednesday October 23, 2024 @10:52AM (#41925650)
Try Java 1.8.
Re:Arm is canceling Qualcomm's chip design license by mytailorisrich on Wednesday October 23, 2024 @03:19AM (#41922646)
On modem side they can move to whatever they want without impacts. But on the apps side they need to run Linux/Android/Windows/etc so are dependent on Arm.
Re:Arm is canceling Qualcomm's chip design license by tails4e on Wednesday October 23, 2024 @03:36AM (#41922729)
The transition to RISC-V depends entirely on how much of the cpu core susbstem is from ARM. The ISA itself is one part, there are branch predictors, l1,l2 and 3 caches, MMUs, virtualization, vector extensions, the pipeline architecture, etc etc. So moving away from ARM means they need performant replacements for all that.

I'm sure there are folks like SiFive that have much of this, but how is it competitively I don't know, and how the next snapdragon would compete if even one of those areas is lacking... Interesting times.

Re:Arm is canceling Qualcomm's chip design license by torginus on Wednesday October 23, 2024 @04:53AM (#41923154)
This is a bit off topic, but has anyone demonstrated it's possible to design a big RISC-V core, that's performance competitive with the fastest x86 and ARM designs?
Re:Arm is canceling Qualcomm's chip design license by shash on Wednesday October 23, 2024 @05:04AM (#41923213)
Well, Tenstorrent, Andes and others have their respective designs...

On the in-order side, I can see on-par performance with the ARM A5x series quite easily.

Re:Arm is canceling Qualcomm's chip design license by torginus on Wednesday October 23, 2024 @09:41AM (#41924983)
After a bit of digging, I found that the SiFive P670 has performance equivalent to the Galaxy S21, or the desktop Ryzen 7 2700, which is not too bad and definitely usable in a smartphone/laptop form, so competitive with the 2021 era designs. Definitely usable. It's not clear what's the power level is.
Re:Arm is canceling Qualcomm's chip design license by shash on Wednesday October 23, 2024 @01:24PM (#41927238)
The P670 is a core, not a chip, so you can't really get to power numbers (or indeed, raw performance as opposed to performance / watt or performance / GHz) without actually making a practical chip out of it in some given process node. You're better off comparing it to a core, such as the ARM Cortex series, rather than the S21.

SiFive claims a SPECint2006 score of > 12/GHz, meaning that it'll get a performance of about 24 at 2 GHz or ~31 at 2.6 GHz, making it on par with an A76 in terms of raw performance.

Re:Arm is canceling Qualcomm's chip design license by tsunamifury on Wednesday October 23, 2024 @10:59AM (#41925728)
Qualcomm’s business strategy has become hold everyone at gun point then act surprised when everyone looks for alternative customers/partners/suppliers.
Re:Arm is canceling Qualcomm's chip design license by throw16180339 on Thursday October 24, 2024 @03:43PM (#41939000)
They're the Oracle of hardware.
Re:Arm is canceling Qualcomm's chip design license by Const-me on Wednesday October 23, 2024 @11:16AM (#41925898)
> If ARM wins, Qualcomm moves to RISC-V

Around 30-40% of Android apps published on play store include native binaries. Such apps need to be recompiled for RISC-V otherwise they won’t run. Neither Qualcomm nor Google can do that because they don’t have source codes for these apps.

It’s technically possible to emulate ARMv8 on top of RISC-V, however doing so while keeping the performance overhead reasonable is going to be insanely expensive in R&D costs.

Re:Arm is canceling Qualcomm's chip design license by B1FF_PSUVM on Wednesday October 23, 2024 @11:21AM (#41925959)
Binary-only translators exist, for instance Apple has https://en.wikipedia.org/wiki/Rosetta_(software)
Re:Arm is canceling Qualcomm's chip design license by Const-me on Wednesday October 23, 2024 @11:51AM (#41926294)
Apple gross revenue is 10x the Qualcomm, and the difference in net income is even larger. Apple could easily afford these R&D costs.

Another obstacle, even if Qualcomm develops an awesome emulator / JIT compiler / translation layer, I’m not sure the company is in the position to ship that thing to market. Unlike Apple, Qualcomm doesn’t own the OS. Such emulator would require extensive support in the Android OS. I’m not sure Google will be happy supporting huge piece of complicated third-party software as a part of their OS.

P.S. And also there’re phone vendors who actually buy chips from Qualcomm. They don’t want end users to complain that their favorite “The Legendary Cabbage: Ultimate Loot Garden Saga” is lagging on their phone, while working great on a similar ARM-based Samsung.

Re:Arm is canceling Qualcomm's chip design license by iggldiggl on Thursday October 24, 2024 @04:20AM (#41933313)
> I’m not sure Google will be happy supporting huge piece of complicated third-party software as a part of their OS.

Yeah, for the upcoming/already happening 64-bit-only transition (now that Qualcomm is dropping 32-bit support from their latest CPU generations), Google has decided to go for a hard cut-off, i.e. old apps that are still 32-bit-only simply won't run anymore.

Though from what I've heard, some third party OEMs (I think Xiaomi at least?) still have elected to ship a translation layer for their phones at the moment.

Re:Arm is canceling Qualcomm's chip design license by kernal on Wednesday October 23, 2024 @12:09PM (#41926459)
>Qualcomm doesn't have nearly as much to lose as ARM does and they know it.

Not even close. Android OEM's can easily switch to the MediaTek 9400 that delivers the same performance as the Qualcomm high-end mobile chip at a significantly reduced price or even the Samsung Exynos. Qualcomm, on the other hand, has everything to lose as most of their profits rely on the sales of high-end Snapdragon chips to Android OEM's.

Qualcomm thought they were smart by trying to use the Nuvia ARM design license, which was not transferable, as part of their acquisition instead of doing the proper thing and negotiating a design license with ARM. Qualcomm is at the mercy of ARM as ARM has very many revenue streams and Qualcomm does not. It's only a matter of time before Qualcomm capitulates and does the right thing.

Re:Arm is canceling Qualcomm's chip design license by jjtheblunt on Wednesday October 23, 2024 @01:37PM (#41927371)
> Qualcomm is almost certainly ARM's biggest customer

what about Apple?

Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Thursday October 24, 2024 @03:37AM (#41933016)
> If ARM wins

Qualcomm pays them.

> Qualcomm moves to RISC-V

That’s like chopping your foot off to save on shoes…

It would take years for Qualcomm to develop a competitive RISC-V chip. Just look at how long it took them to design a competitive ARM core…

Of course they could use this this threat (even if it’s far-fetched) to negotiate a somewhat more favorable settlement.

Re:Arm is canceling Qualcomm's chip design license by chasil on Tuesday October 22, 2024 @10:10PM (#41921039)
The phones haven't been custom ARM chips since 32-bit Krait, IIRC.

This is about Nuvia.

https://en.m.wikipedia.org/wiki/Krait_(processor)

Re:Arm is canceling Qualcomm's chip design license by lizknope on Tuesday October 22, 2024 @10:32PM (#41921181)
Snapdragon 805 had a 32-bit Krait designed by Qualcomm

https://www.qualcomm.com/products/mobile/snapdragon/smartpho...

810 had a 64-bit core designed by ARM

https://www.qualcomm.com/products/mobile/snapdragon/smartpho...

820/821 had a 64-bit Kryo custom core designed by Qualcomm

https://www.qualcomm.com/products/mobile/snapdragon/smartpho...

After that it was all cores from ARM. The custom CPU team worked on their server chip before getting cancelled and most of the team went to Microsoft

Re:Arm is canceling Qualcomm's chip design license by chasil on Wednesday October 23, 2024 @12:56AM (#41921957)
I need to have a closer look. Thanks.
Re:Arm is canceling Qualcomm's chip design license by haerwu on Wednesday October 23, 2024 @02:29AM (#41922382)
When you look at https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.ht... table then you can see that in Snapdragon 8xx series the first "ARM cores out of shelf" was 888 in 2020.

865 (2019) has Cortex-A77 + Kryo 4xx Silver 888 (2002) uses Cortex-X1 + Cortex-A78 + Cortex-A55 cores

Re:Arm is canceling Qualcomm's chip design license by adrian_b on Wednesday October 23, 2024 @04:14AM (#41922933)
Most of the cores branded "Kryo" have negligible differences from the original Arm cores. There might be some differences in the cache memories and in the interfaces between the cores and the rest of the Qualcomm SoC, but there are no differences in the inner CPU cores.

Snapdragon 865 has standard Arm cores. The same is true for the older Snapdragon 855, Snapdragon 845 and Snapdragon 835, which I am using or I have used in my phones.

The claim of Qualcomm that those cores have been "semi-custom", is mostly BS, because the changes made by Qualcomm to the cores licensed from Arm have been minimal.

Re:Arm is canceling Qualcomm's chip design license by lizknope on Wednesday October 23, 2024 @01:07PM (#41927051)
That table doesn't have the Snapdragon 810

https://www.qualcomm.com/products/mobile/snapdragon/smartpho...

I worked on it in 2014. The table does have 808 listed. That may have been a lower end version.

Qualcomm got caught being late. They were continuing development of custom 32-bit cores and Apple came out with a 64-bit ARM core in the iPhone. The Chief Marketing Officer of Qualcomm called it a gimmick but Apple was a huge customer of Qualcomm's modems. Qualcomm shoved him off to the side for a while.

https://www.cnet.com/tech/mobile/qualcomm-gambit-apple-64-bi...

Because Q's custom 64-bit CPU was not ready the stop gap plan was to license a 64-bit RTL design from ARM and use that in the 810. It also had overheating problems but that's different issue. There were a lot of internal politics going on at Q over the custom cores and server chips that ended up in layoffs.

Re:Arm is canceling Qualcomm's chip design license by shmerl on Tuesday October 22, 2024 @10:23PM (#41921135)
Not just telecom, they are just super aggressive in general as a bully with weapons pile. I remember they tried to threaten Opus codec with patents just becasue, when IETF proposed it for Internet standard. Luckily that failed, but it shows their nasty approach very clearly. So now they are getting the taste of their own medicine.
Re:Arm is canceling Qualcomm's chip design license by chris_wot on Tuesday October 22, 2024 @11:13PM (#41921420)
When do Qualcomm's patents run out?
Re:Arm is canceling Qualcomm's chip design license by electronbeam on Wednesday October 23, 2024 @12:42AM (#41921885)
Qualcomm should put a giant bid on SiFive tomorrow, to remind ARM that its not unassailable
Re:Arm is canceling Qualcomm's chip design license by NewJazz on Wednesday October 23, 2024 @04:35AM (#41923052)
They can design chips. What Qualcomm might not be able to do is deliver solid software support for their riscv64 hardware. Android decelerated their efforts toward support recently.
Re:Arm is canceling Qualcomm's chip design license by kernal on Wednesday October 23, 2024 @02:38PM (#41928008)
So a business that is entirely dependent on ARM IP and, for the most part, Android should "remind" the company they're dependent upon? Let's do a thought experiment - Qualcomm switches to RISC-V while the other Android SoC makers (MediaTek, Samsung, Google, Xiaomi, etc.) stay on ARM. Who buys the new Snapdragon RISC-V phone?
Re:Arm is canceling Qualcomm's chip design license by hajile on Wednesday October 23, 2024 @03:41PM (#41928623)
Intel supposedly put in a multi-billion dollar offer and got laughed out of the room.
Re:Arm is canceling Qualcomm's chip design license by zoobab on Wednesday October 23, 2024 @04:46AM (#41923112)
Qualcomm is a patent troll.

No empathy for those trolls.

Re:Arm is canceling Qualcomm's chip design license by delfinom on Wednesday October 23, 2024 @08:47AM (#41924513)
>Yes, longterm Q might invest in their own RISC implementations

Q is investing over $1billion into RISC-V.

ARM is fucked long term. Sure Qualcomm themselves are no angel. But the absurdities of this case are basically making ARM toxic to any serious long term investment. Especially when ARM is in Apple's pocket and ARM isn't releasing any chip designs competitive with Apple's chips where they get free reign to do as they want. Basically a permanent handicap on ARM chip performance.

Re:Arm is canceling Qualcomm's chip design license by kernal on Wednesday October 23, 2024 @02:43PM (#41928059)
Since I don't see the Android or IOS app stores ever switching to RISC-V I think ARM will be fine.
Re:Arm is canceling Qualcomm's chip design license by Tostino on Wednesday October 23, 2024 @03:24PM (#41928475)
Why would you think that? The Play store already supports x86 binaries when necessary.
Re:Arm is canceling Qualcomm's chip design license by kernal on Thursday October 24, 2024 @11:36AM (#41936598)
Because an extremely low percentage of apps support x86.
Re:Arm is canceling Qualcomm's chip design license by kllrnohj on Sunday November 03, 2024 @09:05AM (#42033129)
An extremely low ship x86 support but a huge number support it already for internal uses. The emulator, for both local and CI, and any host-side tests are all x86. These are extremely common to have for everyone. Big companies love having CI, and small ones love the emulator to avoid needing a ~dozen dev phones for the different API levels and form factors.

But importantly since ARM and RISC-V have the same memory model, unlike x86, then it really is just going to be an extra compilation target for any native libraries and that's about it.

Re:Arm is canceling Qualcomm's chip design license by fidotron on Wednesday October 23, 2024 @09:21AM (#41924814)
The Qualcomm online defenders are something else too.

Qualcomm have been acting badly for years, including attempting to turn RISC-V into Arm64 but without the restrictions. You cannot trust people that behave like this, where everything they do is important and everything you do is worthless.

The funny thing is Qualcomm do have some wildly impressive tech which is kept secret despite being so ubiquitous, but they have had persistent execution failures at integrations which lead to them throwing their partners under the bus.

Qualcomm have the same sort of corporate difficulty you see at Boeing, only in a less high profile sector.

Re:Arm is canceling Qualcomm's chip design license by eqvinox on Wednesday October 23, 2024 @10:03AM (#41925163)
> attempting to turn RISC-V into Arm64 but without the restrictions

This flew past me, do you have a link?

Re:Arm is canceling Qualcomm's chip design license by fidotron on Wednesday October 23, 2024 @10:12AM (#41925230)
Brucehoult mentions it further down.

> This time last year they were all over the RISC-V mailing lists, trying to convince everyone to drop the "C" extension from RVA23 because (basically confirmed by their employees) it was not easy to retrofit mildly variable length RISC-V instructions (2 bytes and 4 bytes) to the Aarch64 core they acquired from Nuvia. At the same time, Qualcomm proposed a new RISC-V extension that was pretty much ARMv8-lite.

This is enough of a philosophy change to break existing RISC-V software, and so is purely motivated by a desire to clone IP they supposedly licensed as honest brokers.

Re:Arm is canceling Qualcomm's chip design license by rangestransform on Wednesday October 23, 2024 @05:17PM (#41929330)
Not a cpu designer, but aren’t variable length instructions a big part of why x86 decoders take up so much area, and also increases branch predictor complexity?
Re:Arm is canceling Qualcomm's chip design license by jecel on Wednesday October 23, 2024 @07:31PM (#41930314)
The RISC-V creators were aware of the issues when they designed the C extension with 16 bit instructions to be able to compete with ARM's Thumb. So the bottom two bits of an instruction are enough to distinguish between 16 bit and 32 bit encodings (the standard has a scheme for future longer instructions, but hardware that doesn't implement them can ignore that).

This means that if a RISC-V reads a 16 byte block from instruction memory, it only has to look at 8 pairs of bits. This would require 8 NAND gates plus 8 more NANDs to ignore the top half of any 32 bit instructions. That is 4x(8+8)=64 transistors.

The corresponding circuit for x86 would be huge.

But note that this just separates the instructions. You still have to decode them. Most simple RISC-V implementations have a circuit that transforms each 16 bit instruction into the corresponding 32 bit one, which is all the rest of the processor has to deal with. Here are the sizes of some such circuits:

Hazard 3: 733 NANDs (used in the Raspberry Pi RP2350)

SERV: 532 NANDs (serial RISC-V)

Revive: 506 NANDs (part of FPGAboy)

You would need 8 such circuits to handle the maximum 16 bit instructions in a 16 byte block, and then you would need more circuits to decode the resulting 32 bit instructions. So the 16 NANDs to separate the variable length instructions is not a problem like it is for other ISAs.

The problem with 16 bit instructions for small RISC-V implementations is that now 32 bit instructions will not always be aligned with 32 bit words. Having to fetch an instruction from two separate words adds circuits that can be a large fraction of a small design.

Re:Arm is canceling Qualcomm's chip design license by wbl on Wednesday October 23, 2024 @06:46PM (#41930000)
So much is relative: on a giant OoO core it's barely noticeable. In the case of x86 the range of lengths is extreme: a simple two or four choice is much simpler.
Re:Arm is canceling Qualcomm's chip design license by dzaima on Wednesday October 23, 2024 @10:12PM (#41931241)
x86 specifically is extra awful to decode because there's no easy way to tell the instruction length without doing a good portion of the decode process, so it ends up needing to attempt to decode at each byte offset. Valid lengths being all between 1 and 15 doesn't help.

So processing a fetched 16 bytes requires doing 16 partial decodes, each of them non-trivial (skip over unordered prefix bytes; parse fixed prefix before opcode (most bytes are the opcode immediately, except 0x0F, 0xC4, 0xC5, and more for rarer instructions & AVX-512/APX, which have extra skipping necessary); index a LUT by the opcode (with a different table for the 0x0F case, and maybe more cases idk; plus maybe some more length depending on byte after opcode; for some opcodes the length even depends on if a specific prefix byte was given, which intel just assumes doesn't happen and behaves slowly if it does); if the opcode needs ModR/M, also parse that from the next byte (another variable-length sequence)).

Re:Arm is canceling Qualcomm's chip design license by starspangled on Wednesday October 23, 2024 @09:08PM (#41930902)
I don't really see how this follows. Fixed length instructions are a well known and highly desirable property for instruction decoders (at the cost of some density), which has been known about and done since the first RISCs. And ARMv8 is basically just a warmed-over RISC with very little new or innovative in there. It's just an ISA.

ARM Ltd is basically rent-seeking on keeping the ISA proprietary, same as Intel and AMD do. Sure it's a highly specialized and very impressive task to make an ISA, but not to the value of extracting hundreds of millions of dollars ever year. If ARM gets upset because someone wanted fixed-length instructions standardized in RISCV that's really the height of hypocrisy.

Re:Arm is canceling Qualcomm's chip design license by ksec on Thursday October 24, 2024 @05:13PM (#41939852)
>If ARM gets upset because someone wanted fixed-length instructions standardized in RISCV that's really the height of hypocrisy.

ARM never said that.

>but not to the value of extracting hundreds of millions of dollars ever year.

ARM makes money on selling ARM design, not from their ISA licensing.

Re:Arm is canceling Qualcomm's chip design license by starspangled on Thursday October 24, 2024 @11:13PM (#41941919)
> ARM never said that.

Someone did.

> ARM makes money on selling ARM design, not from their ISA licensing.

That's not correct, they make money from ISA licensing. That's called their architectural license, and that is what is being canceled here.

Re:Arm is canceling Qualcomm's chip design license by GeekyBear on Wednesday October 23, 2024 @12:57PM (#41926946)
> throwing their partners under the bus

I found it telling that every single smartphone vendor refused to license Qualcomm's proprietary tech for smartphone to satellite messaging.

> In a statement given to CNBC, Qualcomm says smartphone makers “indicated a preference towards standards-based solutions” for satellite-to-phone connectivity

https://arstechnica.com/gadgets/2023/11/qualcomm-kills-its-c...

Re:Arm is canceling Qualcomm's chip design license by xg15 on Wednesday October 23, 2024 @01:48PM (#41927483)
"We're disinclined to acquiesce to your request.

Means 'no'."

Re:Arm is canceling Qualcomm's chip design license by throwup238 on Wednesday October 23, 2024 @05:01PM (#41929243)
Anyone only ever uses Qualcomm chips because they have a gun to their head.

Usually that gun is the latest wireless standard like 4g or 5g.

Re:Arm is canceling Qualcomm's chip design license by GeekyBear on Wednesday October 23, 2024 @05:27PM (#41929398)
4g and 5g are open standards.

It was their now mostly irrelevant CDMA patents that Qualcomm used as a weapon against device makers.

> Many carriers (such as AT&T, UScellular and Verizon) shut down 3G CDMA-based networks in 2022 and 2024, rendering handsets supporting only those protocols unusable for calls, even to 911.

https://en.m.wikipedia.org/wiki/Code-division_multiple_acces...

In my opinion, Qualcomm's abuse of their CDMA patents is the reason that zero device makers were willing to get on board with a new Qualcomm proprietary technology.

Re:Arm is canceling Qualcomm's chip design license by Kirby64 on Wednesday October 23, 2024 @05:35PM (#41929459)
They’re open standards, sure, but there is almost no competition in the cellular modem space. Intel tried and failed spectacularly. Apple bought the scraps of the Intel modem business and still hasn’t released their own modems after… 5 years? Cellular tech is hard and has a lot of esoteric requirements. If you want a cell modem for a smartphone, you essentially buy either the latest and greatest from Qualcomm or you buy something from one of the Chinese companies (Huawei, Mediatek) which has its own set of problems.
Re:Arm is canceling Qualcomm's chip design license by GeekyBear on Wednesday October 23, 2024 @06:38PM (#41929923)
Samsung, Huawei and MediaTek SOCs implement the same open 4g/5g standards.

Apple's modem is said to be shipping this coming spring in the newest iPhone SE iteration.

Google's Pixel phone lineup has used Samsung's modems for generations now.

Re:Arm is canceling Qualcomm's chip design license by Kirby64 on Wednesday October 23, 2024 @06:44PM (#41929978)
There’s so many sub varieties of the standards. You’re making a gross oversimplification that they’re “the same”. Compare intel vs Qualcomm modems that were released on iPhones. They were “the same” standard but the Qualcomm modems were notably faster in testing. Maybe they’re all at parity these days, but it’s pretty hard to do a fair comparison.
Re:Arm is canceling Qualcomm's chip design license by GeekyBear on Wednesday October 23, 2024 @07:20PM (#41930243)
By all means, point to some official statement showing that Google cannot market the Pixel phone as supporting the 4g/5g standards due to Google's use of Samsung modems.
Re:Arm is canceling Qualcomm's chip design license by Kirby64 on Wednesday October 23, 2024 @07:45PM (#41930383)
You’re not hearing what I’m saying. I’m saying that Qualcomm historically has supported more advanced 4g and 5g standards that allow them to achieve faster modem rates. Whether that’s true today I’m not sure, but it was definitely true back when Intel was making modems. “Supporting 4g/5g” is meaningless. It matters what bands, what data rates, the sub carrier rates, how many channels you can bond together, etc etc. Take a look at the product briefs of each modem and compare the actual “supported features” and it’s a lot more specific than just “5g” and certain bands, for instance.
Re:Arm is canceling Qualcomm's chip design license by ksec on Thursday October 24, 2024 @05:09PM (#41939819)
>You’re not hearing what I’m saying.

You are saying Qualcomm doesn't have competition because Qualcomm make the best modem and others making worst product cant compete?

Re:Arm is canceling Qualcomm's chip design license by simfree on Wednesday October 23, 2024 @09:51PM (#41931130)
Google certainly tortured me and everyone else I knew who had a Pixel 6 (or Pro) phone, you would randomly lose cellular and WiFi and they would not recover on their own, necessitating a reboot or toggling airplane mode to get back online.

The Exynos chipset is cursed, Samsung only ships it in markets where performance is a lower priority than price, hence not shipping Exynos in the US outside the Google Pixel whitelabel relationship.

Re:Arm is canceling Qualcomm's chip design license by ywvcbk on Thursday October 24, 2024 @03:25AM (#41932929)
> hence not shipping Exynos in the US

I thought it was primarily because of some patent/royalty dispute with Qualcomm?

And/or it not having support for CDMA which was not relevant outside of the US. Now that it’s not an issue I wouldn’t be surprised if Samsung would transition to Exynos eventually (they are already apparently selling some models).

Re:Arm is canceling Qualcomm's chip design license by simfree on Wednesday October 23, 2024 @09:48PM (#41931118)
Google's Pixel handsets have worse modem performance than similar flagship Samsungs sold in the US, as even Samsung won't sell their underperforming Exynos chipsets in their flagship phones in the USA.

Exynos 5G New Radio chipsets got really bad with the Pixel 6 series, where the phone randomly loses cell signal and WiFi at the same time in areas with strong signal, and the only way to get back online is to put the phone in airplane mode or reboot the phone, sometimes neither works though.