zstd: stop installing zstdgrep
The script requires GNU grep, and this leads to a bootstrap cycle
on systems that do not have GNU grep in the base system.
As proposed on tech-pkg.
zstdgrep will be packaged separately.
Bump PKGREVISION.
[docs] Fence more LangRef IR examples as `llvm`
Change the instruction examples that use a `<result>` placeholder, and
a few other IR examples, from `text` to `llvm`. The new lexer handles
the placeholder, which renders as plain text.
Also drop `llvm/utils/pygments/README.md` and the `pygmentize` fallback
in the lexer. The docs only load it through Sphinx.
Allocate state for the FPU emulator on the kernel stack rather than as
static globals. Normally we wouldn't want to allocate this much on the
stack, but the emulator is only for user-space code, so the kernel stack
will have been idle when the F-line trap occurred; the only things on
the stack at this point are the trap frame and the small number of call
frames required to get us here.
This prevents concurrent FPU emuations from colliding with each other.
This is something that could happen when e.g. two FP-using programs are
running concurrently on a system under memory pressure and one of them
blocks during an emulation to service a page fault.
The alternatives are less than ideal: we either have to dynamically
allocate memory or wrap the emulator in a mutex.
Similarly, change __fpu_logn() and __fpu_modrem() to place their
temporaries on the stack, as well.
Problem reported by Romain Dolbeau on port-m68k.