diff options
author | Tanner Gooding <tagoo@outlook.com> | 2018-12-21 07:44:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 07:44:50 -0800 |
commit | 3621170acc989339c4ea2ba78babb9576913837e (patch) | |
tree | 5c0b3f6883f15eb78f509b8a14fef080b9805457 /src/jit/namedintrinsiclist.h | |
parent | 7ac4a46d1528484e38e4c808d8a0bbe1b715e0d2 (diff) | |
download | coreclr-3621170acc989339c4ea2ba78babb9576913837e.tar.gz coreclr-3621170acc989339c4ea2ba78babb9576913837e.tar.bz2 coreclr-3621170acc989339c4ea2ba78babb9576913837e.zip |
Updating `FusedMultiplyAdd` for `System.Math` and `System.MathF` to use intrinsics when available. (#21602)
* Removing the explicit value assignment to NamedIntrinsic enum values
* Renaming NI_Math_Round/NI_MathF_Round to NI_System_Math_Round/NI_System_MathF_Round
* Updating `FusedMultiplyAdd` for `System.Math` and `System.MathF` to use intrinsics when available
Diffstat (limited to 'src/jit/namedintrinsiclist.h')
-rw-r--r-- | src/jit/namedintrinsiclist.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/jit/namedintrinsiclist.h b/src/jit/namedintrinsiclist.h index 6644a7291a..725e771321 100644 --- a/src/jit/namedintrinsiclist.h +++ b/src/jit/namedintrinsiclist.h @@ -9,12 +9,14 @@ enum NamedIntrinsic : unsigned short { - NI_Illegal = 0, - NI_System_Enum_HasFlag = 1, - NI_MathF_Round = 2, - NI_Math_Round = 3, - NI_System_Collections_Generic_EqualityComparer_get_Default = 4, - NI_System_Buffers_Binary_BinaryPrimitives_ReverseEndianness = 5, + NI_Illegal = 0, + NI_System_Enum_HasFlag, + NI_System_Math_FusedMultiplyAdd, + NI_System_Math_Round, + NI_System_MathF_FusedMultiplyAdd, + NI_System_MathF_Round, + NI_System_Collections_Generic_EqualityComparer_get_Default, + NI_System_Buffers_Binary_BinaryPrimitives_ReverseEndianness, #ifdef FEATURE_HW_INTRINSICS NI_HW_INTRINSIC_START, |