Save registers xmm8..15 on Mac OSX (dotnet/coreclr#8078)
authorJohn Chen <jochen@microsoft.com>
Fri, 11 Nov 2016 01:49:02 +0000 (17:49 -0800)
committerJan Vorlicek <janvorli@microsoft.com>
Fri, 11 Nov 2016 01:49:02 +0000 (17:49 -0800)
commitc6bdaf1ff09b3612e3d842e0efa16f4a78fb3a01
tree7c8823a0456a5c9221a75340ae8d637683aaa81e
parentf5cc3a1f0d75e1a6fbafb48f62cb7341b42eefc6
Save registers xmm8..15 on Mac OSX (dotnet/coreclr#8078)

On x64, JIT can generate code that uses all 16 xmm registers.
However, on Mac OSX, we currently only save 8 of these registers.
Thus after a context save/restore, xmm8 through xmm15 are
corrupted. This commit fixes the code to save all 16 xmm
registers. It resolves issue dotnet/coreclr#2266.

Commit migrated from https://github.com/dotnet/coreclr/commit/1b0dad67bc88bd4a45f59e63c6bf9fd5e7eb8596
src/coreclr/src/pal/src/thread/context.cpp