platform/upstream/coreclr.git
6 years agoMerge pull request #14717 from CarolEidt/Fix14624
Carol Eidt [Sat, 28 Oct 2017 01:50:20 +0000 (18:50 -0700)]
Merge pull request #14717 from CarolEidt/Fix14624

Fix FixedReg assert

6 years agoDon't wake up other GC threads when we decide to not proceed with the GC (#14719)
Maoni Stephens [Sat, 28 Oct 2017 00:36:57 +0000 (17:36 -0700)]
Don't wake up other GC threads when we decide to not proceed with the GC (#14719)

6 years agoEnable Portable Pdb generation (#14721)
Vance Morrison [Sat, 28 Oct 2017 00:00:17 +0000 (17:00 -0700)]
Enable Portable Pdb generation (#14721)

When https://github.com/dotnet/corefx/pull/24025 goes through to change coreFX over to use portable PDBs we want to do the same for System.private.Corelib.pdb in CoreCLR.   This change does this.

6 years agoDelete dead code (#14703)
Jan Kotas [Fri, 27 Oct 2017 23:08:24 +0000 (16:08 -0700)]
Delete dead code (#14703)

6 years agoRevise class hierarchy for some EqualityComparer<T> subclasses (#14723)
Andy Ayers [Fri, 27 Oct 2017 23:07:57 +0000 (16:07 -0700)]
Revise class hierarchy for some EqualityComparer<T> subclasses (#14723)

Make GenericEqualityComparer<T> a final class and reparent
NonRandomizedStringEqualityComparer.

Also add a note to the jit sources indicating why we can't be more aggressive
about devirtualizing `get_Default` if we have a shared type (in particular
__Canon).

6 years agoMerge pull request #14715 from jashook/14667_regression_test
Jarret Shook [Fri, 27 Oct 2017 22:32:42 +0000 (15:32 -0700)]
Merge pull request #14715 from jashook/14667_regression_test

Add regression test for double counting retbuf

6 years agoRevert "Move to DotNetCore-Build agent pool (#14693)" (#14731)
Karthik Rajasekaran [Fri, 27 Oct 2017 22:24:17 +0000 (15:24 -0700)]
Revert "Move to DotNetCore-Build agent pool (#14693)" (#14731)

This reverts commit 4103b6276cd5c3d497cd4a20de14bda6a98495cb.

6 years agoMerge pull request #14515 from 4creators/master
Wes Haggard [Fri, 27 Oct 2017 21:50:25 +0000 (14:50 -0700)]
Merge pull request #14515 from 4creators/master

Fix Windows arm target cross build: detect prerelease VS2017, stay in repo root

6 years ago[Local GC] Implement loader protocol for a standalone GC (#14663)
Sean Gillespie [Fri, 27 Oct 2017 21:37:54 +0000 (14:37 -0700)]
[Local GC] Implement loader protocol for a standalone GC (#14663)

* First cut of the load protocol

* Implement for non-standalone GC

* Initial working implementation

* First steps towards not using GetProcAddress when not using a standalone GC

* Factor out loading routines into standalone and non-standalone cases

* Remove the FEATURE_STANDALONE_GC_ONLY build

* Code cleanup and comments

* Comments for the version numbers

* Use more appropriate type for config string

* add GC_LOAD_STATUS_BEFORE_START to disambiguate failures before the start of the load and failures at the beginning of the load

* FEATURE_STANDALONE_GC on by default

* Implement YieldProcessor and MemoryBarrier for arm and arm64

* Remove missed FEATURE_STANDALONE_GC feature check

6 years agoAddress code review feedback
Jacek Blaszczynski [Fri, 27 Oct 2017 18:58:51 +0000 (20:58 +0200)]
Address code review feedback

6 years agoMerge branch 'master' of https://github.com/dotnet/coreclr
Jacek Blaszczynski [Fri, 27 Oct 2017 18:57:22 +0000 (20:57 +0200)]
Merge branch 'master' of https://github.com/dotnet/coreclr

6 years agoMerge pull request #14640 from briansull/ind-icon
Brian Sullivan [Fri, 27 Oct 2017 18:37:04 +0000 (11:37 -0700)]
Merge pull request #14640 from briansull/ind-icon

Added gtNewIndOfIconHandleNode

6 years agoMerge pull request #14678 from fiigii/vex
Carol Eidt [Fri, 27 Oct 2017 18:31:16 +0000 (11:31 -0700)]
Merge pull request #14678 from fiigii/vex

[RyuJIT] Decoupling SIMD levels from instruction sets

6 years agoAdd regression test for double counting retbuf
jashook [Thu, 26 Oct 2017 22:41:27 +0000 (15:41 -0700)]
Add regression test for double counting retbuf

This relates to #14667.

6 years agoRemove adiaaida from list of arm64 users (#14710)
Michelle McDaniel [Fri, 27 Oct 2017 12:21:59 +0000 (05:21 -0700)]
Remove adiaaida from list of arm64 users (#14710)

6 years agoAdd janvorli to the list of arm64 users (#14718)
Jan Vorlicek [Fri, 27 Oct 2017 12:21:21 +0000 (14:21 +0200)]
Add janvorli to the list of arm64 users (#14718)

6 years agoImplemented TailCall ELT hook for arm32 Linux (#14713)
Roman Artemev [Fri, 27 Oct 2017 06:01:27 +0000 (23:01 -0700)]
Implemented TailCall ELT hook for arm32 Linux (#14713)

* Added TailCall ELT hook for arm32 Linux

* fixed review

6 years agoMake EventSourcException serializable in corert scenarios (#14716)
Viktor Hofer [Fri, 27 Oct 2017 00:50:51 +0000 (02:50 +0200)]
Make EventSourcException serializable in corert scenarios (#14716)

6 years agoFixes for zero diffs
Brian Sullivan [Fri, 27 Oct 2017 00:39:17 +0000 (17:39 -0700)]
Fixes for zero diffs

6 years agoMerge pull request #14709 from wtgodbe/TransportFeed
William Godbe [Thu, 26 Oct 2017 22:03:40 +0000 (15:03 -0700)]
Merge pull request #14709 from wtgodbe/TransportFeed

Restore from transport feed in test build

6 years agoFix FixedReg assert
Carol Eidt [Thu, 26 Oct 2017 20:53:44 +0000 (13:53 -0700)]
Fix FixedReg assert

With JitStressRegs (various values) it is possible to have RefPositions that have a single candidate, even though they are not really a fixed reference to the given register.

Fix #14624

6 years agoMerge pull request #14667 from hseok-oh/ryujit/ftc_callee_retbuf
Jarret Shook [Thu, 26 Oct 2017 20:46:03 +0000 (13:46 -0700)]
Merge pull request #14667 from hseok-oh/ryujit/ftc_callee_retbuf

Fix callee argument count bug in fgCanFastTailCall

6 years agoChanges for Zero Asm Diffs
Brian Sullivan [Thu, 26 Oct 2017 20:36:23 +0000 (13:36 -0700)]
Changes for Zero Asm Diffs

6 years agoRestore from transport feed in test build
wtgodbe [Thu, 26 Oct 2017 20:21:49 +0000 (13:21 -0700)]
Restore from transport feed in test build

6 years agoMove to DotNetCore-Build agent pool (#14693)
Karthik Rajasekaran [Thu, 26 Oct 2017 20:19:03 +0000 (13:19 -0700)]
Move to DotNetCore-Build agent pool (#14693)

6 years ago[Local GC] Move IsGCThread and IsGCSpecialThread to GCToEEInterface (#14685)
Sean Gillespie [Thu, 26 Oct 2017 17:46:21 +0000 (10:46 -0700)]
[Local GC] Move IsGCThread and IsGCSpecialThread to GCToEEInterface (#14685)

* [Local GC] Move IsGCThread and IsGCSpecialThread to GCToEEInterface

* Fix the windows and sample builds

6 years agoUpdate BuildTools, CoreClr, PgoData to prerelease-02126-01, preview1-25826-01, master...
dotnet-maestro-bot [Thu, 26 Oct 2017 16:44:36 +0000 (09:44 -0700)]
Update BuildTools, CoreClr, PgoData to prerelease-02126-01, preview1-25826-01, master-20171026-0034, respectively (#14704)

6 years agoPort EventSource Nuget Package Changes (#14669)
Brian Robbins [Thu, 26 Oct 2017 08:20:42 +0000 (10:20 +0200)]
Port EventSource Nuget Package Changes (#14669)

* Add missing resource strings.

* Bring back code changes required to build the nuget package.

6 years agoFix source/line info on Windows for Windows PDBs. (#14696)
Mike McLaughlin [Wed, 25 Oct 2017 23:31:42 +0000 (16:31 -0700)]
Fix source/line info on Windows for Windows PDBs. (#14696)

Now attempts to load the diasymreader from the coreclr module path.

Issue #21079

6 years agoUpdate CoreFx, PgoData to preview1-25825-08, master-20171025-1102, respectively ...
dotnet-maestro-bot [Wed, 25 Oct 2017 22:36:59 +0000 (15:36 -0700)]
Update CoreFx, PgoData to preview1-25825-08, master-20171025-1102, respectively (#14694)

6 years agoMerge pull request #14695 from wtgodbe/DisableVerify
William Godbe [Wed, 25 Oct 2017 22:17:46 +0000 (15:17 -0700)]
Merge pull request #14695 from wtgodbe/DisableVerify

Disable VerifyDependencies target in package restore

6 years agoDecoupling SIMD levels from instruction sets
Fei Peng [Tue, 24 Oct 2017 21:35:18 +0000 (14:35 -0700)]
Decoupling SIMD levels from instruction sets

6 years agoAdded gtNewIndOfIconHandleNode
Brian Sullivan [Fri, 20 Oct 2017 22:11:31 +0000 (15:11 -0700)]
Added gtNewIndOfIconHandleNode
Renamed GTF_ICON_CIDMID_HDL to GTF_ICON_MID_HDL
Added a standard function header comment for gtNewIndOfIconHandleNode
Made compiletimeHandle a required argument instead of an option argument for gtNewIconEmbHndNode
Added new isInvariant arg to gtNewIndOfIconHandleNode, it will set GTF_IND_INVARIANT when true
Converted IBC Block Counts to use new gtNewIndOfIconHandleNode method
Simplified gtNewStringLiteralNode

6 years agoMerge pull request #14697 from BruceForstall/FixCorefxTesting
Bruce Forstall [Wed, 25 Oct 2017 20:46:56 +0000 (13:46 -0700)]
Merge pull request #14697 from BruceForstall/FixCorefxTesting

Fix CoreFx testing

6 years agoFix CoreFx testing
Bruce Forstall [Wed, 25 Oct 2017 19:48:38 +0000 (12:48 -0700)]
Fix CoreFx testing

Currently, build.cmd will pass through all arguments starting with
an argument it doesn't recognize. Since it doesn't process/recognize
'-priority', make sure this is the last argument passed.

6 years agoDisable VerifyDependencies target in package restore
wtgodbe [Wed, 25 Oct 2017 18:28:49 +0000 (11:28 -0700)]
Disable VerifyDependencies target in package restore

6 years agoMerge pull request #14138 from jashook/arm64_32_multiarch_documentation
Jarret Shook [Wed, 25 Oct 2017 17:48:58 +0000 (10:48 -0700)]
Merge pull request #14138 from jashook/arm64_32_multiarch_documentation

Add multiarch arm64(32) Documentation

6 years agoAdd multiarch arm64(32) Documentation
jashook [Fri, 22 Sep 2017 16:02:38 +0000 (09:02 -0700)]
Add multiarch arm64(32) Documentation

Helps setup running armhf code on an arm64 kernal.

6 years agoMerge pull request #14668 from hqueue/arm/reenable_armel_ci
Jarret Shook [Wed, 25 Oct 2017 17:04:41 +0000 (10:04 -0700)]
Merge pull request #14668 from hqueue/arm/reenable_armel_ci

[ARM] Re-enable armel CI

6 years agoMerge pull request #14691 from adiaaida/fixenforcepgooption
Michelle McDaniel [Wed, 25 Oct 2017 16:54:37 +0000 (09:54 -0700)]
Merge pull request #14691 from adiaaida/fixenforcepgooption

Fix enforcepgo option in netci.groovy

6 years agoMarking Memory struct as readonly, fixing corefx#23809 (#14684)
Ahson Khan [Wed, 25 Oct 2017 16:44:00 +0000 (09:44 -0700)]
Marking Memory struct as readonly, fixing corefx#23809 (#14684)

6 years ago[ARM64/Windows] optimal value of CopyThreshold for Windows after performance analysis...
Pankaj Gode [Wed, 25 Oct 2017 16:15:09 +0000 (21:45 +0530)]
[ARM64/Windows] optimal value of CopyThreshold for Windows after performance analysis (#14674)

6 years agoFix enforcepgo option in netci.groovy
Michelle McDaniel [Wed, 25 Oct 2017 16:11:01 +0000 (09:11 -0700)]
Fix enforcepgo option in netci.groovy

The windows release builds are broken because they call build with
enforcepgo instead of -enforcepgo. This change fixes the parameter.

6 years agoMerge pull request #14588 from hqueue/arm/ryujit/issue_14374_pr1
Carol Eidt [Wed, 25 Oct 2017 13:44:41 +0000 (06:44 -0700)]
Merge pull request #14588 from hqueue/arm/ryujit/issue_14374_pr1

[RyuJIT/ARM32] Fix to find a free temp double register correctly

6 years ago[RyuJIT/ARM32] Fix to find a free temp double register correctly
Hyung-Kyu Choi [Wed, 25 Oct 2017 08:49:38 +0000 (17:49 +0900)]
[RyuJIT/ARM32] Fix to find a free temp double register correctly

When finding a free temporary double register to resolve conflicting edges,
we have to consider both two float registers consisting a double register.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoApply review feedback
Hyung-Kyu Choi [Wed, 25 Oct 2017 10:12:45 +0000 (19:12 +0900)]
Apply review feedback

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agodelete unused local variables from jit sources (#14679)
Sergey Andreenko [Wed, 25 Oct 2017 06:30:35 +0000 (23:30 -0700)]
delete unused local variables from jit sources (#14679)

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02124-02, preview1-25824-51, preview...
dotnet-maestro-bot [Wed, 25 Oct 2017 04:31:54 +0000 (21:31 -0700)]
Update BuildTools, CoreClr, CoreFx to prerelease-02124-02, preview1-25824-51, preview1-25824-02, respectively (#14671)

6 years agofix lvaStressLclFldCB (#14676)
Sergey Andreenko [Tue, 24 Oct 2017 22:24:46 +0000 (15:24 -0700)]
fix lvaStressLclFldCB (#14676)

Don't create trees with the same ID.

6 years agoMerge pull request #14658 from mikedn/legacy-reg-track
Bruce Forstall [Tue, 24 Oct 2017 22:18:18 +0000 (15:18 -0700)]
Merge pull request #14658 from mikedn/legacy-reg-track

Ifdef out legacy RegTracker code

6 years agoMerge pull request #14619 from briansull/emitter-cleanup
Brian Sullivan [Tue, 24 Oct 2017 22:12:42 +0000 (15:12 -0700)]
Merge pull request #14619 from briansull/emitter-cleanup

Cleanup unused emitter arguments

6 years agoDelete dead code (#14673)
Jan Kotas [Tue, 24 Oct 2017 21:21:36 +0000 (14:21 -0700)]
Delete dead code (#14673)

- assemblyusagelog
- compatibilityflags
- xmlparser

6 years agoMerge pull request #14662 from wtgodbe/FeedTaskPackage
William Godbe [Tue, 24 Oct 2017 19:30:03 +0000 (12:30 -0700)]
Merge pull request #14662 from wtgodbe/FeedTaskPackage

Use new feed tasks package & auto-update version

6 years agoUse new feed tasks package & auto-update version
wtgodbe [Mon, 23 Oct 2017 21:17:21 +0000 (14:17 -0700)]
Use new feed tasks package & auto-update version

6 years agoIfdef out legacy RegTracker code
Mike Danes [Mon, 23 Oct 2017 18:01:32 +0000 (21:01 +0300)]
Ifdef out legacy RegTracker code

6 years agoCleanup unused emitter arguments
Brian Sullivan [Fri, 20 Oct 2017 18:23:41 +0000 (11:23 -0700)]
Cleanup unused emitter arguments
Removed unused idClsCookie from struct instrDescDebugInfo
Cleaned up several ifdefs

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02120-09, preview1-25822-02, preview...
dotnet-maestro-bot [Tue, 24 Oct 2017 09:38:38 +0000 (04:38 -0500)]
Update BuildTools, CoreClr, CoreFx to prerelease-02120-09, preview1-25822-02, preview1-25824-01, respectively (#14565)

6 years ago[ARM] Re-enable armel CI
Hyung-Kyu Choi [Tue, 24 Oct 2017 08:21:33 +0000 (17:21 +0900)]
[ARM] Re-enable armel CI

Because armel uses different implementation compared to armlb,
let's reenable armel CI.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
6 years agoSearch/replace _DEBUG => DEBUG
Jan Kotas [Mon, 23 Oct 2017 15:31:27 +0000 (08:31 -0700)]
Search/replace _DEBUG => DEBUG

6 years agoSearch/replace Debug.Assert(false, => Debug.Fail(
Jan Kotas [Mon, 23 Oct 2017 03:42:07 +0000 (20:42 -0700)]
Search/replace Debug.Assert(false, => Debug.Fail(

6 years agoCleanup BCLDebug
Jan Kotas [Sun, 22 Oct 2017 02:48:55 +0000 (19:48 -0700)]
Cleanup BCLDebug

- Delete correctness, performance and safe handle stacktrace logging
- Change remaining BCLDebug.Assert uses to Debug.Assert

6 years agoFix callee argument count bug in fgCanFastTailCall
Hyeongseok Oh [Tue, 24 Oct 2017 07:36:04 +0000 (16:36 +0900)]
Fix callee argument count bug in fgCanFastTailCall

Fix bug when callee uses return buffer:
return buffer argument is already generated in callee->gtCallArgs on import phase
So we should not increment calleeArgRegCount explicitly.

6 years agoReport registers as dead in GCInfo before the RhpPInvoke helper. (#14664)
Sergey Andreenko [Tue, 24 Oct 2017 03:45:04 +0000 (20:45 -0700)]
Report registers as dead in GCInfo before the RhpPInvoke helper. (#14664)

* move killGCRefs to the compiler

It makes it accessible from codegen.

* use killGCRefs in codeGen

It terminates live of GCRefs before RhpPInvoke.

* small ref

6 years agoprofiler changes for tiered compilation (#14612)
David Mason [Tue, 24 Oct 2017 03:19:04 +0000 (20:19 -0700)]
profiler changes for tiered compilation (#14612)

Add new apis for profiler to use with tiered jitting.

6 years agoMerge pull request #14647 from BruceForstall/AddArm64FrameLayoutDoc
Bruce Forstall [Tue, 24 Oct 2017 00:51:56 +0000 (17:51 -0700)]
Merge pull request #14647 from BruceForstall/AddArm64FrameLayoutDoc

Add original ARM64 JIT frame layout design document

6 years agoMerge branch 'master' of https://github.com/dotnet/coreclr
Jacek Blaszczynski [Tue, 24 Oct 2017 00:04:43 +0000 (02:04 +0200)]
Merge branch 'master' of https://github.com/dotnet/coreclr

6 years agoCleanup VsDevCmd.bat usage and improve build system messages to ease diagnostics
Jacek Blaszczynski [Tue, 24 Oct 2017 00:04:05 +0000 (02:04 +0200)]
Cleanup VsDevCmd.bat usage and improve build system messages to ease diagnostics

6 years agoFix for #12609 - add option to disable tiered compilation for profilers (#14643)
David Mason [Mon, 23 Oct 2017 23:21:28 +0000 (16:21 -0700)]
Fix for #12609 - add option to disable tiered compilation for profilers  (#14643)

add option to disable tiered compilation for profilers

6 years agoFix RID extraction in packages and test build for Alpine (#14656)
Jan Vorlicek [Mon, 23 Oct 2017 21:03:23 +0000 (23:03 +0200)]
Fix RID extraction in packages and test build for Alpine (#14656)

* Fix RID extraction in packages and test build for Alpine

The host RID extraction in build-packages.sh and build-test.sh
was not matching the one in build.sh

* Reflect feedback

6 years agoMerge pull request #14649 from mikedn/float-absneg
Carol Eidt [Mon, 23 Oct 2017 20:44:50 +0000 (13:44 -0700)]
Merge pull request #14649 from mikedn/float-absneg

Always use XORPS/ANDPS for FP NEG/ABS

6 years ago[Arm64] SIMD simple defines (#14628)
Steve MacLean [Mon, 23 Oct 2017 18:11:15 +0000 (14:11 -0400)]
[Arm64] SIMD simple defines (#14628)

* [Arm64] SIMD simple defines

* Fix #else

6 years ago[Arm64] SIMD lsra (#14631)
Steve MacLean [Mon, 23 Oct 2017 18:03:41 +0000 (14:03 -0400)]
[Arm64] SIMD lsra (#14631)

* [Arm64] SIMD lsra

* Respond to feedback

6 years ago[Arm64] SIMD ins_Load (#14636)
Steve MacLean [Mon, 23 Oct 2017 18:02:15 +0000 (14:02 -0400)]
[Arm64] SIMD ins_Load (#14636)

* [Arm64] SIMD ins_Load

* Respond to feedback

6 years agoMerge pull request #14528 from jashook/pri1_rework
Jarret Shook [Mon, 23 Oct 2017 17:28:53 +0000 (10:28 -0700)]
Merge pull request #14528 from jashook/pri1_rework

Pri0 and pri1 rework

6 years agoMerge pull request #14639 from sdmaclea/PR-ARM64-SIMD-bogus-assert
Brian Sullivan [Mon, 23 Oct 2017 17:12:27 +0000 (10:12 -0700)]
Merge pull request #14639 from sdmaclea/PR-ARM64-SIMD-bogus-assert

[Arm64] Fix bogus assert

6 years ago**Changes all outerloop jobs to explicitly use pri1 builds of the tests. It also...
jashook [Mon, 16 Oct 2017 18:19:06 +0000 (11:19 -0700)]
**Changes all outerloop jobs to explicitly use pri1 builds of the tests. It also rebrands PR Triggered pr triggered jobs to "innerloop" and will run pri0 tests.**

The change also includes netci.groovy cleanup. The list of Pr triggered jobs will change from:

Old PR Triggers (17):

```
CentOS7.1 x64 Debug Build and Test (debug_centos7.1_prtest)
CentOS7.1 x64 Release Priority 1 Build and Test (x64_release_centos7.1_pri1_flow_prtest)
OSX10.12 x64 Checked Build and Test (checked_osx10.12_flow_prtest)
Tizen armel Cross Debug Build (armel_cross_debug_tizen_prtest)
Tizen armel Cross Release Build (armel_cross_release_tizen_prtest)
Ubuntu arm64 Cross Debug Build (arm64_debug_small_page_size_prtest)
Ubuntu armlb Cross Release Build (armlb_cross_release_ubuntu_prtest)
Ubuntu x64 Checked Build and Test (checked_ubuntu_flow_prtest)
Ubuntu x64 Formatting (x64_ubuntu_formatting_prtest)
Ubuntu16.04 armlb Cross Debug Build (armlb_cross_debug_ubuntu16.04_prtest)
Windows_NT arm Cross Checked Build and Test (arm_cross_checked_windows_nt_prtest)
Windows_NT arm64 Cross Debug Build (arm64_cross_debug_windows_nt_prtest)
Windows_NT armlb Cross Checked Build and Test (armlb_cross_checked_windows_nt_prtest)
Windows_NT x64 Debug Build and Test (debug_windows_nt_prtest)
Windows_NT x64 Formatting (x64_windows_nt_formatting_prtest)
Windows_NT x64 Release Priority 1 Build and Test (x64_release_windows_nt_pri1_prtest)
Windows_NT x86 Checked Build and Test (x86_checked_windows_nt_prtest)
```

New PR Triggers (15):

```
CentOS7.1 x64 Checked Innerloop Build and Test (checked_centos7.1_flow_prtest)
CentOS7.1 x64 Debug Innerloop Build (debug_centos7.1_prtest)
OSX10.12 x64 Checked Innerloop Build and Test (checked_osx10.12_flow_prtest)
Ubuntu arm64 Debug Build (arm64_debug_small_page_size_prtest)
Ubuntu armlb Innerloop Cross Debug Build (armlb_cross_debug_ubuntu_prtest)
Ubuntu x64 Checked Innerloop Build and Test (checked_ubuntu_flow_prtest)
Ubuntu x64 Innerloop Formatting (x64_ubuntu_formatting_prtest)
Ubuntu16.04 armlb Innerloop Cross Debug Build (armlb_cross_debug_ubuntu16.04_prtest)
Windows_NT arm Cross Checked Innerloop Build and Test (arm_cross_checked_windows_nt_prtest)
Windows_NT arm64 Cross Checked Innerloop Build and Test (arm64_cross_checked_windows_nt_prtest)
Windows_NT arm64 Cross Debug Innerloop Build (arm64_cross_debug_windows_nt_prtest)
Windows_NT armlb Cross Checked Innerloop Build and Test (armlb_cross_checked_windows_nt_prtest)
Windows_NT x64 Checked Innerloop Build and Test (checked_windows_nt_prtest)
Windows_NT x64 Innerloop Formatting (x64_windows_nt_formatting_prtest)
Windows_NT x86 Checked Innerloop Build and Test (x86_checked_windows_nt_prtest)
```

PR Trigger Change summary:

```
-- Added Jobs --
CentOS7.1 x64 Checked Innerloop Build and Test (checked_centos7.1_flow_prtest)
Ubuntu armlb Cross Innerloop Debug Build (armlb_cross_debug_ubuntu_prtest)
Windows_NT arm64 Cross Checked Innerloop Build and Test (arm64_cross_checked_windows_nt_prtest)
Windows_NT x64 Checked Innerloop Build and Test (checked_windows_nt_prtest)

-- Removed Jobs --
CentOS7.1 x64 Release Priority 1 Build and Test (x64_release_centos7.1_pri1_flow_prtest)
Tizen armel Cross Debug Build (armel_cross_debug_tizen_prtest)
Tizen armel Cross Release Build (armel_cross_release_tizen_prtest)
Ubuntu armlb Cross Release Build (armlb_cross_release_ubuntu_prtest)
Windows_NT x64 Debug Build and Test (debug_windows_nt_prtest)
Windows_NT x64 Release Priority 1 Build and Test (x64_release_windows_nt_pri1_prtest)

-- Changed Jobs --
CentOS7.1 x64 Debug Build and Test -> CentOS7.1 x64 Debug Innerloop Build (debug_centos7.1_prtest)
OSX10.12 x64 Checked Build and Test -> OSX10.12 x64 Checked Innerloop Build and Test (checked_osx10.12_flow_prtest)
Ubuntu arm64 Cross Debug Build -> Ubuntu arm64 Cross Debug Innerloop Build
Ubuntu x64 Checked Build and Test -> Ubuntu x64 Checked Innerloop Build and Test (checked_ubuntu_flow_prtest)
Ubuntu x64 Formatting -> Ubuntu x64 Innerloop Formatting (x64_ubuntu_formatting_prtest)
Ubuntu16.04 armlb Cross Debug Build -> Ubuntu16.04 armlb Cross Debug Innerloop Build (armlb_cross_debug_ubuntu16.04_prtest)
Windows_NT arm Cross Checked Build and Test -> Windows_NT arm Cross Checked Innerloop Build and Test (arm_cross_checked_windows_nt_prtest)
Windows_NT arm64 Cross Debug Build -> Windows_NT arm64 Cross Debug Innerloop Build (arm64_cross_debug_windows_nt_prtest)
Windows_NT armlb Cross Checked Build and Test -> Windows_NT armlb Cross Checked Innerloop Build and Test (armlb_cross_checked_windows_nt_prtest)
Windows_NT x64 Formatting -> Windows_NT x64 Innerloop Formatting (x64_windows_nt_formatting_prtest)
Windows_NT x86 Checked Build and Test -> Windows_NT x86 Checked Innerloop Build and Test (x86_checked_windows_nt_prtest)
```

6 years agoMerge pull request #14598 from jashook/fix_build_test_sh_osx
Jarret Shook [Mon, 23 Oct 2017 16:21:42 +0000 (09:21 -0700)]
Merge pull request #14598 from jashook/fix_build_test_sh_osx

Add build-test osx support

6 years agoJIT: defer constant-return merging for debug codegen (#14642)
Andy Ayers [Mon, 23 Oct 2017 15:42:25 +0000 (08:42 -0700)]
JIT: defer constant-return merging for debug codegen (#14642)

If we merge constant returns into a common point we may lose track of sequence
points. So inhibit this when we are generating debuggable code.

Fixes #14339.

6 years agoMerge pull request #14621 from briansull/fix-hash
Brian Sullivan [Mon, 23 Oct 2017 02:25:07 +0000 (19:25 -0700)]
Merge pull request #14621 from briansull/fix-hash

Fix gtHashValue to properly hash all the bits when we have a 64-bit item

6 years agoRemove low value purpose comments (#14653)
aerotog [Mon, 23 Oct 2017 01:51:28 +0000 (20:51 -0500)]
Remove low value purpose comments (#14653)

Most of the purpose comments removed referred to the struct as a "class" which is confusing. In addition, these value types are simple enough they don't warrant a full purpose description. Resolves #13479.

6 years agoHide post exception stack frames (#14652)
Ben Adams [Mon, 23 Oct 2017 00:39:35 +0000 (01:39 +0100)]
Hide post exception stack frames (#14652)

6 years agoRespond to feedback
Steve MacLean [Sun, 22 Oct 2017 14:59:18 +0000 (10:59 -0400)]
Respond to feedback

6 years agoEnable build pipeline for Alpine Linux 3.6 (#14587)
Jan Vorlicek [Sun, 22 Oct 2017 13:05:37 +0000 (15:05 +0200)]
Enable build pipeline for Alpine Linux 3.6 (#14587)

6 years agoAlways use XORPS/ANDPS for FP NEG/ABS
Mike Danes [Sun, 22 Oct 2017 07:09:22 +0000 (10:09 +0300)]
Always use XORPS/ANDPS for FP NEG/ABS

They do the same thing but they're one byte shorter. Saves a call to genGetInsForOper too.

6 years agoAdd original ARM64 JIT frame layout design document
Bruce Forstall [Sat, 21 Oct 2017 17:32:30 +0000 (10:32 -0700)]
Add original ARM64 JIT frame layout design document

6 years agoMerge pull request #14632 from sdmaclea/PR-ARM64-SIMD-SIMD.CPP
Bruce Forstall [Sat, 21 Oct 2017 16:43:49 +0000 (09:43 -0700)]
Merge pull request #14632 from sdmaclea/PR-ARM64-SIMD-SIMD.CPP

[Arm64] SIMD simd.cpp

6 years agoMerge pull request #14630 from sdmaclea/PR-ARM64-SIMD-LOWERING
Bruce Forstall [Sat, 21 Oct 2017 16:35:34 +0000 (09:35 -0700)]
Merge pull request #14630 from sdmaclea/PR-ARM64-SIMD-LOWERING

[Arm64] Basic SIMD lowering

6 years agoMerge pull request #14627 from sdmaclea/PR-ARM64-SIMD-EMITTERS
Bruce Forstall [Sat, 21 Oct 2017 16:30:58 +0000 (09:30 -0700)]
Merge pull request #14627 from sdmaclea/PR-ARM64-SIMD-EMITTERS

[Arm64] Add SIMD emitters

6 years agoMerge pull request #14638 from BruceForstall/FixSimdMinOpts
Bruce Forstall [Sat, 21 Oct 2017 15:07:08 +0000 (08:07 -0700)]
Merge pull request #14638 from BruceForstall/FixSimdMinOpts

Allow GT_CALL as BYREF operand for SIMD intrinsics

6 years agoUpdate profiling API status (#14644)
Noah Falk [Sat, 21 Oct 2017 04:44:41 +0000 (21:44 -0700)]
Update profiling API status (#14644)

We've been making progress testing APIs and fixing issues. The description in this doc had gotten well out of date.

6 years agoMerge pull request #14620 from CarolEidt/RegSelectFix
Carol Eidt [Sat, 21 Oct 2017 04:16:47 +0000 (21:16 -0700)]
Merge pull request #14620 from CarolEidt/RegSelectFix

Fix Register selection refactor bugs

6 years agoRevert "Reenable PGO on Linux Release builds" (#14645)
Jan Kotas [Sat, 21 Oct 2017 02:57:33 +0000 (19:57 -0700)]
Revert "Reenable PGO on Linux Release builds" (#14645)

6 years agoMerge pull request #14625 from BruceForstall/FixDynBlkAssert
Bruce Forstall [Fri, 20 Oct 2017 23:31:22 +0000 (16:31 -0700)]
Merge pull request #14625 from BruceForstall/FixDynBlkAssert

Remove incorrect assert for DynBlk codegen

6 years agoRename MemoryHandle PinnedPointer to Pointer and add property HasPointer. (#14604)
Ahson Ahmed Khan [Fri, 20 Oct 2017 22:48:55 +0000 (15:48 -0700)]
Rename MemoryHandle PinnedPointer to Pointer and add property HasPointer. (#14604)

6 years agoremove duplicate line
Brian Sullivan [Fri, 20 Oct 2017 22:23:06 +0000 (15:23 -0700)]
remove duplicate line

6 years ago[Arm64] Fix bogus assert
Steve MacLean [Fri, 20 Oct 2017 20:58:00 +0000 (16:58 -0400)]
[Arm64] Fix bogus assert

6 years agoAllow GT_CALL as BYREF operand for SIMD intrinsics
Bruce Forstall [Fri, 20 Oct 2017 21:42:47 +0000 (14:42 -0700)]
Allow GT_CALL as BYREF operand for SIMD intrinsics

This is an extension of #13965: in the MinOpts case, we don't
have GT_RET_EXPR -- we have GT_CALL instead.

We now see IR like:
```
[000429] --C-G--N----              |  |  \--*  BLK(32)   simd32
[000413] --C-G-------              |  |     \--*  CALL      byref  System.Runtime.CompilerServices.Unsafe.AsRef
[000410] ------------              |  |        |     /--*  CNS_INT   int    2
[000411] ------------              |  |        |  /--*  MUL       int
[000409] ------------              |  |        |  |  \--*  CAST      int <- int
[000408] ------------              |  |        |  |     \--*  CNS_INT   int    16 Vector<T>.Count
[000412] ------------ arg0         |  |        \--*  ADD       int
[000407] ------------              |  |           \--*  LCL_VAR   int    V01 arg1
```

Whereas in the optimizing case, we see:
```
[000060] ------------              *  STMT      void  (IL   ???...  ???)
[000058] I-C-G-------              \--*  CALL      byref  System.Runtime.CompilerServices.Unsafe.AsRef (exactContextHnd=0x028FAFF8)
[000055] ------------                 |     /--*  CNS_INT   int    2
[000056] ------------                 |  /--*  MUL       int
[000054] ------------                 |  |  \--*  CAST      int <- int
[000053] ------------                 |  |     \--*  CNS_INT   int    16 Vector<T>.Count
[000057] ------------ arg0            \--*  ADD       int
[000052] ------------                    \--*  LCL_VAR   int    V01 arg1

...

[000076] --C----N----              |  |  \--*  BLK(32)   simd32
[000065] --C---------              |  |     \--*  RET_EXPR  byref (inl return from call [000058])
```

Fixes #14301

6 years ago[Arm64] SIMD simd.cpp
Steve MacLean [Fri, 20 Oct 2017 20:51:24 +0000 (16:51 -0400)]
[Arm64] SIMD simd.cpp

6 years ago[Arm64] Basic SIMD lowering
Steve MacLean [Fri, 20 Oct 2017 20:47:22 +0000 (16:47 -0400)]
[Arm64] Basic SIMD lowering

6 years ago[Arm64] Add SIMD emitters
Steve MacLean [Fri, 20 Oct 2017 20:36:28 +0000 (16:36 -0400)]
[Arm64] Add SIMD emitters