platform/upstream/coreclr.git
7 years agoMerge pull request #9054 from kouvel/SpanGcReporting
Sivarv [Fri, 27 Jan 2017 03:23:26 +0000 (19:23 -0800)]
Merge pull request #9054 from kouvel/SpanGcReporting

Fix GC info for `ByReference<T>`

7 years agoMerge pull request #9123 from CarolEidt/FixCoreFx15309
Carol Eidt [Fri, 27 Jan 2017 01:54:31 +0000 (17:54 -0800)]
Merge pull request #9123 from CarolEidt/FixCoreFx15309

Fix SIMD field issues

7 years agoPAL Tests: Centralize common code (#9151)
Frederik Carlier [Fri, 27 Jan 2017 01:11:40 +0000 (02:11 +0100)]
PAL Tests: Centralize common code (#9151)

Create a single COMMON_TEST_LIBRARIES variable which contains all libraries
with which the tests link.

7 years agoMerge pull request #9157 from dotnet-bot/from-tfs
Brian Sullivan [Fri, 27 Jan 2017 01:08:58 +0000 (17:08 -0800)]
Merge pull request #9157 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoMerge pull request #9155 from dotnet/revert-9152-SpeedUpSync
William Godbe [Fri, 27 Jan 2017 00:55:03 +0000 (16:55 -0800)]
Merge pull request #9155 from dotnet/revert-9152-SpeedUpSync

Revert "Speed up test native binary syncing in pipeline"

7 years agoRevert "Speed up test native binary syncing in pipeline"
William Godbe [Fri, 27 Jan 2017 00:54:39 +0000 (16:54 -0800)]
Revert "Speed up test native binary syncing in pipeline"

7 years agoMerge pull request #9152 from wtgodbe/SpeedUpSync
William Godbe [Fri, 27 Jan 2017 00:54:10 +0000 (16:54 -0800)]
Merge pull request #9152 from wtgodbe/SpeedUpSync

Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9153 from adityamandaleeka/jitdisasm_fix
Aditya Mandaleeka [Fri, 27 Jan 2017 00:53:54 +0000 (16:53 -0800)]
Merge pull request #9153 from adityamandaleeka/jitdisasm_fix

Fix another JIT-disasm check

7 years agoMerge pull request #9141 from pgavlin/RemoveDeadCode
Pat Gavlin [Thu, 26 Jan 2017 23:22:02 +0000 (15:22 -0800)]
Merge pull request #9141 from pgavlin/RemoveDeadCode

Remove dead code in the JIT.

7 years agoDon't require write barrier for assignment to ByRef
Koundinya Veluri [Thu, 26 Jan 2017 22:21:03 +0000 (14:21 -0800)]
Don't require write barrier for assignment to ByRef

The legacy code gen was hitting an assert when trying to use a write barrier for ByRef to ByRef assignment. RyuJIT is also generating an unnecessary write barrier but the assert is not there. As ByRefs are never in GC locations, don't require a write barrier.

7 years agoFix another JIT-disasm check.
Aditya Mandaleeka [Thu, 26 Jan 2017 22:53:54 +0000 (14:53 -0800)]
Fix another JIT-disasm check.

7 years ago[GDB-JIT][Linux] Fix incorrect DWARF offset for primitive types with typedef node...
Evgeny Pavlov [Thu, 26 Jan 2017 22:52:31 +0000 (01:52 +0300)]
[GDB-JIT][Linux] Fix incorrect DWARF offset for primitive types with typedef node (char, byte and sbyte) (#9106)

7 years agoClean up PAL functions (#9149)
Frederik Carlier [Thu, 26 Jan 2017 22:35:37 +0000 (23:35 +0100)]
Clean up PAL functions (#9149)

Clean up PAL functions to enable cross-compiling for Android
* Rename wcsnlen to PAL_wcsnlen, avoids a name collision on Android
* Remove unuwed _getw and _putw functions

7 years agoSpeed up test native binary syncing in pipeline
wtgodbe [Thu, 26 Jan 2017 22:01:18 +0000 (14:01 -0800)]
Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9142 from AndyAyersMS/FixAsserts
Andy Ayers [Thu, 26 Jan 2017 21:18:55 +0000 (13:18 -0800)]
Merge pull request #9142 from AndyAyersMS/FixAsserts

JIT: fix some bad asserts

7 years agoMerge pull request #9129 from RussKeldorph/defineenum
Russ Keldorph [Thu, 26 Jan 2017 21:01:52 +0000 (13:01 -0800)]
Merge pull request #9129 from RussKeldorph/defineenum

Disable assertions in ModuleBuilder.DefineEnum

7 years agoFix encoding of native signatures in the presence of Enum.GetHashCode optimization...
Jan Kotas [Thu, 26 Jan 2017 20:41:45 +0000 (12:41 -0800)]
Fix encoding of native signatures in the presence of Enum.GetHashCode optimization (#9138)

Fixes #9118

7 years agoFix CodeGenMirror build break due to 347243f80d62d5aaa5359ef8c8d. This includes the...
dotnet-bot [Thu, 26 Jan 2017 18:51:17 +0000 (10:51 -0800)]
Fix CodeGenMirror build break due to 347243f80d62d5aaa5359ef8c8d. This includes the new file unwindx86.cpp to be compiled.

[tfs-changeset: 1645771]

7 years agoJIT: fix some bad asserts
Andy Ayers [Thu, 26 Jan 2017 18:48:35 +0000 (10:48 -0800)]
JIT: fix some bad asserts

Fix a few asserts that use = instead of ==.

7 years agoRemove dead code in the JIT.
Pat Gavlin [Thu, 26 Jan 2017 18:35:03 +0000 (10:35 -0800)]
Remove dead code in the JIT.

All code under `LONG_ASG_OPS` and `FANCY_ARRAY_OPT` is statically dead
(these symbols are never defined as anything besides 0). This change
removes this cruft.

7 years agoMerge pull request #9132 from BruceForstall/FixBuildTest
Bruce Forstall [Thu, 26 Jan 2017 18:32:20 +0000 (10:32 -0800)]
Merge pull request #9132 from BruceForstall/FixBuildTest

Fix build-test.cmd

7 years agoMerge pull request #9125 from BruceForstall/ImproveAddrModeJitDump
Bruce Forstall [Thu, 26 Jan 2017 18:16:32 +0000 (10:16 -0800)]
Merge pull request #9125 from BruceForstall/ImproveAddrModeJitDump

Improve address mode detection JitDumps

7 years agoMerge pull request #9126 from BruceForstall/CleanUnusedTailcallNodes
Bruce Forstall [Thu, 26 Jan 2017 18:16:08 +0000 (10:16 -0800)]
Merge pull request #9126 from BruceForstall/CleanUnusedTailcallNodes

Clean up unused tailcall via helper nodes

7 years agoMerge pull request #9133 from BruceForstall/ImproveSimdTests
Bruce Forstall [Thu, 26 Jan 2017 18:14:55 +0000 (10:14 -0800)]
Merge pull request #9133 from BruceForstall/ImproveSimdTests

Improve SIMD tests

7 years agoMerge pull request #9120 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 26 Jan 2017 16:32:50 +0000 (08:32 -0800)]
Merge pull request #9120 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24925-08, beta-24926-02, respectively (master)

7 years agoUpdate CoreClr, CoreFx to beta-24925-08, beta-24926-02, respectively
dotnet-bot [Thu, 26 Jan 2017 15:15:11 +0000 (15:15 +0000)]
Update CoreClr, CoreFx to beta-24925-08, beta-24926-02, respectively

7 years agoExtract GetStackParameterSize from ESPIncrOnReturn (#9135)
Jonghyun Park [Thu, 26 Jan 2017 14:13:23 +0000 (23:13 +0900)]
Extract GetStackParameterSize from ESPIncrOnReturn (#9135)

7 years agoShow register name in UPDATEREG log (#9134)
Jonghyun Park [Thu, 26 Jan 2017 14:10:59 +0000 (23:10 +0900)]
Show register name in UPDATEREG log (#9134)

7 years agoImplement PAL_ProbeMemory with write/read to pipe (issue #4094) (#9122)
Mike McLaughlin [Thu, 26 Jan 2017 14:07:00 +0000 (06:07 -0800)]
Implement PAL_ProbeMemory with write/read to pipe (issue #4094) (#9122)

The recommended way to validate/probe memory on Linux/xplat is to use the write/read file apis to a pipe instead
of the hacky fragile hardware exception catching based probing we have now.

This builds on previous cleanup work in the master branch that removed the PAL Read/WriteProcessMemory
functions and added/replaced them with PAL_ProbeMemory. The DbgTransportSession::CheckBufferAccess that
issue mentions was also replaced.

7 years agoMerge pull request #9114 from erozenfeld/SecurityPermissionAttribute
Eugene Rozenfeld [Thu, 26 Jan 2017 06:08:24 +0000 (22:08 -0800)]
Merge pull request #9114 from erozenfeld/SecurityPermissionAttribute

Remove System.Security.Permissions.SecurityPermissionAttribute from System.Private.CoreLib.

7 years agoMerge pull request #9124 from BruceForstall/FixSimdDetection
Bruce Forstall [Thu, 26 Jan 2017 05:48:36 +0000 (21:48 -0800)]
Merge pull request #9124 from BruceForstall/FixSimdDetection

Fix non-deterministic AVX2 detection

7 years agoReduce number of branches and IL size of string.Trim methods (#9115)
Justin Van Patten [Thu, 26 Jan 2017 05:30:02 +0000 (21:30 -0800)]
Reduce number of branches and IL size of string.Trim methods (#9115)

7 years agoFix GC info for `ByReference<T>`
Koundinya Veluri [Mon, 23 Jan 2017 07:14:09 +0000 (23:14 -0800)]
Fix GC info for `ByReference<T>`

When `ByRefernece<T>` is directly on the stack, not inside a `Span<T>`, ComputeGCLayout was missing to include in the GC info. This was causing many span tests to fail in GCStress=c mode.

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.

7 years agoFix build-test.cmd
Bruce Forstall [Thu, 26 Jan 2017 02:25:11 +0000 (18:25 -0800)]
Fix build-test.cmd

Move set of __TestWorkingDir so it is available even when
__BuildAgainstPackages is not defined.

7 years agoDisable assertions in ModuleBuilder.DefineEnum
Russ Keldorph [Thu, 26 Jan 2017 01:47:55 +0000 (17:47 -0800)]
Disable assertions in ModuleBuilder.DefineEnum

The assertions fire when the enum name contains embedded null characters,
and we don't want to take a breaking change to fix that.

Fixes #7669

7 years agoFix SIMD field issues
Carol Eidt [Thu, 26 Jan 2017 00:18:56 +0000 (16:18 -0800)]
Fix SIMD field issues

First, when a GT_FIELD is transformed to a GT_IND, if its GTF_FLD_NULLCHECK flag is set, it must be cleared. Having this set leads to assertions or worse in value numbering. It is not entirely clear why this is only causing issues for SIMD fields.

Second, when a SIMD assignment is re-morphed, the dest may have already been changed to a GT_IND, in which case no further morphing is required (it is already a simple assignment).

7 years agoRemove System.Security.Permissions.SecurityPermissionAttribute from System.Private...
Eugene Rozenfeld [Wed, 25 Jan 2017 19:09:57 +0000 (11:09 -0800)]
Remove System.Security.Permissions.SecurityPermissionAttribute from System.Private.CoreLib.

When compiling with /unsafe+ Roslyn emits
  .permissionset reqmin
             = {class 'System.Security.Permissions.SecurityPermissionAttribute, System.Private.CoreLib,
             Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' =
             {property bool 'SkipVerification' = bool(true)}}
if System.Security.Permissions.SecurityPermissionAttribute is present.

In particular, System.Private.CoreLib.dll is compiled with /unsafe+ and has the above in the manifest.

https://github.com/dotnet/coreclr/commit/e516211b2d3a3ae2dbd80f2c94b129910a9e280d
made BclRewriter remove System.Security.Permissions.SecurityPermissionAttribute
from System.Private.CoreLib.dll but the above reference remained.

This change removes System.Security.Permissions.SecurityPermissionAttribute completely
to avoid confusion when tools are analyzing msil and try to resolve the manifest
of System.Private.CoreLib.dll.

7 years agoClean up unused tailcall via helper nodes
Bruce Forstall [Fri, 13 Jan 2017 07:28:51 +0000 (23:28 -0800)]
Clean up unused tailcall via helper nodes

For x86 tailcall via helper, delete the unused placeholder target
location nodes when they are replaced.

7 years agoImprove address mode detection JitDumps
Bruce Forstall [Thu, 26 Jan 2017 00:23:55 +0000 (16:23 -0800)]
Improve address mode detection JitDumps

7 years agoFix `Span<T>` GCStress issue on x86 (#9116)
Koundinya Veluri [Thu, 26 Jan 2017 00:28:52 +0000 (16:28 -0800)]
Fix `Span<T>` GCStress issue on x86 (#9116)

x86 by default treats the type of `ByReference<T>` as the actual type of its IntPtr field as an optimization. `ByReference<T>` is a special case where the struct needs to be treated as a value type so that its field can be considered as a by-ref pointer. This fixes `GCStress=f` issues on span tests on x86.

7 years agoFix non-deterministic AVX2 detection
Bruce Forstall [Wed, 11 Jan 2017 06:38:57 +0000 (22:38 -0800)]
Fix non-deterministic AVX2 detection

The caller required ECX to be zero when calling CPUID, but wasn't calling
the getextcpuid() function to cause that to happen.

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

* Introduce REGDISPLAY_BASE

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

Fix CoreFX Binary copying in netci.groovy

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

7 years agoThis will stop building frankenjit.dll for x86.
dotnet-bot [Wed, 25 Jan 2017 23:12:29 +0000 (15:12 -0800)]
This will stop building frankenjit.dll for x86.

[tfs-changeset: 1645686]

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

Fix x86compatjit and x86lb legs

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

Reintroduce building Core_Root to runtest.cmd

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

Always use release folder for CoreFxBinDir

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.

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

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

Fix arg parsing for buildagainstpackages argument

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

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

Update isUsedFromMemory to include CNS_DBLs

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.

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

Fix race condition in Task.WhenAny

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

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

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

Revert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"

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

[Ryujit/ARM32] Implement GT_INTRINSIC_Sqrt for floating point type

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"

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"

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

Fix Ubuntu Perf Runs

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.

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

Add BenchmarkGames revcomp benchmark

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

Add logging for jumpsStubs and ClrVirtualAllocWithinRange

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

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

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

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

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.

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.

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

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

Fix the ordering of phases in compphases.h.

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

Add support for running CoreCLR Tests in Helix

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

Fix arm64 build break

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

* ASCII Encoding fast-path

* Add skipp for BIGENDIAN

* fixes

* ascii  GetBytes(char[] chars) fix

* feedback

* Clean up

* Reuse exception block

* Add debug Asserts

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

Add version increment into Sort(Comparison<T>)

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

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

Update CoreCLR nuget package versions to 2.0.0

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

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

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

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

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

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

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

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

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>
7 years ago[x86/Linux] Fix EH Region Mismatch (#9043)
Jonghyun Park [Tue, 24 Jan 2017 12:39:37 +0000 (21:39 +0900)]
[x86/Linux] Fix EH Region Mismatch (#9043)

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

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>
7 years agoClean up #else in EECodeManager::FixContext (#9048)
Jonghyun Park [Tue, 24 Jan 2017 09:36:30 +0000 (18:36 +0900)]
Clean up #else in EECodeManager::FixContext (#9048)

* Clean up #else in EECodeManager::FixContext

* Remove FixContext decl from EECodeManager

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

* Hide LeaveFinally/LeaveCatch when WIN64EXCEPTION is defined

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

Fix GenTree hash function for commutative operators

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

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

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

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

* Rename Esp in x86 REGDISPLAY as SP

* Fix x86/Windows build error

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

Refactor TreeNodeInfoInitCmp

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

Add a test case for a test optimization

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

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

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

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

Add a simple span benchmark

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 (#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.