Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ensure we test Sse2.IsSupported
  • Loading branch information
tannergooding authored Feb 6, 2024
commit 383dc91c7328f0db69c018ab17c35eefa666c6d7
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static class Runtime_93698
[Fact]
public static void TestShiftLeftLogicalOvershift()
{
if (Sse.IsSupported)
if (Sse2.IsSupported)
{
var result1 = Sse2.ShiftLeftLogical(Vector128.Create(-1, +2, -3, +4), 32);
Assert.Equal(Vector128<int>.Zero, result1);
Expand All @@ -24,7 +24,7 @@ public static void TestShiftLeftLogicalOvershift()
[Fact]
public static void TestShiftRightLogicalOvershift()
{
if (Sse.IsSupported)
if (Sse2.IsSupported)
{
var result1 = Sse2.ShiftRightLogical(Vector128.Create(-1, +2, -3, +4), 32);
Assert.Equal(Vector128<int>.Zero, result1);
Expand All @@ -37,7 +37,7 @@ public static void TestShiftRightLogicalOvershift()
[Fact]
public static void TestShiftRightArithmeticOvershift()
{
if (Sse.IsSupported)
if (Sse2.IsSupported)
{
var result1 = Sse2.ShiftRightArithmetic(Vector128.Create(-1, +2, -3, +4), 32);
Assert.Equal(Vector128.Create(-1, 0, -1, 0), result1);
Expand Down