diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2018-11-03 09:17:48 -0700 |
---|---|---|
committer | Carol Eidt <carol.eidt@microsoft.com> | 2018-11-03 09:17:48 -0700 |
commit | 8d34db07ce56536882d4dca97a7e49b45fb5f362 (patch) | |
tree | 722192f14f3366ed66bed3fba928bbdb8aa7d3fc /tests/src/JIT | |
parent | a9074bce5e3814db67dbec1c56f477202164d162 (diff) | |
download | coreclr-8d34db07ce56536882d4dca97a7e49b45fb5f362.tar.gz coreclr-8d34db07ce56536882d4dca97a7e49b45fb5f362.tar.bz2 coreclr-8d34db07ce56536882d4dca97a7e49b45fb5f362.zip |
Add Windows support for Arm64 HW Intrinsics
Also, fix Crypto test and ensure that featureSIMD is taken into account
Fix #18175
Fix #20088
Diffstat (limited to 'tests/src/JIT')
-rw-r--r-- | tests/src/JIT/HardwareIntrinsics/Arm64/Crypto.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/src/JIT/HardwareIntrinsics/Arm64/Crypto.cs b/tests/src/JIT/HardwareIntrinsics/Arm64/Crypto.cs index f68f7491df..fded5067e6 100644 --- a/tests/src/JIT/HardwareIntrinsics/Arm64/Crypto.cs +++ b/tests/src/JIT/HardwareIntrinsics/Arm64/Crypto.cs @@ -195,12 +195,11 @@ namespace Arm64intrisicsTest Func<TVectorType, TVectorType, TVectorType, TVectorTypeReturn> cryptoOp) where TVectorType : new() { - TVectorType v = new TVectorType(); - bool notSupported = false; try { + TVectorType v = new TVectorType(); cryptoOp(v,v,v); } catch (PlatformNotSupportedException) // TODO-Fixme check for Type not supported exception @@ -266,8 +265,6 @@ namespace Arm64intrisicsTest testCryptoOp<uint, Vector128<uint>, uint, Vector128<uint> >(name, (x, y, z) => Sha1.SchedulePart2(x, y), sha1su2Res); if(Sha1.FixedRotate(100) != 25) throw new Exception("Sha1 FixedRotate failed.\n"); - - } else { |