Maybe a few more vector tests? Existing tests cover the no-nans and no-signed-zeros case, they were added to avoid bloat of scalarization. E.g. a test with all checks (generic vectorized version) and two test with constant vectors to eliminate a zero check and a NaN check.
I've pre-landed the new tests, fixed the name in the test and updated this revision.
Unfortunately handlining -f 0. for max and 0.f for min will not work as we want due to we check only for preferred zero.
And it is not a problem of vectorized version but scalar as well.
I propose to handle this as follow-up patch.