platform/upstream/coreclr.git
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 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 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 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 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 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 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

7 years agoRemove ubuntu 16.10 arm build from packaging
Christopher Costa [Fri, 17 Feb 2017 18:46:41 +0000 (10:46 -0800)]
Remove ubuntu 16.10 arm build from packaging

7 years ago[ARM64/Unix] (#9500)
Steve MacLean [Fri, 17 Feb 2017 18:25:37 +0000 (13:25 -0500)]
[ARM64/Unix]  (#9500)

* [Arm64/Unix] Update arm64 *.S files to match *.asm

* [Arm64/Unix] Fix CONTEXTToNativeContext()

* [Arm64/Unix] ThrowExceptionFromContextInternal

* [Arm64/Unix] Preserve x8 argument register

* [ARM64/Unix] Add CFI directives

Add native unwind info

* [Arm64/Unix] Fix RtlRestoreContext

* [Arm64/Unix] Restore FP from CurrentContextPointers

* [Arm64/Unix] fix pointer math

* [Arm64/Unix] Fix CallDescrWorkerInternal personality

* [Arm64/Unix] More Fp fixups

* [Arm64/Unix] CallEHFunclet machine state

Restore non-volatile machine state in CallEHFunclet

* [Arm64/Unix] CallDescrWorkerInternal

Use empty stack slot to save argument

* [Arm64/Unix] RtlVirtualUnwind update pointers

* [Arm64] LazyMachState fixes

* [Arm64/Unix] disable USE_REDIRECT_FOR_GCSTRESS

When FEATURE_PAL is enableds USE_REDIRECT_FOR_GCSTRESS
is not supported

* [Arm64] ClearRegDisplayArgumentAndScratchRegisters()

* [Arm64] Remove unnecesary copy in TransitionFrame

* [Arm64/Unix] Fix comment per review

* [Arm64/Unix] move constants per review

* [Arm64/Unix] Use ldp per review

Also fix indentation

* [Arm64/Unix] Fix indentation per review

* [Arm64/Unix] Remove m_Unwound per review comments

* [Arm64/Unix] Use PREPARE_EXTERNAL_VAR to access globals

* [Arm64/Unix] Fix more whitespace per earlier review comments

7 years agoRemove contraction from property name
Christopher Costa [Fri, 17 Feb 2017 18:23:20 +0000 (10:23 -0800)]
Remove contraction from property name

7 years agoExclude ni files from linux arm32 builds
Christopher Costa [Fri, 17 Feb 2017 18:20:58 +0000 (10:20 -0800)]
Exclude ni files from linux arm32 builds

7 years agoFix corefx x86 testing and small netci.groovy fixes
Russ Keldorph [Fri, 17 Feb 2017 17:12:04 +0000 (09:12 -0800)]
Fix corefx x86 testing and small netci.groovy fixes

run-corefx-tests.py fixes
- Switch to using the same corefx build switches as the corefx CI.

netci.groovy fixes
- Add COMPlus_Ready2Run=0 to existing ZapDisable jobs to get the coverage
  we intended to have in these jobs.  Previously, R2R images were slipping
  through.

- Add architecture to the trigger strings fore corefx jobs so it's
  possible to request x86 corefx runs.

- Add the -u option to python command line in netci.groovy so Python
  output is synchronized with subcommand output in the CI logs.

- Fix whitespace in name formatting of corefx_baseline jobs

- Remove trailing (sorry, my editor did this and now it is too hard to
  undo.  Add ?w=1 to Github diff URL to filter out ws diffs.)

7 years agoMerge pull request #9580 from sdmaclea/PR-ARM64-CROSSGENFAILS
Jarret Shook [Fri, 17 Feb 2017 16:27:18 +0000 (08:27 -0800)]
Merge pull request #9580 from sdmaclea/PR-ARM64-CROSSGENFAILS

[Arm64/Unix] Add crossgen fails

7 years agoJIT: relax assert in fgMergeFinallyChains
Andy Ayers [Fri, 17 Feb 2017 16:04:55 +0000 (08:04 -0800)]
JIT: relax assert in fgMergeFinallyChains

In some rare and likely IL-only cases the jit may create unreachable
callfinallys. This trips up finally chain merging since it spots a
merge opportunity but no merge actually happens.

Relax the assertion checks so that `canMerge && !didMerge` is now ok.

Closes #9651.

7 years agoUpdate CoreFx to beta-25017-02
dotnet-bot [Fri, 17 Feb 2017 15:07:22 +0000 (15:07 +0000)]
Update CoreFx to beta-25017-02

7 years ago[x86/Linux] Remove unnecessary x86-specific part (#9627)
Hanjoung Lee [Fri, 17 Feb 2017 11:39:26 +0000 (20:39 +0900)]
[x86/Linux] Remove unnecessary x86-specific part (#9627)

This inlined assembly is no longer necessary for x86.

7 years agoClean up nested WIN64EXCEPTIONS (#9644)
Jonghyun Park [Fri, 17 Feb 2017 11:11:46 +0000 (20:11 +0900)]
Clean up nested WIN64EXCEPTIONS (#9644)

7 years agoClean up dummy implementation in regdisp.h (#9643)
Jonghyun Park [Fri, 17 Feb 2017 09:27:17 +0000 (18:27 +0900)]
Clean up dummy implementation in regdisp.h (#9643)

7 years ago[x86/Linux] Fix GetCallerSp (#9384)
Jonghyun Park [Fri, 17 Feb 2017 09:19:16 +0000 (18:19 +0900)]
[x86/Linux] Fix GetCallerSp (#9384)

* [x86/Linux] Fix GetCallerSp

* Do NOT pop stack argument for TransitionFrame

* Add ResumeEsp to CONTEXT

7 years agoMerge pull request #9645 from DrewScoggins/EmptyVariableFix
Drew Scoggins [Fri, 17 Feb 2017 08:45:22 +0000 (00:45 -0800)]
Merge pull request #9645 from DrewScoggins/EmptyVariableFix

Fix x64 perf run break

7 years agoFix x64 perf run break
Drew Scoggins [Fri, 17 Feb 2017 07:39:53 +0000 (23:39 -0800)]
Fix x64 perf run break

After the checkin to add legacy JIT testing support for x86 we broke x64
runs.  THe issue is that we do not pass anything in to the TEST_ENV
variable on x64 and when a variable is empty and you attempt to use the
if exists syntax you fail.  I have added a nonsense file name that we
set this to before we go through the args loop. I was not able to find a
better solution and want to get the lab unblocked, but any batch masters
feel free to solve this the right way.

7 years agoMerge pull request #9642 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Fri, 17 Feb 2017 05:45:12 +0000 (21:45 -0800)]
Merge pull request #9642 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25017-01 (master)

7 years agoMerge pull request #9639 from parjong/fix/wrong_comment
Dan Moseley [Fri, 17 Feb 2017 05:44:36 +0000 (21:44 -0800)]
Merge pull request #9639 from parjong/fix/wrong_comment

Fix wrong comment

7 years agoUpdate CoreFx to beta-25017-01
dotnet-bot [Fri, 17 Feb 2017 03:03:57 +0000 (03:03 +0000)]
Update CoreFx to beta-25017-01

7 years agoMerge pull request #8778 from dnickless/master
Dan Moseley [Fri, 17 Feb 2017 02:47:45 +0000 (18:47 -0800)]
Merge pull request #8778 from dnickless/master

Performance improvement: Make ConcurrentDictionary with Enum values also profit from atomic writes.

7 years agoMerge pull request #9637 from wtgodbe/noMoreSuse
William Godbe [Fri, 17 Feb 2017 01:58:46 +0000 (17:58 -0800)]
Merge pull request #9637 from wtgodbe/noMoreSuse

Remove all references to OpenSuse13.2

7 years agoMerge pull request #9628 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 17 Feb 2017 01:31:17 +0000 (17:31 -0800)]
Merge pull request #9628 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25016-03 (master)

7 years agoFix wrong comment
Jonghyun Park [Fri, 17 Feb 2017 01:10:09 +0000 (10:10 +0900)]
Fix wrong comment

7 years agoMerge pull request #9610 from sdmaclea/PR-ARM64-CALLSITE
Bruce Forstall [Thu, 16 Feb 2017 23:42:34 +0000 (15:42 -0800)]
Merge pull request #9610 from sdmaclea/PR-ARM64-CALLSITE

[Arm64/Unix] Correct ControlPC when unwinding