News for hackers. Stuff that matters.
Re:PyPy Project looking for sponsorship to add support for A... by oblio on Thursday December 31, 2020 @01:47PM (#25595699)
Isn't Apple doing the exact same thing with their proprietary ARM ISA extensions?
Re:PyPy Project looking for sponsorship to add support for A... by my123 on Thursday December 31, 2020 @03:21PM (#25596706)
Their ISA extension is an ML-specific one, and macOS runs fine with it disabled. Their public compilers do not support it either.

You are supposed to use it through Accelerate.framework, which exposes a more traditional interface to that capability.

Re:PyPy Project looking for sponsorship to add support for A... by skissane on Thursday December 31, 2020 @05:08PM (#25597751)
> Their ISA extension is an ML-specific one

Apple Silicon has more than one ISA extension.

There is also the x86 memory ordering extension used by Rosetta 2.

Maybe there are yet others too.

Re:PyPy Project looking for sponsorship to add support for A... by my123 on Thursday December 31, 2020 @05:11PM (#25597770)
> There is also the x86 memory ordering extension used by Rosetta 2.

That one isn't really a requirement either, and is handled fully in kernel mode.

Wkdm and friends are handled fully in kernel mode.

APRR? Not a strict requirement for user-mode, JIT regions are just left as RWX without it.

Re:PyPy Project looking for sponsorship to add support for A... by saagarjha on Thursday December 31, 2020 @06:35PM (#25598563)
Apple enforces APRR on macOS; you need to use their APIs to work within the confines of W^X.
Re:PyPy Project looking for sponsorship to add support for A... by saagarjha on Thursday December 31, 2020 @06:35PM (#25598574)
There are more but they are not exposed to applications. Apple wants you to ship standard arm64 code.