platform/upstream/dotnet/runtime.git
7 years agoImprove SIMD tests
Bruce Forstall [Thu, 26 Jan 2017 02:53:44 +0000 (18:53 -0800)]
Improve SIMD tests

1. Since the F1/F2 tests of VectorReturn found an issue Vector2
on x86, I added variants of the same test for Vector3 and Vector4
(by basically copying F1/F2 and altering appropriately).
2. I noticed VectorMin for Vector4 wasn't checking the 'W' member,
so I fixed that.

Commit migrated from https://github.com/dotnet/coreclr/commit/92fb13263f3be6da8f2069027e20e304be5f249c

7 years agoIntroduce REGDISPLAY_BASE (dotnet/coreclr#9095)
Jonghyun Park [Wed, 25 Jan 2017 23:59:20 +0000 (08:59 +0900)]
Introduce REGDISPLAY_BASE (dotnet/coreclr#9095)

* Introduce REGDISPLAY_BASE

Commit migrated from https://github.com/dotnet/coreclr/commit/8f4cb1beaa68e74a16492510c86d9b2fec539e60

7 years agoMerge pull request dotnet/coreclr#9119 from wtgodbe/fixGroovyFx
William Godbe [Wed, 25 Jan 2017 23:54:37 +0000 (15:54 -0800)]
Merge pull request dotnet/coreclr#9119 from wtgodbe/fixGroovyFx

Fix CoreFX Binary copying in netci.groovy

Commit migrated from https://github.com/dotnet/coreclr/commit/a042c4cfdf5549e26dd19cdd7aa68cbab393a7ea

7 years agoFix CoreFX Binary copying in netci.groovy
wtgodbe [Wed, 25 Jan 2017 23:45:52 +0000 (15:45 -0800)]
Fix CoreFX Binary copying in netci.groovy

Commit migrated from https://github.com/dotnet/coreclr/commit/2fb67dcc33d80034df532cab87d0c2dc3680896d

7 years agoMerge pull request dotnet/coreclr#9111 from adiaaida/fixCompatJitLeg
Michelle McDaniel [Wed, 25 Jan 2017 21:04:20 +0000 (13:04 -0800)]
Merge pull request dotnet/coreclr#9111 from adiaaida/fixCompatJitLeg

Fix x86compatjit and x86lb legs

Commit migrated from https://github.com/dotnet/coreclr/commit/6475866517b923ed4e15038d1d60bfd89dafc267

7 years agoMerge pull request dotnet/coreclr#9099 from wtgodbe/CoreRootRunTest
William Godbe [Wed, 25 Jan 2017 20:12:18 +0000 (12:12 -0800)]
Merge pull request dotnet/coreclr#9099 from wtgodbe/CoreRootRunTest

Reintroduce building Core_Root to runtest.cmd

Commit migrated from https://github.com/dotnet/coreclr/commit/eab3b514ed94a95f04b95717cc910114106d4faf

7 years agoMerge pull request dotnet/coreclr#9113 from wtgodbe/groovyRelease
William Godbe [Wed, 25 Jan 2017 20:11:06 +0000 (12:11 -0800)]
Merge pull request dotnet/coreclr#9113 from wtgodbe/groovyRelease

Always use release folder for CoreFxBinDir

Commit migrated from https://github.com/dotnet/coreclr/commit/8555dcce4a48745ce84fe480474e0f42eb1170a0

7 years agoFix x86compatjit and x86lb legs
Michelle McDaniel [Wed, 25 Jan 2017 18:44:49 +0000 (10:44 -0800)]
Fix x86compatjit and x86lb legs

Change 7eacdd7 moved Exclude from runtest.cmd to build-test.cmd, which
broke the x86compatjit and x86lb legs in the lab. This change splits the
builds for these jobs into build.cmd skiptests and build-tests.cmd Exclude
<exclusion file> and removes the Exclude option from the runtest command.

Commit migrated from https://github.com/dotnet/coreclr/commit/47bf26423daa4e83ff2a2b619a3c91cd92653c34

7 years agoAlways use release folder for CoreFxBinDir
wtgodbe [Wed, 25 Jan 2017 19:03:21 +0000 (11:03 -0800)]
Always use release folder for CoreFxBinDir

Commit migrated from https://github.com/dotnet/coreclr/commit/1e6198435ee8d364f9cb5ca8d63eeb0e8921abcc

7 years agoMerge pull request dotnet/coreclr#9112 from wtgodbe/fixbuildagainstpackages
William Godbe [Wed, 25 Jan 2017 18:51:59 +0000 (10:51 -0800)]
Merge pull request dotnet/coreclr#9112 from wtgodbe/fixbuildagainstpackages

Fix arg parsing for buildagainstpackages argument

Commit migrated from https://github.com/dotnet/coreclr/commit/2f1e57a89df432d733262b7d4f574bc3e1b3fc92

7 years agoFix arg parsing for buildagainstpackages argument
wtgodbe [Wed, 25 Jan 2017 18:50:50 +0000 (10:50 -0800)]
Fix arg parsing for buildagainstpackages argument

Commit migrated from https://github.com/dotnet/coreclr/commit/12885e883984e0c6b07e461ca047972cabe1b335

7 years agoMerge pull request dotnet/coreclr#9100 from adiaaida/vso370233
Michelle McDaniel [Wed, 25 Jan 2017 18:50:48 +0000 (10:50 -0800)]
Merge pull request dotnet/coreclr#9100 from adiaaida/vso370233

Update isUsedFromMemory to include CNS_DBLs

Commit migrated from https://github.com/dotnet/coreclr/commit/d1305d2442be97e2c868e2050919d41777950ba2

7 years agoUpdate isUsedFromMemory to include CNS_DBLs
Michelle McDaniel [Tue, 24 Jan 2017 23:56:18 +0000 (15:56 -0800)]
Update isUsedFromMemory to include CNS_DBLs

Contained GT_CNS_DBLs should also be considered as isUsedFromMemory.

Fixes VSO 370233.

Commit migrated from https://github.com/dotnet/coreclr/commit/ae4fa9e1f2add97030cafdd9dcdfbdd50fb32662

7 years agoMerge pull request dotnet/coreclr#9024 from stephentoub/fix_taskwhenany
Stephen Toub [Wed, 25 Jan 2017 14:31:59 +0000 (09:31 -0500)]
Merge pull request dotnet/coreclr#9024 from stephentoub/fix_taskwhenany

Fix race condition in Task.WhenAny

Commit migrated from https://github.com/dotnet/coreclr/commit/f4be1f2319cde160eedc65a000e7b221c3433733

7 years agoMerge pull request dotnet/coreclr#9102 from dotnet/revert-8969-encoding
Jan Kotas [Wed, 25 Jan 2017 13:48:56 +0000 (05:48 -0800)]
Merge pull request dotnet/coreclr#9102 from dotnet/revert-8969-encoding

Revert "Fast-path for ASCII & UTF8 Encoding ASCII data"

Commit migrated from https://github.com/dotnet/coreclr/commit/7c4d22f30336ec15495a0e3fd23b07ee497fb9cd

7 years agoMerge pull request dotnet/coreclr#9104 from dotnet/revert-9091-perf-CompareOrdinalIgn...
Jan Kotas [Wed, 25 Jan 2017 13:48:38 +0000 (05:48 -0800)]
Merge pull request dotnet/coreclr#9104 from dotnet/revert-9091-perf-CompareOrdinalIgnoreCaseHelper

Revert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"

Commit migrated from https://github.com/dotnet/coreclr/commit/c9de37eb69462cb9d1d4581a224eb99689004bef

7 years agoMerge pull request dotnet/coreclr#9084 from hqueue/arm/ryujit/fp_sqrt
Sivarv [Wed, 25 Jan 2017 04:50:37 +0000 (20:50 -0800)]
Merge pull request dotnet/coreclr#9084 from hqueue/arm/ryujit/fp_sqrt

[Ryujit/ARM32] Implement GT_INTRINSIC_Sqrt for floating point type

Commit migrated from https://github.com/dotnet/coreclr/commit/c3addb7aec0fc27c1f1139fd00e350342e5ea8c5

7 years agoRevert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"
Jan Kotas [Wed, 25 Jan 2017 04:17:48 +0000 (20:17 -0800)]
Revert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"

Commit migrated from https://github.com/dotnet/coreclr/commit/f72c59773399753075ec00c4060a61e00e313c31

7 years agoRevert "Fast-path for ASCII & UTF8 Encoding ASCII data"
Tarek Mahmoud Sayed [Wed, 25 Jan 2017 03:25:23 +0000 (19:25 -0800)]
Revert "Fast-path for ASCII & UTF8 Encoding ASCII data"

Commit migrated from https://github.com/dotnet/coreclr/commit/84a983a2801365cf255485b842b2a0d4b21ab1a7

7 years agoMerge pull request dotnet/coreclr#9073 from DrewScoggins/DevEngUbuntuFix
Drew Scoggins [Wed, 25 Jan 2017 03:14:21 +0000 (19:14 -0800)]
Merge pull request dotnet/coreclr#9073 from DrewScoggins/DevEngUbuntuFix

Fix Ubuntu Perf Runs

Commit migrated from https://github.com/dotnet/coreclr/commit/d47b92a252d327f92f989a178aa646ea01af88f7

7 years agoFix Ubuntu Perf Runs
Drew Scoggins [Sat, 21 Jan 2017 00:05:16 +0000 (16:05 -0800)]
Fix Ubuntu Perf Runs

After the dev/eng work the Ubuntu perf runs were broken because of
layout changes in the bin drop of CoreFX.  We relied on these for the
CoreFX that we used during perf testing.  I have made changes on the
CoreFX side to tar up the new runtime folder instead of a collection of
other bin folder.  This change allows the infrastructure to consume
this.

Commit migrated from https://github.com/dotnet/coreclr/commit/1a00e7dbbe4fef687c80246f8daca5c20f830493

7 years agoMerge pull request dotnet/coreclr#9096 from AndyAyersMS/RevComplement
Andy Ayers [Wed, 25 Jan 2017 01:44:58 +0000 (17:44 -0800)]
Merge pull request dotnet/coreclr#9096 from AndyAyersMS/RevComplement

Add BenchmarkGames revcomp benchmark

Commit migrated from https://github.com/dotnet/coreclr/commit/4fc4d2ad522477dfa873be1ac12ab9ac736a7b14

7 years agoMerge pull request dotnet/coreclr#9020 from briansull/jumpstub-logging
Brian Sullivan [Wed, 25 Jan 2017 00:57:30 +0000 (16:57 -0800)]
Merge pull request dotnet/coreclr#9020 from briansull/jumpstub-logging

Add logging for jumpsStubs and ClrVirtualAllocWithinRange

Commit migrated from https://github.com/dotnet/coreclr/commit/3992010c31ffc9eb50359713f1c29fd29902e04a

7 years agoMerge pull request dotnet/coreclr#9092 from wtgodbe/fixRunTest
William Godbe [Wed, 25 Jan 2017 00:49:49 +0000 (16:49 -0800)]
Merge pull request dotnet/coreclr#9092 from wtgodbe/fixRunTest

Fix runtest.sh build of Coreoverlay to account for new directory structure in CoreFX

Commit migrated from https://github.com/dotnet/coreclr/commit/b609a5fe63af293406d85c9e3134b5d1309c82ae

7 years agoReintroduce building Core_Root to runtest.cmd
wtgodbe [Wed, 25 Jan 2017 00:16:22 +0000 (16:16 -0800)]
Reintroduce building Core_Root to runtest.cmd

Commit migrated from https://github.com/dotnet/coreclr/commit/8ea4f12731dd17ef60f7b0201dc89fec59f4e065

7 years agoFix runtest.sh build of Coreoverlay to account for new directory strucure in CoreFX
wtgodbe [Tue, 24 Jan 2017 21:59:29 +0000 (13:59 -0800)]
Fix runtest.sh build of Coreoverlay to account for new directory strucure in CoreFX

Commit migrated from https://github.com/dotnet/coreclr/commit/0509183c860f54e230ea3aa65aedc8ee3b62f782

7 years agoAdd BenchmarkGames revcomp benchmark
Andy Ayers [Wed, 18 Jan 2017 00:07:41 +0000 (16:07 -0800)]
Add BenchmarkGames revcomp benchmark

This is based on version 1 of the C# variants. Am not including
the largest input file since it is ~250MB. Instead we iterate
on a smaller file.

Note the text input files are opened as binary and the app looks for
Unix line endings, hence the update to .gitattributes.

The benchmark is setup to look for its input next to the benchmark exe
as run in both normal test and xunit-perf test modes, keying off the
CORE_ROOT environment variable. In the xunit-perf mode the input files
are subsequently copied into the sandbox.

Also updated the ending copyright date on the Benchmark Games
license page.

Commit migrated from https://github.com/dotnet/coreclr/commit/efe09f824c2aa55d1ee9a749fc3d2166bf17b595

7 years agoDocument jumpStub usage in Codeman.cpp
Brian Sullivan [Fri, 20 Jan 2017 02:38:33 +0000 (18:38 -0800)]
Document jumpStub usage in Codeman.cpp
Added new STRESS_LOG calls that do the following:
 logging for JumpStubs
      log the total count of jump stub lookups: JumpStubLookup
      log the number of actual jump stub thunks created: JumpStubUnique
      log the number of jump stub blocks allocated: JumpStubBlockAllocCount
      log the number jump stub blocks that are completely filled: JumpStubBlockFullCount
 logging for ClrVirtualAllocWithinRange
      log the total number of calls to ClrVirtualAllocWithinRange
      log the number of VirtualQuery operations used by the current call
      log the range that was requested
      log the return value
      log any reasons for failure.

Commit migrated from https://github.com/dotnet/coreclr/commit/1da14f92116332b22dd6f0e6964625e39604c469

7 years agoImprove CompareOrdinalIgnoreCaseHelper performance for matching chars (dotnet/coreclr...
Bruce Bowyer-Smyth [Tue, 24 Jan 2017 22:22:01 +0000 (08:22 +1000)]
Improve CompareOrdinalIgnoreCaseHelper performance for matching chars (dotnet/coreclr#9091)

Commit migrated from https://github.com/dotnet/coreclr/commit/02511952eca7a41eb7d6ce7ac7b5e6d76ae991d6

7 years agoMerge pull request dotnet/coreclr#9065 from pgavlin/FixPhaseListOrder
Andy Ayers [Tue, 24 Jan 2017 22:15:00 +0000 (14:15 -0800)]
Merge pull request dotnet/coreclr#9065 from pgavlin/FixPhaseListOrder

Fix the ordering of phases in compphases.h.

Commit migrated from https://github.com/dotnet/coreclr/commit/8a5a61366890d45654e26ad670a485bafb4f8c20

7 years agoMerge pull request dotnet/coreclr#8973 from wtgodbe/HelixTestRuns
William Godbe [Tue, 24 Jan 2017 22:03:02 +0000 (14:03 -0800)]
Merge pull request dotnet/coreclr#8973 from wtgodbe/HelixTestRuns

Add support for running CoreCLR Tests in Helix

Commit migrated from https://github.com/dotnet/coreclr/commit/7eacdd774414e8c2d325e8aa3c3657df1fb0c032

7 years agoMerge pull request dotnet/coreclr#9090 from rahku/arm64fix
Rahul Kumar [Tue, 24 Jan 2017 21:47:37 +0000 (13:47 -0800)]
Merge pull request dotnet/coreclr#9090 from rahku/arm64fix

Fix arm64 build break

Commit migrated from https://github.com/dotnet/coreclr/commit/025f8b05bd023ad578d484921a73d8b7222ff4b5

7 years agoFast-path for ASCII & UTF8 Encoding ASCII data (dotnet/coreclr#8969)
Ben Adams [Tue, 24 Jan 2017 21:21:52 +0000 (21:21 +0000)]
Fast-path for ASCII & UTF8 Encoding ASCII data (dotnet/coreclr#8969)

* ASCII Encoding fast-path

* Add skipp for BIGENDIAN

* fixes

* ascii  GetBytes(char[] chars) fix

* feedback

* Clean up

* Reuse exception block

* Add debug Asserts

Commit migrated from https://github.com/dotnet/coreclr/commit/5c20488da0d06c14f8d28e9bade3e8e6d8cd970f

7 years agoMerge pull request dotnet/coreclr#8944 from DmitryDzuba/patch-1
Ian Hays [Tue, 24 Jan 2017 21:18:27 +0000 (13:18 -0800)]
Merge pull request dotnet/coreclr#8944 from DmitryDzuba/patch-1

Add version increment into Sort(Comparison<T>)

Commit migrated from https://github.com/dotnet/coreclr/commit/a4049636da7ba109629cd277dd2f12e1466d4e6f

7 years agoAdd support for running CoreCLR Tests in Helix
wtgodbe [Tue, 17 Jan 2017 22:47:51 +0000 (14:47 -0800)]
Add support for running CoreCLR Tests in Helix

Commit migrated from https://github.com/dotnet/coreclr/commit/eb610f615bc4076ad950c98157e83bc34649064f

7 years agoMerge pull request dotnet/coreclr#9071 from gkhanna79/FixVer200
Gaurav Khanna [Tue, 24 Jan 2017 19:57:12 +0000 (11:57 -0800)]
Merge pull request dotnet/coreclr#9071 from gkhanna79/FixVer200

Update CoreCLR nuget package versions to 2.0.0

Commit migrated from https://github.com/dotnet/coreclr/commit/6a3c584b80dde7752a595344b3dc727918c94183

7 years agoFix arm64 build break
Rahul Kumar [Tue, 24 Jan 2017 19:32:24 +0000 (11:32 -0800)]
Fix arm64 build break

Commit migrated from https://github.com/dotnet/coreclr/commit/67c9dda70b909e6dd5371c9615d61c19fba13199

7 years agoMerge pull request dotnet/coreclr#9076 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 24 Jan 2017 17:28:56 +0000 (09:28 -0800)]
Merge pull request dotnet/coreclr#9076 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24924-01, beta-24924-02, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/8d0946c0fb7c597f9de0dbb997fe63d59376f38b

7 years agoDelete unused files (dotnet/coreclr#9082)
mikedn [Tue, 24 Jan 2017 15:30:45 +0000 (17:30 +0200)]
Delete unused files (dotnet/coreclr#9082)

- *.vrg files (registry entries)
- *.ini files (performance counters)
- *.vcproj/vcxproj/vspscc/sln (out of date)
- mscorrc.rc2 (not referenced from anywhere)

Commit migrated from https://github.com/dotnet/coreclr/commit/c9aecb547dad29d44eb9e2e9b798aa8e6aef830a

7 years agoUpdate CoreClr, CoreFx to beta-24924-01, beta-24924-02, respectively
dotnet-bot [Tue, 24 Jan 2017 15:13:54 +0000 (15:13 +0000)]
Update CoreClr, CoreFx to beta-24924-01, beta-24924-02, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/7344f962336c0344736abb92fb4a5cefac4a8da0

7 years ago[x86/Linux] Port CheckRegDisplaySP (dotnet/coreclr#9081)
Jonghyun Park [Tue, 24 Jan 2017 14:54:37 +0000 (23:54 +0900)]
[x86/Linux] Port CheckRegDisplaySP (dotnet/coreclr#9081)

Remove duplicated declarations of CheckRegDisplaySP, and enable it for x86.

Commit migrated from https://github.com/dotnet/coreclr/commit/285c9f3002627135a8a152fea8ef97c93c8a27e0

7 years agoFix codegen for GT_NEG to handle floating point type
Hyung-Kyu Choi [Tue, 24 Jan 2017 11:50:12 +0000 (20:50 +0900)]
Fix codegen for GT_NEG to handle floating point type

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/ff01346b7816a40058a1a5e8487172e15efc33fb

7 years ago[x86/Linux] Fix EH Region Mismatch (dotnet/coreclr#9043)
Jonghyun Park [Tue, 24 Jan 2017 12:39:37 +0000 (21:39 +0900)]
[x86/Linux] Fix EH Region Mismatch (dotnet/coreclr#9043)

Commit migrated from https://github.com/dotnet/coreclr/commit/617c0cf4448b3728b1f07f9aec5f2dc2a40ce5f9

7 years agoSimplify #ifdef related with UnwindStackFrame (dotnet/coreclr#9052)
Jonghyun Park [Tue, 24 Jan 2017 11:09:16 +0000 (20:09 +0900)]
Simplify #ifdef related with UnwindStackFrame (dotnet/coreclr#9052)

Commit migrated from https://github.com/dotnet/coreclr/commit/69e3c50ee80a16fd4d2c287422ed7c4d1056b667

7 years agoImplement GT_INTRINSIC_Sqrt for floating-point
Hyung-Kyu Choi [Tue, 24 Jan 2017 11:04:09 +0000 (20:04 +0900)]
Implement GT_INTRINSIC_Sqrt for floating-point

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/b044c6050e7b35ccdee42278587b9d8206915db1

7 years agoClean up #else in EECodeManager::FixContext (dotnet/coreclr#9048)
Jonghyun Park [Tue, 24 Jan 2017 09:36:30 +0000 (18:36 +0900)]
Clean up #else in EECodeManager::FixContext (dotnet/coreclr#9048)

* Clean up #else in EECodeManager::FixContext

* Remove FixContext decl from EECodeManager

Commit migrated from https://github.com/dotnet/coreclr/commit/e50a9fe953e4dbbca67df9f9d0abe7bc2ba6d301

7 years agoClean up LeaveFinally/LeaveCatch (dotnet/coreclr#9050)
Jonghyun Park [Tue, 24 Jan 2017 09:31:51 +0000 (18:31 +0900)]
Clean up LeaveFinally/LeaveCatch (dotnet/coreclr#9050)

* Hide LeaveFinally/LeaveCatch when WIN64EXCEPTION is defined

Commit migrated from https://github.com/dotnet/coreclr/commit/a3d3e5a97bc4d0e59b094cbab32786f95225b357

7 years agoMerge pull request dotnet/coreclr#9074 from BruceForstall/FixGenTreeHash
Bruce Forstall [Tue, 24 Jan 2017 07:27:47 +0000 (23:27 -0800)]
Merge pull request dotnet/coreclr#9074 from BruceForstall/FixGenTreeHash

Fix GenTree hash function for commutative operators

Commit migrated from https://github.com/dotnet/coreclr/commit/27a3b710beedb567d0bcdf131a7006bcb2ca835c

7 years agoDisallow statics of spans and class instance members of span (dotnet/coreclr#9061)
Koundinya Veluri [Tue, 24 Jan 2017 07:13:26 +0000 (23:13 -0800)]
Disallow statics of spans and class instance members of span (dotnet/coreclr#9061)

Functional fix for dotnet/coreclr#8516 to cover some additional cases. IL tests will be coming later in a separate PR.

Commit migrated from https://github.com/dotnet/coreclr/commit/969cea6a2ffff6c53a615d2fd398f9a7b8c73290

7 years ago[x86/Linux] Port two preconditions in ExceptionTracker::ResetThreadAbortStatus (dotne...
Jonghyun Park [Tue, 24 Jan 2017 06:52:45 +0000 (15:52 +0900)]
[x86/Linux] Port two preconditions in ExceptionTracker::ResetThreadAbortStatus (dotnet/coreclr#9079)

Commit migrated from https://github.com/dotnet/coreclr/commit/97e702041f003a856555b8b809771920a74f0776

7 years agoRename Esp in x86 REGDISPLAY as SP (dotnet/coreclr#9070)
Jonghyun Park [Tue, 24 Jan 2017 06:50:20 +0000 (15:50 +0900)]
Rename Esp in x86 REGDISPLAY as SP (dotnet/coreclr#9070)

* Rename Esp in x86 REGDISPLAY as SP

* Fix x86/Windows build error

Commit migrated from https://github.com/dotnet/coreclr/commit/7a1185d4abce994bebb1aaa604730c79dce70186

7 years agoMerge pull request dotnet/coreclr#8672 from mikedn/cmp-lower-refactoring
Carol Eidt [Tue, 24 Jan 2017 06:25:25 +0000 (22:25 -0800)]
Merge pull request dotnet/coreclr#8672 from mikedn/cmp-lower-refactoring

Refactor TreeNodeInfoInitCmp

Commit migrated from https://github.com/dotnet/coreclr/commit/378a73e9d09fae6224c406754e2df171d2236593

7 years agoMerge pull request dotnet/coreclr#9072 from CarolEidt/DevDiv_1206929
Carol Eidt [Tue, 24 Jan 2017 06:24:53 +0000 (22:24 -0800)]
Merge pull request dotnet/coreclr#9072 from CarolEidt/DevDiv_1206929

Add a test case for a test optimization

Commit migrated from https://github.com/dotnet/coreclr/commit/78c18bb443c71df65b97e869f401ab536acb8be0

7 years agoPort GC fixes from CoreRT (dotnet/coreclr#9078)
Jan Kotas [Tue, 24 Jan 2017 06:23:18 +0000 (22:23 -0800)]
Port GC fixes from CoreRT (dotnet/coreclr#9078)

Commit migrated from https://github.com/dotnet/coreclr/commit/52aa019ec9bed8c08a2f8e230804b363bcaef6f4

7 years agoRemove PALAPI attribute from PAL Callback (dotnet/coreclr#9075)
Jonghyun Park [Tue, 24 Jan 2017 06:08:06 +0000 (15:08 +0900)]
Remove PALAPI attribute from PAL Callback (dotnet/coreclr#9075)

Commit migrated from https://github.com/dotnet/coreclr/commit/3a0a7663e1cc26e04a86e3ccb8e9de5ea650ebc4

7 years agoClean up #else in EECodeManager::GetAmbientSP (dotnet/coreclr#9049)
Jonghyun Park [Tue, 24 Jan 2017 05:50:05 +0000 (14:50 +0900)]
Clean up #else in EECodeManager::GetAmbientSP (dotnet/coreclr#9049)

Commit migrated from https://github.com/dotnet/coreclr/commit/0a0696ed88fe3b3240557bf9a432b723ccb1ff7e

7 years agoMerge pull request dotnet/coreclr#8910 from AndyAyersMS/SpanBench
Andy Ayers [Tue, 24 Jan 2017 04:02:20 +0000 (20:02 -0800)]
Merge pull request dotnet/coreclr#8910 from AndyAyersMS/SpanBench

Add a simple span benchmark

Commit migrated from https://github.com/dotnet/coreclr/commit/9de7737437cd578b30c5332222a135db1f8d227c

7 years ago[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms ...
Sean Gillespie [Tue, 24 Jan 2017 03:44:10 +0000 (19:44 -0800)]
[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms (dotnet/coreclr#8976)

* Add way to build with FEATURE_STANDALONE_GC from build.sh
* Make CMake changes to build the GC 'PAL' as its own build target (to avoid -nostdinc).
In addition, introduce a "GC PAL" that provides an implementation of
GCToOSInterface on Unix-like platforms, for use with
FEATURE_STANDALONE_GC.

Commit migrated from https://github.com/dotnet/coreclr/commit/bbd32c484f2d00a566217e52bddb6960c2ec0b22

7 years agoFix GenTree hash function for commutative operators
Bruce Forstall [Tue, 24 Jan 2017 01:19:30 +0000 (17:19 -0800)]
Fix GenTree hash function for commutative operators

gtHashValue() computes a hash value for a tree that, at least now,
is only used for determining whether to display the tree in the
JitDump after morphing. The hash function for commutative binary
operators was designed to return the same value if the operands
were switched (possibly this was used for CSE previously?). However,
this means that in some cases, nearly symmetric operands before and
after morphing would cause the "after morph" tree not to be displayed,
which is very confusing, since it implies that morphing had no
effect on the tree.

Since it appears we have no need for this special handling of
commutative binary operators, remove the special hashing done for them.

Commit migrated from https://github.com/dotnet/coreclr/commit/a12b7af9cf3fd9bfa9e57fb5722d81641ac0d053

7 years agoDisable GC/Scenarios/DoublinkList/doublinkgen (dotnet/coreclr#9063)
Sean Gillespie [Tue, 24 Jan 2017 01:11:15 +0000 (17:11 -0800)]
Disable GC/Scenarios/DoublinkList/doublinkgen (dotnet/coreclr#9063)

* Disable DoublinkGen (see dotnet/coreclr#6574)

* Add test to testsFailingOutsideWindows.txt

Commit migrated from https://github.com/dotnet/coreclr/commit/d8b995b42714f4e83e0ee35a8ff481143cd62994

7 years ago[Local GC] Add three finalization-related operations to GCToEEInterface (dotnet/corec...
Sean Gillespie [Tue, 24 Jan 2017 00:50:51 +0000 (16:50 -0800)]
[Local GC] Add three finalization-related operations to GCToEEInterface (dotnet/coreclr#9029)

* Add three finalization-related operations to GCToEEInterface and utilize them from the GC

* Code review feedback

* Code review feedback

* Fix standalone GC build break

* Repair the standalone GC build

Commit migrated from https://github.com/dotnet/coreclr/commit/ace6d1b728f4041d351cbf05e9356a23305be182

7 years agoAdd a test case for a test optimization
Carol Eidt [Tue, 24 Jan 2017 00:23:29 +0000 (16:23 -0800)]
Add a test case for a test optimization

Commit migrated from https://github.com/dotnet/coreclr/commit/1a0e8a72f50905a564b4efcacd0785cd859c544d

7 years agoMerge pull request dotnet/coreclr#9056 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 24 Jan 2017 00:18:31 +0000 (16:18 -0800)]
Merge pull request dotnet/coreclr#9056 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-24923-06 (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/8305136b93cc017343c028b60ab0aae98825d59f

7 years agoUpdate CoreCLR nuget package versions to 2.0.0
Gaurav Khanna [Mon, 23 Jan 2017 23:39:52 +0000 (15:39 -0800)]
Update CoreCLR nuget package versions to 2.0.0

Commit migrated from https://github.com/dotnet/coreclr/commit/e8284006914d45aceaecea318e8a83ce0f3dc026

7 years agoMerge pull request dotnet/coreclr#9058 from dotnet/redundant_neg
Jan Kotas [Mon, 23 Jan 2017 23:11:50 +0000 (15:11 -0800)]
Merge pull request dotnet/coreclr#9058 from dotnet/redundant_neg

Remove redundant symbols disabled in CoreCLR

Commit migrated from https://github.com/dotnet/coreclr/commit/6fca5f4b27deb845ae793cc887b8d631c5a56271

7 years agoMerge pull request dotnet/coreclr#9059 from omajid/rhel7
Matt Ellis [Mon, 23 Jan 2017 22:58:44 +0000 (14:58 -0800)]
Merge pull request dotnet/coreclr#9059 from omajid/rhel7

Treat RHEL 7.x versions as RHEL 7 when building

Commit migrated from https://github.com/dotnet/coreclr/commit/10145a355dd4b686f3d3694431032d9267eb6591

7 years agoFix the ordering of phases in compphases.h.
Pat Gavlin [Mon, 23 Jan 2017 22:53:11 +0000 (14:53 -0800)]
Fix the ordering of phases in compphases.h.

PHASE_EMPTY_FINALLY and PHASE_CLONE_FINALLY were out-of-order in the
phase list with respect to their execution order, which caused the total
cycle count accounting to report incorrect data. This change places
these phases in the correct position in the phase list.

Commit migrated from https://github.com/dotnet/coreclr/commit/7058af62f27596fa3949e80f6b8ba677efcf9fac

7 years agoMove version increment, add size conditions
Dmitry [Mon, 23 Jan 2017 22:07:40 +0000 (01:07 +0300)]
Move version increment, add size conditions

Move version increment out of the if block.
Add new or modify existing conditions in the Reverse and two Sort methods to skip an operation if the collection size is less than 2.

Commit migrated from https://github.com/dotnet/coreclr/commit/9a4f1619271a92958a1b4ef5e71e89e78fe50861

7 years agoUpdate CoreClr to beta-24923-06
dotnet-bot [Mon, 23 Jan 2017 19:44:01 +0000 (19:44 +0000)]
Update CoreClr to beta-24923-06

Commit migrated from https://github.com/dotnet/coreclr/commit/afca83b444db1527be8c7387d2801b9e73fefab1

7 years agoTreat RHEL 7.x versions as RHEL 7 when building
Omair Majid [Mon, 23 Jan 2017 18:08:08 +0000 (13:08 -0500)]
Treat RHEL 7.x versions as RHEL 7 when building

All RHEL 7.x versions are backwards compatible with each other. A .NET
Core build from 7.2 works fin on RHEL 7.3, for example. Treat this as a
general case and handle all 7.x versions the same.

This change only affects whether packages are built or not.

Commit migrated from https://github.com/dotnet/coreclr/commit/22bf284c53f7f82db40c46e851a3ebafa414c9f1

7 years agoRemove desktop props
danmosemsft [Mon, 23 Jan 2017 19:05:12 +0000 (11:05 -0800)]
Remove desktop props

Commit migrated from https://github.com/dotnet/coreclr/commit/848a9b5163cdb309645ce22482f8dfedfd66cb33

7 years agoRemove disabled FEATURE_APTCA
danmosemsft [Mon, 23 Jan 2017 18:40:54 +0000 (10:40 -0800)]
Remove disabled FEATURE_APTCA

Commit migrated from https://github.com/dotnet/coreclr/commit/d626e924e3d3310a3584ba9f46ae820f28a8656d

7 years agoRemove disabled FEATURE_APPDOMAINMANAGER_INITOPTIONS
danmosemsft [Mon, 23 Jan 2017 18:38:35 +0000 (10:38 -0800)]
Remove disabled FEATURE_APPDOMAINMANAGER_INITOPTIONS

Commit migrated from https://github.com/dotnet/coreclr/commit/a4cc3666fafdd22c83c7b304d0a3ff75d8a8fea0

7 years agoRemove disabled FEATURE_APPX_BINDER
danmosemsft [Mon, 23 Jan 2017 18:36:22 +0000 (10:36 -0800)]
Remove disabled FEATURE_APPX_BINDER

Commit migrated from https://github.com/dotnet/coreclr/commit/88b6f24ab1f1392b6c9de6aff097e8b7ec41f3a1

7 years agoRemove disabled FEATURE_X509_SECURESTRINGS
danmosemsft [Mon, 23 Jan 2017 18:15:34 +0000 (10:15 -0800)]
Remove disabled FEATURE_X509_SECURESTRINGS

Commit migrated from https://github.com/dotnet/coreclr/commit/5c6649f9a9d41bf50cac2938a2fda7e79906faae

7 years agoRemove disabled FEATURE_X509
danmosemsft [Mon, 23 Jan 2017 18:14:02 +0000 (10:14 -0800)]
Remove disabled FEATURE_X509

Commit migrated from https://github.com/dotnet/coreclr/commit/7125fb63446e28d5a21aafebf6bf4c4147003511

7 years agoRemove disabled FEATURE_UNSAFE_CONTRACTS
danmosemsft [Mon, 23 Jan 2017 18:10:54 +0000 (10:10 -0800)]
Remove disabled FEATURE_UNSAFE_CONTRACTS

Commit migrated from https://github.com/dotnet/coreclr/commit/7d379bccf7967275ff6d96d0cca8c0641857bdfd

7 years agoRemove disabled FEATURE_SERIALIZATION
danmosemsft [Mon, 23 Jan 2017 18:08:33 +0000 (10:08 -0800)]
Remove disabled FEATURE_SERIALIZATION

Commit migrated from https://github.com/dotnet/coreclr/commit/f949f3f398319afd216784c87fb99e1f0dd2cb43

7 years agoRemove disabled FEATURE_RWLOCK
danmosemsft [Mon, 23 Jan 2017 18:07:06 +0000 (10:07 -0800)]
Remove disabled FEATURE_RWLOCK

Commit migrated from https://github.com/dotnet/coreclr/commit/5a4752e68cc5769858856f1a96c00c6e10e301c3

7 years agoRemove disabled FEATURE_PLS
danmosemsft [Mon, 23 Jan 2017 18:02:09 +0000 (10:02 -0800)]
Remove disabled FEATURE_PLS

Commit migrated from https://github.com/dotnet/coreclr/commit/5c89c2a3c7eaa0e02506a408d831fef2b7878601

7 years agoRemove disabled FEATURE_NORM_IDNA_ONLY
danmosemsft [Mon, 23 Jan 2017 17:59:09 +0000 (09:59 -0800)]
Remove disabled FEATURE_NORM_IDNA_ONLY

Commit migrated from https://github.com/dotnet/coreclr/commit/c54bd618d0c3415facef49b25913f3747af4c258

7 years agoRemove disabled FEATURE_METHOD_RENTAL
danmosemsft [Mon, 23 Jan 2017 17:57:57 +0000 (09:57 -0800)]
Remove disabled FEATURE_METHOD_RENTAL

Commit migrated from https://github.com/dotnet/coreclr/commit/9aecd9e5cbd057ad45244f6d0de0f2c1b7f49d2d

7 years agoRemove disabled FEATURE_LINK_DEMAND
danmosemsft [Mon, 23 Jan 2017 17:56:51 +0000 (09:56 -0800)]
Remove disabled FEATURE_LINK_DEMAND

Commit migrated from https://github.com/dotnet/coreclr/commit/9aa0569eff73de4f4a06fe10614dda62cc4b7cfd

7 years agoRemove disabled FEATURE_LEGACYSURFACE
danmosemsft [Mon, 23 Jan 2017 17:55:40 +0000 (09:55 -0800)]
Remove disabled FEATURE_LEGACYSURFACE

Commit migrated from https://github.com/dotnet/coreclr/commit/06f140aaa03d3235ca0587ed0b5ad814a959124a

7 years agoRemove disabled FEATURE_LEAK_CULTURE_INFO
danmosemsft [Mon, 23 Jan 2017 17:54:24 +0000 (09:54 -0800)]
Remove disabled FEATURE_LEAK_CULTURE_INFO

Commit migrated from https://github.com/dotnet/coreclr/commit/e5573d3066a436f16b5cd66b75470df05d8ce70a

7 years agoAdd String.Trim overloads that take a single char (dotnet/coreclr#9009)
Justin Van Patten [Mon, 23 Jan 2017 18:29:52 +0000 (13:29 -0500)]
Add String.Trim overloads that take a single char (dotnet/coreclr#9009)

* Add String.Trim overloads that take a single char
* Cleanup uses of string.Trim/TrimEnd

Commit migrated from https://github.com/dotnet/coreclr/commit/fc2448ffa0492774e6ca41ad5ef7b2c085231c87

7 years agoRemove disabled FEATURE_CRYPTO
danmosemsft [Mon, 23 Jan 2017 17:49:13 +0000 (09:49 -0800)]
Remove disabled FEATURE_CRYPTO

Commit migrated from https://github.com/dotnet/coreclr/commit/faa969a2ccbfa0d2cecf9a177747b2149733061e

7 years agoRemove disabled FEATURE_COMPRESSEDSTACK
danmosemsft [Mon, 23 Jan 2017 17:47:29 +0000 (09:47 -0800)]
Remove disabled FEATURE_COMPRESSEDSTACK

Commit migrated from https://github.com/dotnet/coreclr/commit/b863b4af9fc7eb94138c82801674a98d3e679d7f

7 years agoRemove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOST
danmosemsft [Mon, 23 Jan 2017 17:45:52 +0000 (09:45 -0800)]
Remove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOST

Commit migrated from https://github.com/dotnet/coreclr/commit/66673107576ddac749509f044ab788c3dabc77e1

7 years agoRemove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATION
danmosemsft [Mon, 23 Jan 2017 17:43:51 +0000 (09:43 -0800)]
Remove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATION

Commit migrated from https://github.com/dotnet/coreclr/commit/3dc1198e182de928fa55118d9cba33ff91a1602b

7 years agoRemove disabled FEATURE_CODEPAGES_FILE
danmosemsft [Mon, 23 Jan 2017 17:34:23 +0000 (09:34 -0800)]
Remove disabled FEATURE_CODEPAGES_FILE

Commit migrated from https://github.com/dotnet/coreclr/commit/4c81ba582c4e9a9128c917ccb25ecac19824b1f9

7 years agoRemove disabled FEATURE_CASE_SENSITIVE_FILESYSTEM
danmosemsft [Mon, 23 Jan 2017 17:32:26 +0000 (09:32 -0800)]
Remove disabled FEATURE_CASE_SENSITIVE_FILESYSTEM

Commit migrated from https://github.com/dotnet/coreclr/commit/75f6e84c2679760b994b1c26049fdce8387a5300

7 years agoRemove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS
danmosemsft [Mon, 23 Jan 2017 17:31:11 +0000 (09:31 -0800)]
Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS

Commit migrated from https://github.com/dotnet/coreclr/commit/098dc27edf603e0b8a1fee9989dca49ed51c4f8c

7 years agoMerge pull request dotnet/coreclr#9044 from dotnet/redundant_defs
Dan Moseley [Mon, 23 Jan 2017 18:26:40 +0000 (11:26 -0700)]
Merge pull request dotnet/coreclr#9044 from dotnet/redundant_defs

Remove always-defined symbols

Commit migrated from https://github.com/dotnet/coreclr/commit/4c4f4be68e0430ab7feb88eb984c02e5d2cb8f3a

7 years agoAdd simple span benchmarks
Andy Ayers [Fri, 13 Jan 2017 19:58:51 +0000 (11:58 -0800)]
Add simple span benchmarks

Tests performance of span vs array in a few simple scenarios.

Commit migrated from https://github.com/dotnet/coreclr/commit/7e4458b42476e19bbb3679b0829ae8877ae6277f

7 years agoDisable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior change
danmosemsft [Mon, 23 Jan 2017 17:03:41 +0000 (09:03 -0800)]
Disable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior change

Commit migrated from https://github.com/dotnet/coreclr/commit/e6863c29fada8169420f6fd7f280c05ef171098e

7 years agoMerge pull request dotnet/coreclr#9035 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Mon, 23 Jan 2017 16:56:08 +0000 (08:56 -0800)]
Merge pull request dotnet/coreclr#9035 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/b1f5c6acca00ca471818237d698baca317851b1f

7 years agoMerge pull request dotnet/coreclr#8724 from hqueue/arm/ryujit/fpaddconst
Pat Gavlin [Mon, 23 Jan 2017 16:43:59 +0000 (16:43 +0000)]
Merge pull request dotnet/coreclr#8724 from hqueue/arm/ryujit/fpaddconst

[Ryujit/ARM32] Implement const, comparion and intrinsic for floating-point

Commit migrated from https://github.com/dotnet/coreclr/commit/3d681fe6698ee7a94619d1088293546cab1f8e0f

7 years agoRevert "remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib"
danmosemsft [Mon, 23 Jan 2017 16:43:46 +0000 (08:43 -0800)]
Revert "remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib"

This reverts commit dotnet/coreclr@9c6de0b7af3716eea3fc16a91ab8b7c2c92e6e98.

Commit migrated from https://github.com/dotnet/coreclr/commit/25e6c725c74725314f95c3a7dd5ccdaefa912598

7 years agoRemove some Diagnostics.Eventing allocations (dotnet/coreclr#8869)
Ben Adams [Mon, 23 Jan 2017 16:24:21 +0000 (16:24 +0000)]
Remove some Diagnostics.Eventing allocations (dotnet/coreclr#8869)

Remove some closure allocations

escapes string[] to static rather than function alloc

Commit migrated from https://github.com/dotnet/coreclr/commit/54db85f85d6ce97dc4646fad13cb96c354672677