Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Until the Linux kernel leverages instructions specific to Apple M1's extended ISA, this is a waste of time. The whole point of the M1 experience is that out of the box, it's fast, silent and runs for days. Yes, Linux will run, as it would run on any ARM processor, but it will be slow, hot and run the battery down in a couple of hours.

It will take years for the open-source community to reverse-engineer the ISA and write kernel code that optimally utilizes it. There's no shortcut here. Until then, it's not worth buying a Mac just to run Linux on it.



What instructions from an extended ISA are you referring to? The only ones I've seen written up have been:

1. Instructions to change the memory ordering mode, which allows Rosetta2 to skip some expensive memory fences when translating x86 binaries to ARM.

2. Some instructions for matrix math.

I wouldn't expect either of these to affect typical usage or battery life much, unless your workflow involves running things that do a ton of matrix math.


And the former isn't even an instruction, set a single bit in ACTLR_EL1 and off you go.

The second is an extension that talks to a coprocessor that's quite application specific. And that has an unstable ISA that changes every year. Probably not the biggest priority for anyone.


Well, four bits: in addition ACTLR_EL1_EnTSO to the kernel also sets ACTLR_EL1_EnAPFLG | ACTLR_EL1_EnAFP | ACTLR_EL1_EnPRSV, whatever those are.


Wow, I guess Torvalds himself must be wrong then:

https://arstechnica.com/gadgets/2020/11/__trashed-6/


In that article, Torvalds specifically says:

"The main problem with the M1 for me is the GPU and other devices around it"

That's a separate issue than the ISA extensions, which apply to the ARM CPU.


What specific instructions? I've been told by Apple fans on this site before release that Apple doesn't use non-standard instructions in their ISA and doesn't need special compiler treatment?

Who's right now?


See my response above.

Plus, what do Apple fanboys know about hardware?


Both are correct. Apple uses non-standard instructions themselves, but for third-party developers the standard ARM ISA is provided for use.


I think you're misunderstanding Apple's custom instructions and how useful they are.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: