platform/upstream/coreclr.git
6 years agoMerge pull request #16638 from jcagme/master
JC Aguilera [Fri, 2 Mar 2018 23:40:31 +0000 (15:40 -0800)]
Merge pull request #16638 from jcagme/master

Install and uninstall SCEP

6 years agofinal set of comments been addressed
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 23:33:13 +0000 (15:33 -0800)]
final set of comments been addressed

6 years agoRemove variable
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 23:20:19 +0000 (15:20 -0800)]
Remove variable

6 years agoRemove creation of Auth'd nuget.config
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 23:13:55 +0000 (15:13 -0800)]
Remove creation of Auth'd nuget.config

6 years agoFix netstandard build references to UnsafeTask
Stephen Toub [Fri, 2 Mar 2018 19:41:23 +0000 (14:41 -0500)]
Fix netstandard build references to UnsafeTask

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoYet one more reverted change in PR
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 22:21:46 +0000 (14:21 -0800)]
Yet one more reverted change in PR

6 years agoOne more reverted change in PR
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 22:20:43 +0000 (14:20 -0800)]
One more reverted change in PR

6 years agoMerge branch 'master' of https://github.com/jcagme/coreclr
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 22:19:44 +0000 (14:19 -0800)]
Merge branch 'master' of https://github.com/jcagme/coreclr

6 years agoAddressing reverted change in PR
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 22:19:06 +0000 (14:19 -0800)]
Addressing reverted change in PR

6 years agoDelete scep-ops.cmd
JC Aguilera [Fri, 2 Mar 2018 22:11:51 +0000 (14:11 -0800)]
Delete scep-ops.cmd

6 years agoChanges with NuGet package approach
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 22:08:21 +0000 (14:08 -0800)]
Changes with NuGet package approach

6 years agoMerge branch 'master' of https://github.com/dotnet/coreclr
Juan Carlos Aguilera Mendez [Fri, 2 Mar 2018 21:58:23 +0000 (13:58 -0800)]
Merge branch 'master' of https://github.com/dotnet/coreclr

6 years agoMerge pull request #16715 from fiigii/fixmovemask
Carol Eidt [Fri, 2 Mar 2018 21:04:33 +0000 (22:04 +0100)]
Merge pull request #16715 from fiigii/fixmovemask

Fix a bad marge

6 years ago[RyuJit] fix clang switch warning (#16693)
Sergey Andreenko [Fri, 2 Mar 2018 20:41:13 +0000 (12:41 -0800)]
[RyuJit] fix clang switch warning (#16693)

* fix clang switch warning

* Try to set throw blocks only for nodes that generates exceptions themselves.
Update comments.

6 years agofix a bad marge
Fei Peng [Fri, 2 Mar 2018 19:52:14 +0000 (11:52 -0800)]
fix a bad marge

6 years agoDelete SingleGetHashCode and DoubleGetHashCode tests for arm/arm64 (#16688)
Bruce Forstall [Fri, 2 Mar 2018 18:25:18 +0000 (10:25 -0800)]
Delete SingleGetHashCode and DoubleGetHashCode tests for arm/arm64 (#16688)

* Delete SingleGetHashCode and DoubleGetHashCode tests for arm/arm64

The tests themselves were deleted with #16567.

* Delete arm/arm64 tests deleted in #16571

StringCompare1, StringCompare2, StringCompare15

* Delete more references to these tests

6 years agoMerge pull request #16703 from BruceForstall/GeneralizeRuntestExclusionFiles
Bruce Forstall [Fri, 2 Mar 2018 18:24:10 +0000 (10:24 -0800)]
Merge pull request #16703 from BruceForstall/GeneralizeRuntestExclusionFiles

Generalize runtest.sh test exclusion files

6 years agoFix !threads -special spurious error message (#16701)
Mike McLaughlin [Fri, 2 Mar 2018 17:54:31 +0000 (09:54 -0800)]
Fix !threads -special spurious error message (#16701)

Fix !threads -special spurious error message

Generate portable PDB for SOS.NETCore.

Fix issue #16665. Incorrect command names in messages on Linux.

6 years agoUpdate CoreClr to preview2-26302-06 (#16706)
dotnet-maestro-bot [Fri, 2 Mar 2018 16:40:09 +0000 (10:40 -0600)]
Update CoreClr to preview2-26302-06 (#16706)

6 years agoMerge pull request #16646 from fiigii/insertextract
Carol Eidt [Fri, 2 Mar 2018 14:41:05 +0000 (15:41 +0100)]
Merge pull request #16646 from fiigii/insertextract

Implement SSE4.1 Insert/Extract and simplify SSE/SSE2 intrinsic

6 years agoWork around MCG bug around `ref char` marshalling (dotnet/corert#5481)
Michal Strehovský [Fri, 2 Mar 2018 09:28:43 +0000 (10:28 +0100)]
Work around MCG bug around `ref char` marshalling (dotnet/corert#5481)

The change in the P/invoke signature that came from CoreCLR triggers a bug in MCG on the TFS side.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoMerge pull request #16617 from echesakovMSFT/UseCodeTTypedefArm
Egor Chesakov [Fri, 2 Mar 2018 06:06:19 +0000 (22:06 -0800)]
Merge pull request #16617 from echesakovMSFT/UseCodeTTypedefArm

[RyuJIT/ARM32]Use emitter::code_t typedef for ARM

6 years agoMerge pull request #16669 from tannergooding/hwintrin-sse2-maskmove
Carol Eidt [Fri, 2 Mar 2018 06:03:45 +0000 (07:03 +0100)]
Merge pull request #16669 from tannergooding/hwintrin-sse2-maskmove

Implement the SSE2 MaskMove intrinsic

6 years agoFixing GetFullPath (#16670)
Anirudh Agnihotry [Fri, 2 Mar 2018 05:53:25 +0000 (21:53 -0800)]
Fixing GetFullPath (#16670)

6 years agoUpdate CoreClr, CoreFx to preview2-26302-01, preview2-26228-08, respectively (#16702)
dotnet-maestro-bot [Fri, 2 Mar 2018 04:27:00 +0000 (22:27 -0600)]
Update CoreClr, CoreFx to preview2-26302-01, preview2-26228-08, respectively (#16702)

6 years agoGeneralize runtest.sh test exclusion files
Bruce Forstall [Fri, 2 Mar 2018 02:10:55 +0000 (18:10 -0800)]
Generalize runtest.sh test exclusion files

Allow leading '#' as a comment character for all testsUnsupported and
testsFailing files.

Generalize testsFailingOnArm64.txt to testsFailing.$ARCH.txt

Generalize testsUnsupportedOnARM32.txt to testsUnsupported.$ARCH.txt

6 years agoVectorize String.IndexOf(char) and String.LastIndexOf(char) (#16392)
Eric Erhardt [Fri, 2 Mar 2018 00:51:06 +0000 (18:51 -0600)]
Vectorize String.IndexOf(char) and String.LastIndexOf(char) (#16392)

* Vectorize String.IndexOf(char) using the same algorithm as SpanHelpers
IndexOf(byte).

* Respond to feedback.

* Vectorize String.LastIndexOf

Clean up IndexOf vectorization.

6 years agoFix Adar month name in Hebrew calendar (#16697)
Tarek Mahmoud Sayed [Fri, 2 Mar 2018 00:36:39 +0000 (16:36 -0800)]
Fix Adar month name in Hebrew calendar (#16697)

The returned data from ICU has 6th month name as 'Adar I' and 7th month name as 'Adar'
We need to adjust that in the list used with non-leap year to have 6th month as 'Adar' and 7th month as 'Adar II'
note that when formatting non-leap year dates, 7th month shouldn't get used at all.

6 years agoMerge pull request #16668 from briansull/simd-ins-opt
Brian Sullivan [Thu, 1 Mar 2018 23:39:12 +0000 (15:39 -0800)]
Merge pull request #16668 from briansull/simd-ins-opt

Refactor the signature of genGetSimdInsOpt to use emitAttr

6 years ago1-base Dictionary buckets to reduce initalization
Ben Adams [Wed, 20 Dec 2017 23:06:41 +0000 (23:06 +0000)]
1-base Dictionary buckets to reduce initalization

6 years agoUse EqualityComparer<TKey>.Default Intrinsic
Ben Adams [Fri, 15 Dec 2017 22:07:42 +0000 (22:07 +0000)]
Use EqualityComparer<TKey>.Default Intrinsic

6 years agoImprove Dictionary TryInsert CQ
Ben Adams [Mon, 11 Dec 2017 06:09:03 +0000 (06:09 +0000)]
Improve Dictionary TryInsert CQ

6 years agoImprove Dictionary FindEntry CQ
Ben Adams [Mon, 11 Dec 2017 02:19:19 +0000 (02:19 +0000)]
Improve Dictionary FindEntry CQ

6 years agoChange several ValueTask properties to methods (#16691)
Stephen Toub [Thu, 1 Mar 2018 21:58:54 +0000 (16:58 -0500)]
Change several ValueTask properties to methods (#16691)

These do unsafe casts on an object, and we don't want a debugger's automatic evaluation accidentally invoking them.  That means either making them methods or adding [DebuggerBrowsable(DebuggerBrowsableState.Never)], and the former seems cleaner.

6 years agoImplement SSE4.1 insert and extract
Fei Peng [Thu, 1 Mar 2018 21:45:45 +0000 (13:45 -0800)]
Implement SSE4.1 insert and extract

6 years ago Move MemoryExtensions.TryGetString to MemoryMarshal and remove TryGetArray (#16692)
Ahson Khan [Thu, 1 Mar 2018 21:18:37 +0000 (13:18 -0800)]
 Move MemoryExtensions.TryGetString to MemoryMarshal and remove TryGetArray (#16692)

* Remove Span.NonGenerics and update leftover AsRoS -> AsSpan changes

* Move MemoryExtensions.TryGetString to MemoryMarshal and remove TryGetArray

* Move TryGetString to common MemoryMarshal.cs

* Remove the `this` keyword, not an extension method

6 years agoRemove Span.NonGenerics and update leftover AsRoS -> AsSpan changes (#16689)
Ahson Khan [Thu, 1 Mar 2018 20:23:01 +0000 (12:23 -0800)]
Remove Span.NonGenerics and update leftover AsRoS -> AsSpan changes (#16689)

6 years agoUpdate 64-bit intrinsics and simplify SSE/SSE2 intrinsic
Fei Peng [Wed, 28 Feb 2018 07:15:29 +0000 (23:15 -0800)]
Update 64-bit intrinsics and simplify SSE/SSE2 intrinsic

6 years agoMerge pull request #16660 from echesakovMSFT/UseTarget64BitMacro
Egor Chesakov [Thu, 1 Mar 2018 19:27:55 +0000 (11:27 -0800)]
Merge pull request #16660 from echesakovMSFT/UseTarget64BitMacro

Use _TARGET_64BIT_ macro

6 years agoAdd tests and templates for insert/extract
Fei Peng [Wed, 28 Feb 2018 20:46:32 +0000 (12:46 -0800)]
Add tests and templates for insert/extract

6 years agoDefine emitter::code_t for _TARGET_ARM_ and use this type rather than ssize_t or...
Egor Chesakov [Fri, 9 Feb 2018 17:52:17 +0000 (09:52 -0800)]
Define emitter::code_t for _TARGET_ARM_ and use this type rather than ssize_t or size_t to hold encoded instructions in emitter

6 years agoAdding tests for additional AVX hardware intrinsics
Tanner Gooding [Wed, 28 Feb 2018 08:36:49 +0000 (00:36 -0800)]
Adding tests for additional AVX hardware intrinsics

6 years agoAdding support for additional AVX hardware intrinsics
Tanner Gooding [Wed, 28 Feb 2018 08:35:36 +0000 (00:35 -0800)]
Adding support for additional AVX hardware intrinsics

6 years agoAdjust System.Threading.Tasks.Extensions for IValueTaskSource
Stephen Toub [Thu, 1 Mar 2018 13:59:32 +0000 (08:59 -0500)]
Adjust System.Threading.Tasks.Extensions for IValueTaskSource

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoImprove MemoryMarshal.Cast (#16659)
mikedn [Thu, 1 Mar 2018 15:34:12 +0000 (17:34 +0200)]
Improve MemoryMarshal.Cast (#16659)

Avoid unnecessary checked and signed arithmetic. Handle special cases such as cast between same size types and from byte sized types, the JIT is unable to optimize these cases currently.

6 years agoAdd back argument check for TypeForwardedFromAttribute (#16680)
Jan Kotas [Thu, 1 Mar 2018 12:25:35 +0000 (04:25 -0800)]
Add back argument check for TypeForwardedFromAttribute (#16680)

Fixes dotnet/corefx#27554

6 years agoFix build break in System.Memory due to incorrect XML comments
Stephen Toub [Thu, 1 Mar 2018 04:18:35 +0000 (23:18 -0500)]
Fix build break in System.Memory due to incorrect XML comments

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoMerge pull request #16618 from stephentoub/valuetaskextensibility
Stephen Toub [Thu, 1 Mar 2018 11:14:38 +0000 (06:14 -0500)]
Merge pull request #16618 from stephentoub/valuetaskextensibility

Implement ValueTask extensibility

6 years agoRemove span helpers, use mirrored PathInternal helper (#27585)
Jeremy Kuhne [Thu, 1 Mar 2018 06:30:31 +0000 (22:30 -0800)]
Remove span helpers, use mirrored PathInternal helper (#27585)

* Remove span helpers, use mirrored PathInternal helper

Remove other unnecessary helpers (notably with Path.Join available)

* Fix Unix

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoFix GetPathRoot issues (dotnet/corefx#27572)
Jeremy Kuhne [Thu, 1 Mar 2018 00:54:35 +0000 (16:54 -0800)]
Fix GetPathRoot issues (dotnet/corefx#27572)

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoEdits to fix conflicts in generated Vector.cs file (#16666)
Mandar Sahasrabuddhe [Thu, 1 Mar 2018 06:30:07 +0000 (12:00 +0530)]
Edits to fix conflicts in generated Vector.cs file (#16666)

Fixed minor space changes and one syntax error that causes conflict between checked in Vector.cs file and the freshly auto-generated Vector.cs file.

6 years agoAdding tests for the SSE2 MaskMove intrinsic
Tanner Gooding [Wed, 28 Feb 2018 23:16:58 +0000 (15:16 -0800)]
Adding tests for the SSE2 MaskMove intrinsic

6 years agoImplementing the SSE2 MaskMove intrinsic
Tanner Gooding [Wed, 28 Feb 2018 23:16:45 +0000 (15:16 -0800)]
Implementing the SSE2 MaskMove intrinsic

6 years agoRelease memory correctly during ComCallWrapperTemplate::Cleanup (#16671)
Luqun Lou [Thu, 1 Mar 2018 06:26:00 +0000 (22:26 -0800)]
Release memory correctly during ComCallWrapperTemplate::Cleanup (#16671)

Fixes #15632

6 years agoRemove ConvertILOnlyPE32ToPE64 and ConvertILOnlyPE32ToPE64Worker (#16676)
Egor Chesakov [Thu, 1 Mar 2018 06:25:16 +0000 (22:25 -0800)]
Remove ConvertILOnlyPE32ToPE64 and ConvertILOnlyPE32ToPE64Worker (#16676)

6 years agoMove IValueTaskSource and friends to System.Threading.Tasks.Sources
Stephen Toub [Thu, 1 Mar 2018 03:43:29 +0000 (22:43 -0500)]
Move IValueTaskSource and friends to System.Threading.Tasks.Sources

Group these more advanced types into a subnamespace.

6 years agoAdd token to IValueTaskSource
Stephen Toub [Thu, 1 Mar 2018 03:25:02 +0000 (22:25 -0500)]
Add token to IValueTaskSource

6 years agoImplement ValueTask extensibility
Stephen Toub [Wed, 28 Feb 2018 05:53:03 +0000 (00:53 -0500)]
Implement ValueTask extensibility

This commit adds support for extending `ValueTask<T>` with arbitrary backing sources.  Prior to this change, `ValueTask<T>` could wrap a `T` or a `Task<T>`; now it can also wrap an `IValueTaskSource<T>`, which can be implemented by arbitrary objects to be represented by `ValueTask<T>`.  These objects can then be pooled and reused to minimize allocation.  The commit also adds a non-generic `ValueTask` that can represent void-returning operations, including a `default` synchronous success, `Task`, and `IValueTaskSource`.  For the non-generic `ValueTask`, the commit also includes awaiters and async method builders, so it can be both awaited and used as the return type of an async method.

The rest of the changes fall into a few buckets all related to enabling this support:
- Modifying `AsyncTaskMethodBuilder<TResult>.AwaitUnsafeOnCompleted` to specially recognize any `ValueTask` and utilize either the `Task` or `IValueTaskSource` that backs it to avoid allocating an Action MoveNext method.  If every object awaited in an async method is either a `Task`/`Task<T>` or `ValueTask`/`ValueTask<T>`, regardless of what the `ValueTask`/`ValueTask<T>` wraps, we'll be able to avoid allocating the delegate and only allocate the single state machine object that also serves as the returned object.
- Changing `Stream.WriteAsync` to return `ValueTask` instead of `Task`.  This enables interested overriding stream types to use a reusable/pooled object to avoid `WriteAsync` allocations.
- Modifying Stream.CopyToAsync to use the new `Memory`-based overloads of `ReadAsync` and `WriteAsync`.  This enables the default `CopyToAsync` implementation to take advantage of any pooling done by derived streams, but even without pooling to take advantage of synchronously completing `ReadAsync`s returning `ValueTask<int>`s that contained an `int` rather than an allocated object. (While I was modifying this, I also removed some unnecessary array clearing that we'd added before later deciding it wasn't needed in general.)
- Modifying StreamReader/Writer to use the new `ReadAsync`/`WriteAsync` overloads.

6 years agoMinor documentation improvements (#16677)
Alfred Myers [Thu, 1 Mar 2018 03:55:33 +0000 (00:55 -0300)]
Minor documentation improvements (#16677)

6 years agoCreate test for rundown events with EventPipe (#16667)
Victor "Nate" Graf [Thu, 1 Mar 2018 02:03:12 +0000 (18:03 -0800)]
Create test for rundown events with EventPipe (#16667)

6 years agoReplace sizeof(LPVOID)==4 with #ifdef _TARGET_64BIT_ in fieldmarshaler.cpp
Egor Chesakov [Fri, 9 Feb 2018 20:51:30 +0000 (12:51 -0800)]
Replace sizeof(LPVOID)==4 with #ifdef _TARGET_64BIT_ in fieldmarshaler.cpp

6 years agoReplace ambiguous _WIN64 and BIT64 with _TARGET_64BIT_ macro
Egor Chesakov [Thu, 1 Mar 2018 01:45:12 +0000 (17:45 -0800)]
Replace ambiguous _WIN64 and BIT64 with _TARGET_64BIT_ macro

6 years agoDelete unnecesary StackCrawlMarks (#16648)
Jan Kotas [Thu, 1 Mar 2018 01:28:30 +0000 (17:28 -0800)]
Delete unnecesary StackCrawlMarks (#16648)

CAS leftovers

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to preview2-02528-07, preview2-26228...
dotnet-maestro-bot [Thu, 1 Mar 2018 00:51:16 +0000 (18:51 -0600)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview2-02528-07, preview2-26228-08, preview2-26228-03, master-20180228-0037, respectively (#16661)

6 years agoRefactor the signature of genGetSimdInsOpt to use emitAttr
Brian Sullivan [Wed, 28 Feb 2018 22:45:23 +0000 (14:45 -0800)]
Refactor the signature of genGetSimdInsOpt to use emitAttr
Eliminates the use of bool is16Byte from the code base
Added my comments from the code review of PR #16565 to emitarm64.cpp

6 years agoUpdate EventSource* Tests for EventPipe (#16645)
Brian Robbins [Wed, 28 Feb 2018 22:16:49 +0000 (14:16 -0800)]
Update EventSource* Tests for EventPipe (#16645)

6 years agoMerge pull request #16657 from debayang/crypto_arm64_intrinsics
Brian Sullivan [Wed, 28 Feb 2018 21:23:30 +0000 (13:23 -0800)]
Merge pull request #16657 from debayang/crypto_arm64_intrinsics

Crypto arm64 intrinsics

6 years agoSet isInternalRegDelayFree for several of the x86 hwintrinsics
Tanner Gooding [Wed, 28 Feb 2018 04:40:19 +0000 (20:40 -0800)]
Set isInternalRegDelayFree for several of the x86 hwintrinsics

6 years agoMerge pull request #16538 from sdmaclea/PR-ARM64-R2R_FAIL
Bruce Forstall [Wed, 28 Feb 2018 18:45:04 +0000 (10:45 -0800)]
Merge pull request #16538 from sdmaclea/PR-ARM64-R2R_FAIL

[Arm64/Windows] Make r2r green in CI

6 years agoAdd the array/arraysegment->Span/Memory overloads to CoreCLR. (#16658)
Atsushi Kanamori [Wed, 28 Feb 2018 18:33:24 +0000 (10:33 -0800)]
Add the array/arraysegment->Span/Memory overloads to CoreCLR. (#16658)

Part of https://github.com/dotnet/corefx/issues/26894

6 years agoRevert: Simplify test dependencies for benchmarks (#16647)
Andy Ayers [Wed, 28 Feb 2018 18:08:32 +0000 (10:08 -0800)]
Revert: Simplify test dependencies for benchmarks (#16647)

This reverts commit 0598b6b8af0fb560837ce0bb8f3c8236c05bbdc9.

Updates to xunit console runner break things in Helix. So reverting
until we can get that part sorted.

Also undoes version updates from #16597; we can't move these forward
yet as we're back to netstandard 1.4 for the time being.

6 years agoMerge pull request #16531 from echesakovMSFT/MakeTarget64BitMacroGlobal
Egor Chesakov [Wed, 28 Feb 2018 17:56:18 +0000 (09:56 -0800)]
Merge pull request #16531 from echesakovMSFT/MakeTarget64BitMacroGlobal

Make _TARGET_64BIT_ macro global to coreclr

6 years agoARM64 Crypto intrinsics tests for AES/SHA1/SHA256
Debayan Ghosh [Wed, 28 Feb 2018 16:26:03 +0000 (21:56 +0530)]
ARM64 Crypto intrinsics tests for AES/SHA1/SHA256

6 years agoARM64 SHA256 Crypto intrinsics implementation
Debayan Ghosh [Wed, 28 Feb 2018 16:21:38 +0000 (21:51 +0530)]
ARM64 SHA256 Crypto intrinsics implementation

6 years agoARM64 SHA1 Crypto intrinsics implementation
Debayan Ghosh [Wed, 28 Feb 2018 16:00:45 +0000 (21:30 +0530)]
ARM64 SHA1 Crypto intrinsics implementation

6 years agoMark MemoryMarshal.Cast methods for aggressive inlining (#16654)
Andy Ayers [Wed, 28 Feb 2018 15:23:16 +0000 (07:23 -0800)]
Mark MemoryMarshal.Cast methods for aggressive inlining (#16654)

Inlining doesn't streamline the cast logic any, but it facilitates
caller struct promotion which can substantially boost perf.

See discussion in dotnet/corefx#27485.

6 years agoAdd Thread.GetCurrentProcessorId() API (#16650)
Jan Kotas [Wed, 28 Feb 2018 15:22:29 +0000 (07:22 -0800)]
Add Thread.GetCurrentProcessorId() API (#16650)

Contributes to https://github.com/dotnet/corefx/issues/16767

6 years agoAdding some asserts that we won't overwrite one of the hwintrinsic operand registers.
Tanner Gooding [Tue, 27 Feb 2018 15:45:35 +0000 (07:45 -0800)]
Adding some asserts that we won't overwrite one of the hwintrinsic operand registers.

6 years agoAdding tests for the implemented SSE41 hardware intrinsics
Tanner Gooding [Sun, 25 Feb 2018 17:28:36 +0000 (09:28 -0800)]
Adding tests for the implemented SSE41 hardware intrinsics

6 years agoAdding partial support for the SSE41 hardware intrinsics
Tanner Gooding [Sun, 25 Feb 2018 17:27:18 +0000 (09:27 -0800)]
Adding partial support for the SSE41 hardware intrinsics

6 years agoARM64 Aes Crypto intrinsics implementation
Debayan Ghosh [Wed, 28 Feb 2018 14:11:49 +0000 (19:41 +0530)]
ARM64 Aes Crypto intrinsics implementation

6 years agoMerge pull request #16599 from fiigii/fixstaticcast
Carol Eidt [Wed, 28 Feb 2018 08:59:44 +0000 (00:59 -0800)]
Merge pull request #16599 from fiigii/fixstaticcast

Fix generic hardware intrinsics with NotSupportedException

6 years agoFix StaticCast with NotSupportedException
Fei Peng [Wed, 28 Feb 2018 06:18:06 +0000 (22:18 -0800)]
Fix StaticCast with NotSupportedException

6 years agoAdd Path.Join() methods. (#16561)
Jeremy Kuhne [Wed, 28 Feb 2018 02:53:54 +0000 (18:53 -0800)]
Add Path.Join() methods. (#16561)

* Add Path.Join() methods.

See #25536.

* Address feedback and fix a couple issues now that I've got tests running correctly.

* Update per final API approval

* Fix Unix, remove redundant helper.

* Merge and tweak join methods in GetFullPath(string, string)

* Tweak again

6 years agoFixing lambda capture unused errors. (#16555)
Rex Morgan [Wed, 28 Feb 2018 02:53:11 +0000 (20:53 -0600)]
Fixing lambda capture unused errors. (#16555)

These errors were happening when compiling with clang 5.0.1.

Since the whole method is defined inside a #if DEBUG, it was
erroring when compiling in release mode because the lambda
variables were not being used.

6 years agoTests For GetPathRoot and Enabling NormalizeDirectorySeparatorTests (#27494)
Anirudh Agnihotry [Tue, 27 Feb 2018 20:04:53 +0000 (12:04 -0800)]
Tests For GetPathRoot and Enabling NormalizeDirectorySeparatorTests (#27494)

Corrects its Implementation too

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoUse the same default value of MarshalAs.IidParamIndex for both Windows and Unix ...
Jan Kotas [Wed, 28 Feb 2018 02:48:09 +0000 (18:48 -0800)]
Use the same default value of MarshalAs.IidParamIndex for both Windows and Unix (#16639)

6 years agoMerge pull request #16637 from dotnet-bot/from-tfs
Brian Sullivan [Wed, 28 Feb 2018 01:34:53 +0000 (17:34 -0800)]
Merge pull request #16637 from dotnet-bot/from-tfs

Merge changes from TFS

6 years agoAddress comments
Juan Carlos Aguilera Mendez [Wed, 28 Feb 2018 00:23:19 +0000 (16:23 -0800)]
Address comments

6 years agoActually adding SCEP script
Juan Carlos Aguilera Mendez [Wed, 28 Feb 2018 00:11:48 +0000 (16:11 -0800)]
Actually adding SCEP script

6 years agoMinimal Fix for the incorrect rangecheck elimination issue reported by Mike Danes
Brian Sullivan [Wed, 28 Feb 2018 00:11:23 +0000 (16:11 -0800)]
Minimal Fix for the incorrect rangecheck elimination issue reported by Mike Danes

RangeCheck::IsBinOpMonotonicallyIncreasing has a bug that results in incorrect range check elimination – when the second operand is a lclvar it does not check if it’s a positive value, it only checks if it’s monotonically increasing and any constant is treated as such.

[tfs-changeset: 1689890]

6 years agoAdding SCEP install/uninstall script and tasks
Juan Carlos Aguilera Mendez [Wed, 28 Feb 2018 00:10:08 +0000 (16:10 -0800)]
Adding SCEP install/uninstall script and tasks

6 years agoBug in GetFullPath(basePath, Path) (#16598)
Anirudh Agnihotry [Tue, 27 Feb 2018 23:56:23 +0000 (15:56 -0800)]
Bug in GetFullPath(basePath, Path) (#16598)

* GetFullPath and GetRootLength Corrected

* Removed getpathroot

* using span

* "\\" changed to @"\"

6 years agoMerge pull request #16533 from briansull/default-fill
Brian Sullivan [Tue, 27 Feb 2018 22:00:08 +0000 (14:00 -0800)]
Merge pull request #16533 from briansull/default-fill

Implement JitDefaultFill

6 years agoChange new ThreadPool.QueueUserWorkItem method to be generic (#16570)
Stephen Toub [Tue, 27 Feb 2018 21:43:32 +0000 (16:43 -0500)]
Change new ThreadPool.QueueUserWorkItem method to be generic (#16570)

6 years agoEvent pipe guid in metadata (#16316), fixes #16105
Adam Sitnik [Tue, 27 Feb 2018 20:25:35 +0000 (21:25 +0100)]
Event pipe guid in metadata (#16316), fixes #16105

* some refactor to remove dumplicated code in tests and make them fit 1 screen

* write the failing test for no activity id

* use 17, the "free slot" of TypeCode enum to represent Guid in event pipe metadata

* remove the test which would not pass until new trace event is released and Event Pipe enabled for Windows

* added comment to TypeCode about using the value 17

* post code review fixes (thanks @justinvp)

* post code review fixes (thanks @brianrob)

* refactor the rest of event pipe tests to use NetPerfFile helper

6 years agoImplement JitDefaultFill
Brian Sullivan [Fri, 23 Feb 2018 22:06:16 +0000 (14:06 -0800)]
Implement JitDefaultFill
- Changes and bugs fixes when changing the JitDefaultFill value from 0xff to 0xdd
- Implement randomized DefaultFill for stress
- Added comment header for compGetJitDefaultFill
- Changed C style comments to C++ comments

6 years agoFix P1 test build break (#16631)
Jan Kotas [Tue, 27 Feb 2018 20:08:59 +0000 (12:08 -0800)]
Fix P1 test build break (#16631)

6 years agoadd PHASE_COMPUTE_REACHABILITY (#16574)
Sergey Andreenko [Tue, 27 Feb 2018 18:55:24 +0000 (10:55 -0800)]
add PHASE_COMPUTE_REACHABILITY (#16574)

6 years agoDebugger FIFO pipes are created in TMPDIR if defined #16234 (#16452)
crntn [Tue, 27 Feb 2018 18:42:56 +0000 (19:42 +0100)]
Debugger FIFO pipes are created in TMPDIR if defined #16234 (#16452)

Debugger FIFO pipes are created in TMPDIR if defined #16234

Init name to null termination to ensure failure if GetTempPathA fails