diff options
author | Tanner Gooding <tagoo@outlook.com> | 2018-03-15 03:57:53 -0700 |
---|---|---|
committer | Tanner Gooding <tagoo@outlook.com> | 2018-03-19 11:31:47 -0700 |
commit | f849dcf6bc341f12fd0583f81d88760e08316ac9 (patch) | |
tree | ebdfd4ff357229ccbffec52d6e3271ac3ecba067 /tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs | |
parent | e01064aef5ae9c29d0d01bd1a6f4b0335a10213b (diff) | |
download | coreclr-f849dcf6bc341f12fd0583f81d88760e08316ac9.tar.gz coreclr-f849dcf6bc341f12fd0583f81d88760e08316ac9.tar.bz2 coreclr-f849dcf6bc341f12fd0583f81d88760e08316ac9.zip |
Regenerating the x86 HWIntrinsics tests to no longer have a GC hole
Diffstat (limited to 'tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs')
-rw-r--r-- | tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs b/tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs index 09d2c7867b..ff32e0f5f4 100644 --- a/tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs +++ b/tests/src/JIT/HardwareIntrinsics/X86/Sse41/TestMixOnesZeros.Int64.cs @@ -276,8 +276,8 @@ namespace JIT.HardwareIntrinsics.X86 Int64[] inArray1 = new Int64[Op1ElementCount]; Int64[] inArray2 = new Int64[Op2ElementCount]; - Unsafe.Write(Unsafe.AsPointer(ref inArray1[0]), left); - Unsafe.Write(Unsafe.AsPointer(ref inArray2[0]), right); + Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref inArray1[0]), left); + Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref inArray2[0]), right); ValidateResult(inArray1, inArray2, result, method); } |