News for hackers. Stuff that matters.
Re:I love ARM by izacus on Wednesday July 29, 2020 @09:28AM (#23986389)
I'm digging through history to find an article about Apple's LLVM patches to add a custom instruction only present on A series chip. Due to Sillion announcement it's kinda hard to find - but they did add at least one instruction to ARM instruction set.

From this, and from the very very strong marketing push to NOT use the name "ARM" from Apple, I have a suspicion that Apple Sillicon instruction set won't be a fully standard ARM holdings instruction set

Re:I love ARM by eyesee on Wednesday July 29, 2020 @11:24AM (#23987646)
"Apple Silicon" is simply a marketing term for, well, Apple's silicon. They're making this major change to their computers with the promise of better performance, functionality and battery life. Apple's made major investments to have the best chips in their class. Many of the functional improvements come from SoC siblings like GPU, neural cores, hardware codecs, etc. Why would Apple want to give ARM all the credit for that?

Apple isn't shy about communicating to developers that Apple Silicon uses ARM ISA. This is about conveying to consumers their unique platform advantage.

Re:I love ARM by klelatti on Wednesday July 29, 2020 @10:10AM (#23986843)
Thanks - I guess I would draw a big distinction between adding a new instruction as part of being first to a new version of ARMv8 - which then becomes part of the standard ISA, and adding a permanently Apple only instruction. Would be very disappointed if it's the latter.

Agreed that the Apple Silicon branding was very strong but assumed that it was just to distinguish themselves with consumers from those who will also use ARM on the desktop.

Re:I love ARM by hajile on Wednesday July 29, 2020 @01:20PM (#23989223)
ARMv8.6 exists

Apple uses V8.4

Current ARM designs use v8.2

As you might suspect, that leaves Apple stuck doing the software support. It also gives them additional instructions that aren't proprietary to them, but are currently unique to them.

Re:I love ARM by asveikau on Wednesday July 29, 2020 @03:10PM (#23990472)
> and from the very very strong marketing push to NOT use the name "ARM" from Apple,

This is puzzling to me. I assume it's simple egotism. Apple marketing and also the user community at large tends to present their technologies as exclusive and product categories as invented by them, even when it's a stretch. This has a long history.

Re:I love ARM by tyingq on Wednesday July 29, 2020 @10:28AM (#23987028)
There are the AMX machine learning on-die accelerators. I assume there's some new instructions to talk to those.
Re:I love ARM by Followerer on Wednesday July 29, 2020 @12:00PM (#23988223)
You don't need special instructions to talk to peripheral devices. The ISA supports that from the get go. As a licensee, you can't add instructions to the ISA, only ARM can do that. That's what they do, they're the custodians of the ARM architecture.
Re:I love ARM by rrss on Wednesday July 29, 2020 @11:33AM (#23987768)
They are probably just peripherals, like the GPU. I'd be very surprised if Apple strayed from the ARMv8 specification and added new instructions for those accelerators.
Re:I love ARM by tyingq on Wednesday July 29, 2020 @11:37AM (#23987838)
Re:I love ARM by rrss on Wednesday July 29, 2020 @11:41AM (#23987896)
That whole thread is just speculation, same as what we are doing here.

See this post: https://www.realworldtech.com/forum/?threadid=187087&curpost...

Re:I love ARM by api on Wednesday July 29, 2020 @10:46AM (#23987225)
As long as it's a compatible superset of ARM64, I don't see a big problem.
Re:I love ARM by Followerer on Wednesday July 29, 2020 @11:57AM (#23988186)
Just because you don't see the problem, it doesn't mean it's not there. However you want to put it, you can't add (or remove) instructions at your leisure if you want to keep your license. It does not happen. I can get into details if you want, but I think it's besides the point.
Re:I love ARM by klelatti on Wednesday July 29, 2020 @12:10PM (#23988365)
I can see a significant problem with adding proprietary instructions. Would be interested in more detail on ARM specifics if available. Thanks.
Re:I love ARM by Followerer on Wednesday July 29, 2020 @02:57PM (#23990346)
1) ARM sells "ecosystem". They can license their IP because licensees know that, once they buy into it, they benefit from a unified ecosystem. Developing and, more than anything else maintaining an ecosystem, is extremely expensive, messy, and error prone. ARM adds value by keeping that ecosystem in order.

2) ARM instructions have a fixed length of 4 bytes. This means that there's a limited number of instructions you can add. Intel, for instance, is different: they have a very complex encoding scheme that gives them, potentially, limitless encoding space.

3) If any licensee, specially a popular one like Apple, decides to take part of that encoding space for their own instructions... do you see the implications? Now, that space is unavailable to ARM. ARM, the owner and custodian of the ISA, are put in an impossible position: accept those instructions into the ISA (if Apple allows it, because now it's their IP) or lose unity in their ecosystem (fragmentation). In any case, they've lost extremely valuable encoding space and, more importantly, control over their own ISA.

And that's why not only ARM don't allow licensees to implement their own instructions, they will never allow it (generally speaking; they have reserved some encoding space in the M profile for custom instructions, but that's controlled customization in a profile that has fewer instructions to begin with).

Re:I love ARM by klelatti on Wednesday July 29, 2020 @03:22PM (#23990585)
Thanks. Makes a lot of sense.