platform/upstream/coreclr.git
7 years agoSplit OrdinalIgnoreCaseComparer from OrdinalComparer
Stephen Toub [Thu, 23 Feb 2017 14:28:30 +0000 (09:28 -0500)]
Split OrdinalIgnoreCaseComparer from OrdinalComparer

They're both used very frequently, and we can eliminate the branches on checking _ignoreCase from every operation.

7 years agoReject byref-like object in FormatterServices.GetUninitializedObject (#9754)
Jan Kotas [Fri, 24 Feb 2017 02:51:03 +0000 (18:51 -0800)]
Reject byref-like object in FormatterServices.GetUninitializedObject (#9754)

Fixes #9739

7 years ago[x86/Linux] Enable FEATURE_ARRAYSTUB_AS_IL (#9752)
Jonghyun Park [Fri, 24 Feb 2017 02:01:10 +0000 (11:01 +0900)]
[x86/Linux] Enable FEATURE_ARRAYSTUB_AS_IL (#9752)

* [x86/Linux] Enable FEATURE_ARRAYSTUB_AS_IL
* Move FeatureStubsAsIL into Windows-specific block

7 years agoMerge pull request #9681 from mskvortsov/ryujit-arm32-reload
Bruce Forstall [Fri, 24 Feb 2017 01:03:58 +0000 (17:03 -0800)]
Merge pull request #9681 from mskvortsov/ryujit-arm32-reload

[RyuJIT/ARM32] Fix helper kill mask and call target consuming

7 years agoUse GetSystemTimePreciseAsFileTime if available in DateTime.UtcNow (#9736)
Stephen Toub [Fri, 24 Feb 2017 00:43:58 +0000 (19:43 -0500)]
Use GetSystemTimePreciseAsFileTime if available in DateTime.UtcNow (#9736)

7 years agoMerge pull request #9717 from tannergooding/math-intrinsics2
Tanner Gooding [Fri, 24 Feb 2017 00:36:20 +0000 (16:36 -0800)]
Merge pull request #9717 from tannergooding/math-intrinsics2

Updating codegenxarch to support single-precision CORINFO_INTRINSIC_Sqrt

7 years agoMerge pull request #9742 from sivarv/singleField
Sivarv [Fri, 24 Feb 2017 00:08:41 +0000 (16:08 -0800)]
Merge pull request #9742 from sivarv/singleField

Enable promotion of structs containing fields of structs with a single pointer-sized scalar type field.

7 years agoMerge pull request #9748 from AndyAyersMS/FixJitTestDir
Andy Ayers [Fri, 24 Feb 2017 00:08:23 +0000 (16:08 -0800)]
Merge pull request #9748 from AndyAyersMS/FixJitTestDir

Move jit tests to directory with proper casing

7 years agoMerge pull request #9726 from alexperovich/codeFormat
Alex Perovich [Thu, 23 Feb 2017 23:20:04 +0000 (17:20 -0600)]
Merge pull request #9726 from alexperovich/codeFormat

Run dotnet/codeformatter on S.P.CoreLib sources.

7 years agoAdd jit test project checker as jit test (#9721)
Andy Ayers [Thu, 23 Feb 2017 22:53:00 +0000 (14:53 -0800)]
Add jit test project checker as jit test (#9721)

Add the tool used to fix/repair projects as a test case. It will
fail with an error code if any project file in the jit test subtree
needs fixing.

This test requires CORE_ROOT to point at the test overlay and
that directory be rooted under the repo (other test cases already
have similar requirements).

CodeGenBringUp tests are noted as needing fixes, but are accounted
for under the category of "deferred fixes".

7 years agoJIT: defer setting outgoing args size until after optimization (#9683)
Andy Ayers [Thu, 23 Feb 2017 22:52:10 +0000 (14:52 -0800)]
JIT: defer setting outgoing args size until after optimization (#9683)

For fixed out args ABIs, the jit currently computes the size of the
out arg area during morph, as it encounters calls that must pass arguments
via the stack.

Subsequently, the optimizer may delete calls, either because they are
pure and the results are unused, or because they are conditional and the
guarding predicates are resolved by the optimizer in such a way that
the call is no longer reachable.

In particular if all the calls seen by morph are subsequently removed by
the optimizer, the jit may generate a stack frame that it never uses and
doesn't need. If only some calls are removed then the stack frame may end
up larger than necessary.

One motivating example is the inlining of a shared generic method that
ignores its generic context parameter. The caller typically must invoke a pure
helper to determine the proper argument to pass. Post inline the call's result
is unused, and the helper call is deleted by the optimizer.

This change defers the outgoing arg size computation until fgSimpleLowering,
which runs after optimization. The code in morph now simply records the
needed size for each call in the associated fgArgInfo.

As before, the outgoing arg size computation ignores fast tail calls, since
they can use the caller-supplied scratch area for memory arguments.

The jit may introduce helper calls after optimization which could seemingly
invalidate the out args area size. The presumption here is that these calls
are carefully designed not to use the caller-supplied scratch area. The
current code makes the same assumption.

This change introduces some unanticipated diffs. Optcse estimates the
frame size to decide how aggressive it should be about cses of local
variable references. This size estimate included the out args area, which
appears to be something of an oversight; there are no cse opportunities
in this area and the offsets of the other local variables are not impacted
by the size of this area. With this change the out args area size is seen
as zero during optimization and so the cse strategy for a method may be
different.

7 years agoMerge pull request #9582 from pgavlin/vzeroupper_x86_epilog
Pat Gavlin [Thu, 23 Feb 2017 22:20:45 +0000 (14:20 -0800)]
Merge pull request #9582 from pgavlin/vzeroupper_x86_epilog

Do not report FP restores in x86 epilogs.

7 years agoMerge pull request #9454 from mikedn/cgtun-to-cne
Brian Sullivan [Thu, 23 Feb 2017 21:56:09 +0000 (13:56 -0800)]
Merge pull request #9454 from mikedn/cgtun-to-cne

Morph (x GT_GT.unsigned 0) into (x GT_NE 0)

7 years agoMove jit tests to directory with proper casing
Andy Ayers [Thu, 23 Feb 2017 21:46:20 +0000 (13:46 -0800)]
Move jit tests to directory with proper casing

Closes #9747.

7 years agoRun codeformatter on S.P.CoreLib sources
Alex Perovich [Wed, 22 Feb 2017 23:23:44 +0000 (15:23 -0800)]
Run codeformatter on S.P.CoreLib sources

7 years agoManual change to make codeformatter work
Alex Perovich [Wed, 22 Feb 2017 23:23:25 +0000 (15:23 -0800)]
Manual change to make codeformatter work

7 years agoEnable promotion of structs containing fields of structs with a single pointer-sized...
sivarv [Thu, 23 Feb 2017 18:59:28 +0000 (10:59 -0800)]
Enable promotion of structs containing fields of structs with a single pointer-sized scalar type field.

7 years agoMerge pull request #9743 from weshaggard/UpdateUsingYourBuildDocs
Wes Haggard [Thu, 23 Feb 2017 21:23:53 +0000 (13:23 -0800)]
Merge pull request #9743 from weshaggard/UpdateUsingYourBuildDocs

Update UsingYourBuildDocs to use .NET Core 2.0 SDK

7 years agoUpdate UsingYourBuild docs to use .NET Core 2.0 SDK
Wes Haggard [Thu, 23 Feb 2017 19:13:59 +0000 (11:13 -0800)]
Update UsingYourBuild docs to use .NET Core 2.0 SDK

7 years agoMerge pull request #9741 from brianrob/issue-9733
Brian Robbins [Thu, 23 Feb 2017 20:12:00 +0000 (12:12 -0800)]
Merge pull request #9741 from brianrob/issue-9733

Disable Test Broken By CoreFX PR # 15767

7 years agoMerge pull request #9655 from sdmaclea/PR-ARM64-JITGC-WIP3
Brian Sullivan [Thu, 23 Feb 2017 19:22:03 +0000 (11:22 -0800)]
Merge pull request #9655 from sdmaclea/PR-ARM64-JITGC-WIP3

[Arm64] Correct CORINFO_HELP_ASSIGN_BYREF killed mask

7 years agoFormat code.
Pat Gavlin [Thu, 23 Feb 2017 18:48:25 +0000 (10:48 -0800)]
Format code.

7 years agoAddress PR feedback.
Pat Gavlin [Thu, 23 Feb 2017 18:39:10 +0000 (10:39 -0800)]
Address PR feedback.

7 years agoDisable broken tests.
Brian Robbins [Thu, 23 Feb 2017 18:27:58 +0000 (10:27 -0800)]
Disable broken tests.

7 years agoMerge pull request #9727 from BruceForstall/DontBuildJitLib
Bruce Forstall [Thu, 23 Feb 2017 17:26:55 +0000 (09:26 -0800)]
Merge pull request #9727 from BruceForstall/DontBuildJitLib

Speed up JIT builds

7 years agoSimplified MinOpts GC ref tracking. (#9231)
Peter Kukol [Thu, 23 Feb 2017 16:13:34 +0000 (09:13 -0700)]
Simplified MinOpts GC ref tracking. (#9231)

Simplified MinOpts GC ref tracking - when a method is compiled with MinOpts for targets with the 64-bit GC info encoder we mark all GC slots as untracked and we omit encoding call sites with no live tracked GC refs explicitly in the GC tables; this can be controlled using the new COMPlus_JitMinOptsTrackGCrefs environment flag.

7 years agoAndroid: workaround absence of getcontext/setcontext (#9725)
Frederik Carlier [Thu, 23 Feb 2017 10:09:24 +0000 (02:09 -0800)]
Android: workaround absence of getcontext/setcontext (#9725)

* Android: workaround absence of getcontext/setcontext
use RtlCaptureContext and RtlRestoreContext

7 years agoRyuJIT/ARM32: Fix helper kill mask and call target consuming
Mikhail Skvortcov [Mon, 20 Feb 2017 14:56:54 +0000 (17:56 +0300)]
RyuJIT/ARM32: Fix helper kill mask and call target consuming

7 years agoReduce code in SafeHandleAddRef (#9724)
Stephen Toub [Thu, 23 Feb 2017 07:22:43 +0000 (02:22 -0500)]
Reduce code in SafeHandleAddRef (#9724)

If DangerousAddRef returns rather than throws, its argument will be true, so there's no need to branch on it.

7 years agoPorting the CoreMangLib/cti/system/math tests to CoreMangLib/cti/system/mathf
Tanner Gooding [Thu, 23 Feb 2017 03:07:32 +0000 (19:07 -0800)]
Porting the CoreMangLib/cti/system/math tests to CoreMangLib/cti/system/mathf

7 years agoFaster List Add (#9539)
Ben Adams [Thu, 23 Feb 2017 03:15:57 +0000 (03:15 +0000)]
Faster List Add (#9539)

7 years ago[Arm64] Fix genCodeForCpObj()
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Wed, 22 Feb 2017 22:11:45 +0000 (22:11 +0000)]
[Arm64] Fix genCodeForCpObj()

CORINFO_HELP_ASSIGN_BYREF is the functional equivalent to

   *dst = *src;
   ++dst;
   ++src;

Note: Description ignores barriers.

Since src and dst are incremented the registers are marked dead.

In genCodeForCpObj(), the incremented values are will be reused
and therefore must be treated as live.  Add code to explicitly
force them live for this use case.

7 years agoUpdating codegenxarch to support single-precision CORINFO_INTRINSIC_Sqrt
Tanner Gooding [Mon, 6 Feb 2017 01:58:28 +0000 (01:58 +0000)]
Updating codegenxarch to support single-precision CORINFO_INTRINSIC_Sqrt

7 years agoMerge pull request #9363 from tannergooding/math-intrinsics
Tanner Gooding [Thu, 23 Feb 2017 01:36:12 +0000 (17:36 -0800)]
Merge pull request #9363 from tannergooding/math-intrinsics

Updating jit/valuenum to properly handle the single-precision versions of the math intrinsics.

7 years agoDo not report FP restores in x86 epilogs.
Pat Gavlin [Wed, 22 Feb 2017 19:05:25 +0000 (11:05 -0800)]
Do not report FP restores in x86 epilogs.

The x86 unwinder neither needs nor expects to see these restores (which
right now consist solely of a `vzeroupper` instruction that is emitted
to eliminate AVX <-> SSE transition penalties), which was causing unwind
failures under GC stress. This change stops reporting these restores as
part of a function epilog.

Fixes #9452.

7 years agoSpeed up JIT builds
Bruce Forstall [Wed, 22 Feb 2017 23:43:18 +0000 (15:43 -0800)]
Speed up JIT builds

We don't need to build the static lib and crossgen static lib
versions of the JIT unless FEATURE_MERGE_JIT_AND_ENGINE is set.
And, since we currently don't set it, this means doing two
fewer JIT builds.

7 years agoMerge pull request #9654 from sdmaclea/PR-ARM64-JITGC-WIP2
Jarret Shook [Wed, 22 Feb 2017 23:30:14 +0000 (15:30 -0800)]
Merge pull request #9654 from sdmaclea/PR-ARM64-JITGC-WIP2

[WIP] [Arm64] Fix GC liveness for CodeGen::genPutArgStk()

7 years agoMerge pull request #9653 from sdmaclea/PR-ARM64-JITGC-WIP1
Jarret Shook [Wed, 22 Feb 2017 23:30:03 +0000 (15:30 -0800)]
Merge pull request #9653 from sdmaclea/PR-ARM64-JITGC-WIP1

[WIP] [Arm64] Fix GC hole in CodeGen::genCodeForCpObj()

7 years agoImprove stack overflow reporting (#9650)
Jan Vorlicek [Wed, 22 Feb 2017 22:18:01 +0000 (23:18 +0100)]
Improve stack overflow reporting (#9650)

* Improve stack overflow reporting

This change modifies the SIGSEGV handling to use an alternate stack so that
we can safely detect and report stack overflow even in case when we are
really out of stack. Before, we were able to detect stack overflow and report
it only when JIT inserted stack probes (for functions with frames larger than
4kB) and so there was still space on the stack to run the sigsegv handler.
It brings in some additional complexity, since we need to switch to the original
stack of the thread once we figure out the sigsegv is not a stack overflow and
if we return from the hardware exception handler, we need to switch back to the
alternate stack before returning from the sigsegv handler.
Also, the alternate stack is created per thread and so we need to correctly destroy
it when a thread terminates and also install it on foreign threads that enter PAL.
This also requires creating fake stack frames to enable the libunwind to walk
the stack from the exception handler to the sigsegv location.

* Fix stack unwinding in CallDescrWorkerInternal

While testing the change to enable stack overflow handling, I've noticed that
the PROLOG_SAVE_REG_PAIR and PROLOG_SAVE_REG_PAIR_INDEXED macros are missing
.cfi_def_cfa_register fp. That resulted in inability to unwind through the
CallDescrWorkerInternal, since this function dynamically allocates stack slots
and so the default sp based frame doesn't work.

7 years agoCMake configuration for cross building for Android (#9174)
Frederik Carlier [Wed, 22 Feb 2017 22:17:01 +0000 (14:17 -0800)]
CMake configuration for cross building for Android (#9174)

* Configuration files for cross building for Android arm64

* Simplify toolchain script

* Fix trymake values for Android

7 years agoMerge pull request #9712 from AndyAyersMS/FixSomeTestProjFiles
Andy Ayers [Wed, 22 Feb 2017 20:20:08 +0000 (12:20 -0800)]
Merge pull request #9712 from AndyAyersMS/FixSomeTestProjFiles

Fix jit test projects to specify debug type and optimization flags

7 years agoAdd test coverage for ldtoken with members (#9713)
Michal Strehovský [Wed, 22 Feb 2017 20:04:37 +0000 (12:04 -0800)]
Add test coverage for ldtoken with members (#9713)

The test coverage for `ldtoken field X` and `ldtoken method X` in the
repo is very small - this test tries to improve things a little.

In particular, it tests that we get the right reflection objects, and
that we can do this from shared and unshared code.

7 years agoMerge pull request #9714 from BruceForstall/FixRegMasks
Bruce Forstall [Wed, 22 Feb 2017 19:29:58 +0000 (11:29 -0800)]
Merge pull request #9714 from BruceForstall/FixRegMasks

Fix non-Windows amd64 register mask initialization

7 years agoMerge pull request #9702 from adiaaida/fixX86PerfTesting
Michelle McDaniel [Wed, 22 Feb 2017 19:00:39 +0000 (11:00 -0800)]
Merge pull request #9702 from adiaaida/fixX86PerfTesting

Fix x86 perf testing

7 years ago[Arm64] Fix GC hole in CodeGen::genCodeForCpObj()
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 3 Feb 2017 01:01:46 +0000 (01:01 +0000)]
[Arm64] Fix GC hole in CodeGen::genCodeForCpObj()

Update tempreg liveness

7 years ago[Arm64] Fix GC liveness for CodeGen::genPutArgStk()
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 3 Feb 2017 22:24:07 +0000 (22:24 +0000)]
[Arm64] Fix GC liveness for CodeGen::genPutArgStk()

7 years agoUpdating ValueNumStore to no longer upcast float to double when performing evaluations.
Tanner Gooding [Wed, 22 Feb 2017 15:25:26 +0000 (07:25 -0800)]
Updating ValueNumStore to no longer upcast float to double when performing evaluations.

7 years agoSeparate Comparer and EqualityComparer creation logic into a non-generic class (...
James Ko [Wed, 22 Feb 2017 18:01:40 +0000 (13:01 -0500)]
Separate Comparer and EqualityComparer creation logic into a non-generic class (#9640)

7 years agoFix projects that specified DebugType incorrectly
Andy Ayers [Wed, 22 Feb 2017 17:31:14 +0000 (09:31 -0800)]
Fix projects that specified DebugType incorrectly

Make conditional DebugType properties uncondtional. Fix debug type
and optimize settings for _d and _do suffixed tests. Remove conditional
DebugType propery if there is also an unconditonal property.

7 years agoMerge pull request #9704 from pgavlin/corefx15913
Pat Gavlin [Wed, 22 Feb 2017 17:29:58 +0000 (09:29 -0800)]
Merge pull request #9704 from pgavlin/corefx15913

Correctly pass 12-byte GT_SIMD nodes on x86.

7 years agoMerge pull request #9660 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Wed, 22 Feb 2017 16:58:43 +0000 (08:58 -0800)]
Merge pull request #9660 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25021-03, beta-25022-02, respectively (master)

7 years agoUpdate CoreClr, CoreFx to beta-25021-03, beta-25022-02, respectively
dotnet-bot [Wed, 22 Feb 2017 15:16:14 +0000 (15:16 +0000)]
Update CoreClr, CoreFx to beta-25021-03, beta-25022-02, respectively

7 years agoClean up ClrUnwindEx (#9482)
Jonghyun Park [Wed, 22 Feb 2017 14:43:30 +0000 (23:43 +0900)]
Clean up ClrUnwindEx (#9482)

* Clean up ClrUnwindEx

7 years agoDropping some unnecessary conditional statements in jit\valuenum.cpp
Tanner Gooding [Wed, 22 Feb 2017 14:09:37 +0000 (06:09 -0800)]
Dropping some unnecessary conditional statements in jit\valuenum.cpp

7 years agoUpdating jit/valuenum to properly handle the single-precision versions of the math...
Tanner Gooding [Mon, 6 Feb 2017 06:44:14 +0000 (06:44 +0000)]
Updating jit/valuenum to properly handle the single-precision versions of the math intrinsics.

7 years agoFix non-Windows amd64 register mask initialization
Bruce Forstall [Wed, 22 Feb 2017 01:06:46 +0000 (17:06 -0800)]
Fix non-Windows amd64 register mask initialization

The arrays were being initialized with register numbers, not
register masks. The arrays are only used on non-Windows amd64
for homing circular incoming argument conflicts. Perhaps we
never saw this happen?

7 years agoFix jit test projects to specify debug type and optimization flags
Andy Ayers [Wed, 22 Feb 2017 02:13:25 +0000 (18:13 -0800)]
Fix jit test projects to specify debug type and optimization flags

This partially addresses the issues raised in #4124 and #4724 by explicitly
and unconditionally setting DebugType and Optimize flags for various test
project files.

The projects that were fixed are those that did not specify any debug
flag settings at all.  The fix is to set DebugType to PdbOnly and to set
Optimization to true, unless the test has an _r or _rel suffix, in which
case Optimization is set false.

This impacts 1497 projects, skipping over 311 projects flagged as needing
fixes. The projects that remain are the CodeGenBringUp set (for which we plan
to clone projects to test the various flag combinations), projects that
specify flags but do so in ways where the effective flag settings may vary
from DBG to RET, projects that specify the flags redundantly, or projects
where the flags are not consistent with the "test case name suffix" rules.

The edits were done by a tool using linq-to-xml and so some incidental
reformatting has happened.

7 years agoFix x86 perf testing
Michelle McDaniel [Tue, 21 Feb 2017 19:35:04 +0000 (11:35 -0800)]
Fix x86 perf testing

We did not use a different architecture in run-xunit-perf.cmd, so all the
x86 runs were uploading to the same architecture. This change fixes it so
x86jit32 runs upload to their own architecture. Also fixes the delayed
expansion issue for testenv.

7 years agoUse CORINFO_CALLCONV to check for unmanaged calls (#9697)
Michal Strehovský [Wed, 22 Feb 2017 00:37:04 +0000 (16:37 -0800)]
Use CORINFO_CALLCONV to check for unmanaged calls (#9697)

`GTF_CALL_UNMANAGED` is a member of the wrong enum and it's something
that would be set on `call->gtFlags` except that at this point it isn't.
Check against the actual unmanaged calling conventions.

7 years ago[x86/Linux] Fix framepointer while unwinding (#9678)
SaeHie Park [Wed, 22 Feb 2017 00:26:21 +0000 (09:26 +0900)]
[x86/Linux] Fix framepointer while unwinding (#9678)

Use pCallerContext when getting frame pointer

7 years agoAdd a regression test.
Pat Gavlin [Tue, 21 Feb 2017 23:15:22 +0000 (15:15 -0800)]
Add a regression test.

7 years agoMerge pull request #9703 from wtgodbe/CrossgenCode
Gaurav Khanna [Tue, 21 Feb 2017 22:07:58 +0000 (14:07 -0800)]
Merge pull request #9703 from wtgodbe/CrossgenCode

Have Crossgen Failures exit in a dedicated exit routine

7 years agoCorrectly pass 12-byte GT_SIMD nodes on x86.
Pat Gavlin [Tue, 21 Feb 2017 21:29:34 +0000 (13:29 -0800)]
Correctly pass 12-byte GT_SIMD nodes on x86.

During lowering, all TYP_SIMD12 GT_SIMD nodes are retyped to TYP_SIMD16.
This is correct except in the case that the GT_SIMD node is going to be
passed by-value on x86, in which case this retyping causes us to push 16
bytes rather than 12. This change recognizes a GT_SIMD node that has
been retyped by checking the value of gtSIMDSize during LowerArg and
uses TYP_SIMD12 for the putarg instead of TYP_SIMD16 (aside from
differences in detecting retyped nodes, this is the same transformation
we already do when passing TYP_SIMD12 lclVars that are being used as
TYP_SIMD16 on x86).

Fixes https://github.com/dotnet/corefx/issues/15913.

7 years agoHave Crossgen Failures exit in a dedicated exit routine
wtgodbe [Tue, 21 Feb 2017 20:38:46 +0000 (12:38 -0800)]
Have Crossgen Failures exit in a dedicated exit routine

7 years agoMerge pull request #9695 from jashook/up_timeout_for_arm64_gcstress
Jarret Shook [Tue, 21 Feb 2017 19:23:09 +0000 (11:23 -0800)]
Merge pull request #9695 from jashook/up_timeout_for_arm64_gcstress

Up the timeout for gcstress arm64 jobs.

7 years agoUp the timeout for gcstress arm64 jobs.
jashook [Tue, 21 Feb 2017 18:05:10 +0000 (10:05 -0800)]
Up the timeout for gcstress arm64 jobs.

7 years agoFix compilation on macOS with case sensitive FS (#9693)
Mikhail Filippov [Tue, 21 Feb 2017 17:26:58 +0000 (20:26 +0300)]
Fix compilation on macOS with case sensitive FS (#9693)

7 years agoImprove string.Equals OrdinalIgnoreCase performance for matching chars (#9213)
Bruce Bowyer-Smyth [Tue, 21 Feb 2017 17:25:18 +0000 (03:25 +1000)]
Improve string.Equals OrdinalIgnoreCase performance for matching chars (#9213)

* Improve string.Equals OrdinalIgnoreCase performance for matching chars

* Added code comment

7 years agoAdd --xunitOutputPath option to runtest.sh (#9646)
Jonghyun Park [Tue, 21 Feb 2017 14:33:55 +0000 (23:33 +0900)]
Add --xunitOutputPath option to runtest.sh (#9646)

7 years agoClean up FixupDispatcherContext (#9685)
Jonghyun Park [Tue, 21 Feb 2017 14:01:29 +0000 (23:01 +0900)]
Clean up FixupDispatcherContext (#9685)

7 years agoUse ADJUST_PC_UNWOUND_TO_CALL instead of _TARGET_XXX_ (#9686)
Jonghyun Park [Tue, 21 Feb 2017 13:47:11 +0000 (22:47 +0900)]
Use ADJUST_PC_UNWOUND_TO_CALL instead of _TARGET_XXX_ (#9686)

7 years agoMerge pull request #9676 from parjong/fix/issue_9576
Andy Ayers [Mon, 20 Feb 2017 15:53:14 +0000 (07:53 -0800)]
Merge pull request #9676 from parjong/fix/issue_9576

Fix bogus assert in flowgraph and update related ilproj

7 years agoRewrite assert using bbInTryRegions
Jonghyun Park [Mon, 20 Feb 2017 05:38:40 +0000 (14:38 +0900)]
Rewrite assert using bbInTryRegions

7 years agoUpdate related .ilproj
Jonghyun Park [Mon, 20 Feb 2017 01:40:26 +0000 (10:40 +0900)]
Update related .ilproj

7 years agoFix formatting error
Jonghyun Park [Mon, 20 Feb 2017 01:31:43 +0000 (10:31 +0900)]
Fix formatting error

7 years agoComment out bogus assert in flowgraph
Jonghyun Park [Mon, 20 Feb 2017 01:13:33 +0000 (10:13 +0900)]
Comment out bogus assert in flowgraph

7 years agoMerge pull request #9672 from jashook/arm64_regression
Jarret Shook [Sun, 19 Feb 2017 19:03:31 +0000 (11:03 -0800)]
Merge pull request #9672 from jashook/arm64_regression

Add new regression.

7 years agoMerge pull request #9671 from benaadams/revert-encoding
Andy Ayers [Sun, 19 Feb 2017 06:39:31 +0000 (22:39 -0800)]
Merge pull request #9671 from benaadams/revert-encoding

Revert "Fast-path for ASCII & UTF8 Encoding ASCII data (#9187)"

7 years agoMerge pull request #9670 from stephentoub/cs_random
Dan Moseley [Sun, 19 Feb 2017 05:47:48 +0000 (21:47 -0800)]
Merge pull request #9670 from stephentoub/cs_random

Delay Random allocation in ConcurrentStack

7 years agoAdd new regression.
jashook [Sun, 19 Feb 2017 05:28:45 +0000 (21:28 -0800)]
Add new regression.

7 years agoRevert "Fast-path for ASCII & UTF8 Encoding ASCII data (#9187)"
Ben Adams [Sun, 19 Feb 2017 05:03:51 +0000 (05:03 +0000)]
Revert "Fast-path for ASCII & UTF8 Encoding ASCII data (#9187)"

This reverts commit 77e676be9fab34471c4ae9f16a7a51a06bd470ee.

7 years agoMerge pull request #9661 from AndyAyersMS/FixTailCallStress1
Andy Ayers [Sun, 19 Feb 2017 01:42:43 +0000 (17:42 -0800)]
Merge pull request #9661 from AndyAyersMS/FixTailCallStress1

JIT: tolerate GT_COMMA in tail call position

7 years agoRemove a few explicit static cctors (#9669)
Stephen Toub [Sun, 19 Feb 2017 01:17:34 +0000 (20:17 -0500)]
Remove a few explicit static cctors (#9669)

7 years agoMerge pull request #9665 from sdmaclea/PR-ARM64-PT_KNONVOLATILE
Gaurav Khanna [Sun, 19 Feb 2017 00:09:12 +0000 (16:09 -0800)]
Merge pull request #9665 from sdmaclea/PR-ARM64-PT_KNONVOLATILE

[ARM64] Use PT_KNONVOLATILE... for cross

7 years agoDelay Random allocation in ConcurrentStack
Stephen Toub [Sat, 18 Feb 2017 23:32:20 +0000 (15:32 -0800)]
Delay Random allocation in ConcurrentStack

7 years agoFast-path for ASCII & UTF8 Encoding ASCII data (#9187)
Ben Adams [Sat, 18 Feb 2017 18:47:36 +0000 (18:47 +0000)]
Fast-path for ASCII & UTF8 Encoding ASCII data (#9187)

7 years ago[Arm64/Unix] Fix cmake race condition (#9666)
Steve MacLean [Sat, 18 Feb 2017 09:15:26 +0000 (04:15 -0500)]
[Arm64/Unix] Fix cmake race condition (#9666)

On a clean build SET(REQUIRE_LLDBPLUGIN false) was being ignored because the cmake
cache variable had not been created

Change order of cmake file to be more natural and to resolve

7 years agoMerge pull request #9667 from sivarv/backout
Sivarv [Sat, 18 Feb 2017 06:29:47 +0000 (22:29 -0800)]
Merge pull request #9667 from sivarv/backout

Back-out promotion of structs containing fields of struct of single field

7 years agoBackout promotion of structs containing fields of struct of single field.
sivarv [Sat, 18 Feb 2017 04:17:13 +0000 (20:17 -0800)]
Backout promotion of structs containing fields of struct of single field.

7 years ago[ARM64] Use PT_KNONVOLATILE... for cross
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Sat, 18 Feb 2017 01:28:17 +0000 (01:28 +0000)]
[ARM64] Use PT_KNONVOLATILE... for cross

In order to enable cross compilation support, ARM64
needs to use PT_KNONVOLATILE_CONTEXT_POINTERS

7 years agoMerge pull request #9657 from AndyAyersMS/FixFinallyChainMergeAssert
Andy Ayers [Sat, 18 Feb 2017 01:17:34 +0000 (17:17 -0800)]
Merge pull request #9657 from AndyAyersMS/FixFinallyChainMergeAssert

JIT: relax assert in fgMergeFinallyChains

7 years agoMerge pull request #9636 from sivarv/shouldPromote
Sivarv [Fri, 17 Feb 2017 22:21:33 +0000 (14:21 -0800)]
Merge pull request #9636 from sivarv/shouldPromote

Refactor some of fgPromoteStruct() checks into lvaCanPromoteStructVar() and lvaShouldPromoteStructVar()

7 years agoJIT: tolerate GT_COMMA in tail call position
Andy Ayers [Fri, 17 Feb 2017 22:02:12 +0000 (14:02 -0800)]
JIT: tolerate GT_COMMA in tail call position

Now that we can tail call from inlined call sites, we may see the call
embedded in a GT_COMMA, if the call's return value is ignored. This triggered
an assert the tail call transformation.

Closes #9641.

7 years agoMerge pull request #9658 from chcosta/fix_coreclr_packaging
chcosta [Fri, 17 Feb 2017 20:47:10 +0000 (12:47 -0800)]
Merge pull request #9658 from chcosta/fix_coreclr_packaging

Exclude ni files from linux arm32 builds

7 years agoSynchronous toolchain.cmake files with CoreFX (#9409)
Jiyoung Giuliana Yun [Fri, 17 Feb 2017 20:43:52 +0000 (05:43 +0900)]
Synchronous toolchain.cmake files with CoreFX (#9409)

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
7 years agoMerge pull request #8843 from mikedn/decompose-cast-mul
Pat Gavlin [Fri, 17 Feb 2017 20:13:25 +0000 (12:13 -0800)]
Merge pull request #8843 from mikedn/decompose-cast-mul

Improve int->long cast decomposition

7 years agoMerge pull request #9615 from JosephTremoulet/UpdateCompareVN
Joseph Tremoulet [Fri, 17 Feb 2017 19:40:17 +0000 (14:40 -0500)]
Merge pull request #9615 from JosephTremoulet/UpdateCompareVN

Update array length compare value numbers on CSE

7 years agoMerge pull request #9649 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Fri, 17 Feb 2017 19:18:50 +0000 (11:18 -0800)]
Merge pull request #9649 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25017-02 (master)

7 years agoMerge pull request #9228 from fujiy/fixcorefx4805
Dan Moseley [Fri, 17 Feb 2017 19:13:59 +0000 (11:13 -0800)]
Merge pull request #9228 from fujiy/fixcorefx4805

Add/Expose String.EndsWith(char) and String.StartsWith(char)

7 years agoMerge pull request #9656 from RussKeldorph/corefx_x86
Russ Keldorph [Fri, 17 Feb 2017 19:03:05 +0000 (11:03 -0800)]
Merge pull request #9656 from RussKeldorph/corefx_x86

Fix corefx x86 testing and small netci.groovy fixes