Skip to content

Commit f1c461e

Browse files
committed
Merge branch 'main' of https://github.com/markpflug/Sylvan
2 parents a498433 + 72de0f6 commit f1c461e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

source/Sylvan.Data.Csv.Tests/SimdExperiment.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@ namespace Sylvan.Data.Csv;
99

1010
public unsafe class SimdExperiment
1111
{
12-
[Fact]
12+
private sealed class SkipIfSse2UnsupportedFactAttribute : FactAttribute
13+
{
14+
public SkipIfSse2UnsupportedFactAttribute()
15+
{
16+
if (!Sse2.IsSupported)
17+
{
18+
Skip = "SSE2 is not supported";
19+
}
20+
}
21+
}
22+
23+
[SkipIfSse2UnsupportedFact]
1324
public void Test1()
1425
{
1526
var mask = VectorForChar('\n');

0 commit comments

Comments
 (0)