Apple M6/A20 ship with FEAT_CPA2 - checked pointer arithmetic - and there's a ne...
Longhorn @never_released@mastodon.social
Apple M6/A20 ship with FEAT_CPA2 - checked pointer arithmetic - and there's a new executable type for it:
> Checked pointer arithmetic requires the arm64e.x1 slice (Mach-O cpusubtype 12, CPU_SUBTYPE_ARM64E_X1) to be built, and that slice is where the compiler emits checked pointer arithmetic instructions: explicit pointer arithmetic becomes ADDPT / SUBPT / MADDPT / MSUBPT instead of ADD / SUB.