roadmap

Milestone 447 appendix: the target flip, as priced when the save was built

An appendix to milestone 447 (a thread's vector registers are its own). The block is complete without it. The flip itself is milestone 534 (the soft-float targets could now be flipped); this is 447's pricing of it, taken on 2026-09-20, so that the flip can be made on evidence.

What it would take

Four edits and a rebuild:

Nothing in the kernel changes. It stays softfloat, and should. A kernel that emits FP into its own fastpath would pay the save on every switch, rather than on the switches of threads that asked.

What it would buy

Less than the framing suggests, and the honest accounting is worth having before the decision rather than after.

What it would cost

Every thread that then executes an FP instruction takes one trap. It then pays 512 bytes of save and restore on every subsequent switch for the rest of its life, because live never clears (this is crate::fp's first BUGS entry).

Soft-float userspace pays nothing today because nothing takes the trap. Hard-float userspace means memcpy, std formatting and anything LLVM feels like vectorizing will take it. So most threads become live, and the common case in the block's switch table stops being the common case. Nothing in this tree measures that, and the measurement does not exist until there is a hard-float userspace to run.

What would have to be rebuilt

The std farm at minimum, and therefore every user program and every archive. nife-dev is one symlink per user account, so the rebuild is machine-global. It has to be sequenced against other lanes (AGENTS.md's std_src rule, and notes/std.md's 2026-08-18 cross-contamination).

What is not known, and would decide it

Whether 442's crates actually fail against our targets, and what a hard-float userspace does to the switch cost when most threads are live. Both are measurements rather than arguments, and neither needs this decision made first.