private static void ExtractByte1()
{
var test = new SimpleUnaryOpTest__ExtractByte1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractByte20()
{
var test = new SimpleUnaryOpTest__ExtractByte20();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractByte52()
{
var test = new SimpleUnaryOpTest__ExtractByte52();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt321()
{
var test = new SimpleUnaryOpTest__ExtractInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt3222()
{
var test = new SimpleUnaryOpTest__ExtractInt3222();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt326()
{
var test = new SimpleUnaryOpTest__ExtractInt326();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt641()
{
var test = new SimpleUnaryOpTest__ExtractInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt6419()
{
var test = new SimpleUnaryOpTest__ExtractInt6419();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt643()
{
var test = new SimpleUnaryOpTest__ExtractInt643();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt161()
{
var test = new SimpleUnaryOpTest__ExtractUInt161();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt1611()
{
var test = new SimpleUnaryOpTest__ExtractUInt1611();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt1627()
{
var test = new SimpleUnaryOpTest__ExtractUInt1627();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt321()
{
var test = new SimpleUnaryOpTest__ExtractUInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt3222()
{
var test = new SimpleUnaryOpTest__ExtractUInt3222();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt326()
{
var test = new SimpleUnaryOpTest__ExtractUInt326();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt641()
{
var test = new SimpleUnaryOpTest__ExtractUInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt6419()
{
var test = new SimpleUnaryOpTest__ExtractUInt6419();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt643()
{
var test = new SimpleUnaryOpTest__ExtractUInt643();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertByte1()
{
var test = new SimpleUnaryOpTest__InsertByte1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertByte20()
{
var test = new SimpleUnaryOpTest__InsertByte20();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertByte52()
{
var test = new SimpleUnaryOpTest__InsertByte52();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt161()
{
var test = new SimpleUnaryOpTest__InsertInt161();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int16) != typeof(long)) && (typeof(Int16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt1611()
{
var test = new SimpleUnaryOpTest__InsertInt1611();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int16) != typeof(long)) && (typeof(Int16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt1627()
{
var test = new SimpleUnaryOpTest__InsertInt1627();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int16) != typeof(long)) && (typeof(Int16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt321()
{
var test = new SimpleUnaryOpTest__InsertInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt3222()
{
var test = new SimpleUnaryOpTest__InsertInt3222();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt326()
{
var test = new SimpleUnaryOpTest__InsertInt326();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt641()
{
var test = new SimpleUnaryOpTest__InsertInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt6419()
{
var test = new SimpleUnaryOpTest__InsertInt6419();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt643()
{
var test = new SimpleUnaryOpTest__InsertInt643();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertSByte1()
{
var test = new SimpleUnaryOpTest__InsertSByte1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(SByte) != typeof(long)) && (typeof(SByte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertSByte20()
{
var test = new SimpleUnaryOpTest__InsertSByte20();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(SByte) != typeof(long)) && (typeof(SByte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertSByte52()
{
var test = new SimpleUnaryOpTest__InsertSByte52();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(SByte) != typeof(long)) && (typeof(SByte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt161()
{
var test = new SimpleUnaryOpTest__InsertUInt161();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt1611()
{
var test = new SimpleUnaryOpTest__InsertUInt1611();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt1627()
{
var test = new SimpleUnaryOpTest__InsertUInt1627();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt321()
{
var test = new SimpleUnaryOpTest__InsertUInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt3222()
{
var test = new SimpleUnaryOpTest__InsertUInt3222();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt326()
{
var test = new SimpleUnaryOpTest__InsertUInt326();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt641()
{
var test = new SimpleUnaryOpTest__InsertUInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt6419()
{
var test = new SimpleUnaryOpTest__InsertUInt6419();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt643()
{
var test = new SimpleUnaryOpTest__InsertUInt643();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Avx.IsSupported;
+ public bool IsSupported => Avx.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void {Method}{RetBaseType}{Imm}()
{
var test = new SimpleUnaryOpTest__{Method}{RetBaseType}{Imm}();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<{RetBaseType}, {Op1BaseType}>(_data, new {RetBaseType}[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => {Isa}.IsSupported;
+ public bool IsSupported => {Isa}.IsSupported && (Environment.Is64BitProcess || ((typeof({RetBaseType}) != typeof(long)) && (typeof({RetBaseType}) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void {Method}{RetBaseType}{Imm}()
{
var test = new SimpleUnaryOpTest__{Method}{RetBaseType}{Imm}();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<{RetBaseType}, {Op1BaseType}>(_data, new {RetBaseType}[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => {Isa}.IsSupported;
+ public bool IsSupported => {Isa}.IsSupported && (Environment.Is64BitProcess || ((typeof({RetBaseType}) != typeof(long)) && (typeof({RetBaseType}) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt161()
{
var test = new SimpleUnaryOpTest__ExtractUInt161();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse2.IsSupported;
+ public bool IsSupported => Sse2.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt16129()
{
var test = new SimpleUnaryOpTest__ExtractUInt16129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse2.IsSupported;
+ public bool IsSupported => Sse2.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt161()
{
var test = new SimpleUnaryOpTest__InsertInt161();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse2.IsSupported;
+ public bool IsSupported => Sse2.IsSupported && (Environment.Is64BitProcess || ((typeof(Int16) != typeof(long)) && (typeof(Int16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt16129()
{
var test = new SimpleUnaryOpTest__InsertInt16129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int16, Int16>(_data, new Int16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse2.IsSupported;
+ public bool IsSupported => Sse2.IsSupported && (Environment.Is64BitProcess || ((typeof(Int16) != typeof(long)) && (typeof(Int16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt161()
{
var test = new SimpleUnaryOpTest__InsertUInt161();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse2.IsSupported;
+ public bool IsSupported => Sse2.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt16129()
{
var test = new SimpleUnaryOpTest__InsertUInt16129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt16, UInt16>(_data, new UInt16[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse2.IsSupported;
+ public bool IsSupported => Sse2.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt16) != typeof(long)) && (typeof(UInt16) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractByte1()
{
var test = new SimpleUnaryOpTest__ExtractByte1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractByte129()
{
var test = new SimpleUnaryOpTest__ExtractByte129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt321()
{
var test = new SimpleUnaryOpTest__ExtractInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt32129()
{
var test = new SimpleUnaryOpTest__ExtractInt32129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt641()
{
var test = new SimpleUnaryOpTest__ExtractInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractInt64129()
{
var test = new SimpleUnaryOpTest__ExtractInt64129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractSingle1()
{
var test = new SimpleUnaryOpTest__ExtractSingle1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Single, Single>(_data, new Single[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Single) != typeof(long)) && (typeof(Single) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractSingle129()
{
var test = new SimpleUnaryOpTest__ExtractSingle129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Single, Single>(_data, new Single[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Single) != typeof(long)) && (typeof(Single) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt321()
{
var test = new SimpleUnaryOpTest__ExtractUInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt32129()
{
var test = new SimpleUnaryOpTest__ExtractUInt32129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt641()
{
var test = new SimpleUnaryOpTest__ExtractUInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void ExtractUInt64129()
{
var test = new SimpleUnaryOpTest__ExtractUInt64129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertByte1()
{
var test = new SimpleUnaryOpTest__InsertByte1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertByte129()
{
var test = new SimpleUnaryOpTest__InsertByte129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Byte, Byte>(_data, new Byte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Byte) != typeof(long)) && (typeof(Byte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt321()
{
var test = new SimpleUnaryOpTest__InsertInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt32129()
{
var test = new SimpleUnaryOpTest__InsertInt32129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int32, Int32>(_data, new Int32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int32) != typeof(long)) && (typeof(Int32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt641()
{
var test = new SimpleUnaryOpTest__InsertInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertInt64129()
{
var test = new SimpleUnaryOpTest__InsertInt64129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<Int64, Int64>(_data, new Int64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(Int64) != typeof(long)) && (typeof(Int64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertSByte1()
{
var test = new SimpleUnaryOpTest__InsertSByte1();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(SByte) != typeof(long)) && (typeof(SByte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertSByte129()
{
var test = new SimpleUnaryOpTest__InsertSByte129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<SByte, SByte>(_data, new SByte[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(SByte) != typeof(long)) && (typeof(SByte) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt321()
{
var test = new SimpleUnaryOpTest__InsertUInt321();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt32129()
{
var test = new SimpleUnaryOpTest__InsertUInt32129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt32, UInt32>(_data, new UInt32[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt32) != typeof(long)) && (typeof(UInt32) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt641()
{
var test = new SimpleUnaryOpTest__InsertUInt641();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }
private static void InsertUInt64129()
{
var test = new SimpleUnaryOpTest__InsertUInt64129();
-
- try
- {
+
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
- }
- catch (PlatformNotSupportedException)
- {
- test.Succeeded = true;
- }
if (!test.Succeeded)
{
_dataTable = new SimpleUnaryOpTest__DataTable<UInt64, UInt64>(_data, new UInt64[RetElementCount], LargestVectorSize);
}
- public bool IsSupported => Sse41.IsSupported;
+ public bool IsSupported => Sse41.IsSupported && (Environment.Is64BitProcess || ((typeof(UInt64) != typeof(long)) && (typeof(UInt64) != typeof(ulong))));
public bool Succeeded { get; set; }