forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that we check for implicit ivals for single argument intrinsic…
…s before the SIMDScalar handling. (dotnet/coreclr#25905) * Ensure that we check for implicit ivals for single argument intrinsics before the SIMDScalar handling. * Adding test template entries for the unary overloads of the Sse41.Round functions * Regenerating the hardware intrinsic test templates. Commit migrated from dotnet/coreclr@bcc73ca
- Loading branch information
1 parent
f094c9a
commit ba48bc9
Showing
13 changed files
with
4,460 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...coreclr/tests/src/JIT/HardwareIntrinsics/X86/Sse41_Overloaded/Program.Sse41_Overloaded.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace JIT.HardwareIntrinsics.X86 | ||
{ | ||
public static partial class Program | ||
{ | ||
static Program() | ||
{ | ||
TestList = new Dictionary<string, Action>() { | ||
["RoundCurrentDirectionScalar.Double"] = RoundCurrentDirectionScalarDouble, | ||
["RoundCurrentDirectionScalar.Single"] = RoundCurrentDirectionScalarSingle, | ||
["RoundToNearestIntegerScalar.Double"] = RoundToNearestIntegerScalarDouble, | ||
["RoundToNearestIntegerScalar.Single"] = RoundToNearestIntegerScalarSingle, | ||
["RoundToNegativeInfinityScalar.Double"] = RoundToNegativeInfinityScalarDouble, | ||
["RoundToNegativeInfinityScalar.Single"] = RoundToNegativeInfinityScalarSingle, | ||
["RoundToPositiveInfinityScalar.Double"] = RoundToPositiveInfinityScalarDouble, | ||
["RoundToPositiveInfinityScalar.Single"] = RoundToPositiveInfinityScalarSingle, | ||
}; | ||
} | ||
} | ||
} |
Oops, something went wrong.