The patch http://people.freebsd.org/~kib/misc/avx.2.patch is the commit candidate. Compared with avx.1.patch, it includes several bugfixes, some move of code around, and finishes the implementation of getcontextx(3) for non-x86 architectures.
Please note that variant of getcontextx() is required for deferred signal delivery from libthr. This is the reason for Cc:ing sparc64@, could somebody test the patch on this architecture ? I used the http://people.freebsd.org/~kib/misc/defer_sig.c to test deferred delivery on amd64. Another missed testing point is machines capable of XSAVE but lacking AVX extensions. I think most Core2 fall into this category, but my Core2 machine is disassembled. Could anybody test the patch on non-SandyBridge machine having XSAVE support ? You can check the capability using ports/sysutils/x86info or looking at the early boot Features2 line, which shall contain the XSAVE.
pgpARryNlodMF.pgp
Description: PGP signature
