SIMD, BLD: Backport FPMATH mode on x86-32 and filter successor CPU features by seiko2plus · Pull Request #30026 · numpy/numpy

@seiko2plus mentioned this pull request

Oct 20, 2025

@seiko2plus

…atures

Two major bugs need to be merged as part of numpygh-28896 and must be fixed:

- Force SSE-based floating-point on 32-bit x86 systems to avoid x87 FPU's 80-bit internal precision causing
  unpredictable rounding and overflow behavior when converting to smaller types.

- Fix filtering out successor features when an implied feature is filterd out from `max`
  within build options `--cpu-baseline` and `--cpu-dispatch`.
  Documentation `build-options` has been updated for this case.

- Updates `build-options` to add missing explanation about option `detect`.