Download raw body.
libm i386: make use of __builtin_cpu_supports()
Christian Weisgerber <naddy@mips.inka.de> wrote: > Christian Weisgerber: > > > On i386, libm queries the machdep.sse sysctl to check at runtime > > whether the CPU supports SSE. > > > > kettenis@ has pointed out elsewhere that the compiler runtime on > > x86 now provides a CPU feature array that we can test with > > __builtin_cpu_supports(). No need to handroll this ourselves. > > After switching over libm, we can also remove the special casing in > pledge_sysctl(). > > (How long would we wait before doing this? Until after the next > release?) I'm going to guess a full year.
libm i386: make use of __builtin_cpu_supports()