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

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

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

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

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

Fix GenTree hash function for commutative operators

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

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

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

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

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

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

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

* Rename Esp in x86 REGDISPLAY as SP

* Fix x86/Windows build error

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

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

Refactor TreeNodeInfoInitCmp

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

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

Add a test case for a test optimization

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

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

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

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

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

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

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

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

Add a simple span benchmark

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

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

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

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

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

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

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

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

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

* Disable DoublinkGen (see dotnet/coreclr#6574)

* Add test to testsFailingOutsideWindows.txt

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

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

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

* Code review feedback

* Code review feedback

* Fix standalone GC build break

* Repair the standalone GC build

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

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

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

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

Update CoreClr to beta-24923-06 (master)

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

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

Remove redundant symbols disabled in CoreCLR

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

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

Treat RHEL 7.x versions as RHEL 7 when building

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

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

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

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

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

This change only affects whether packages are built or not.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Remove always-defined symbols

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

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

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

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

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

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

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

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

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

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

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

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

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

This reverts commit dotnet/coreclr@9c6de0b7af3716eea3fc16a91ab8b7c2c92e6e98.

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

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

Remove some closure allocations

escapes string[] to static rather than function alloc

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

7 years agoUpdate CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively
dotnet-bot [Mon, 23 Jan 2017 15:16:37 +0000 (15:16 +0000)]
Update CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively

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

7 years ago[x86/Linux] Port two assertions in stackwalk.cpp (dotnet/coreclr#9046)
Jonghyun Park [Mon, 23 Jan 2017 12:00:34 +0000 (21:00 +0900)]
[x86/Linux] Port two assertions in stackwalk.cpp (dotnet/coreclr#9046)

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

7 years ago[ARM32/Linux] cross-architecture build errro: stub for crossgen (dotnet/coreclr#8917)
Hyeongseok Oh [Mon, 23 Jan 2017 11:19:43 +0000 (20:19 +0900)]
[ARM32/Linux] cross-architecture build errro: stub for crossgen (dotnet/coreclr#8917)

Fix union name in T_CONTEXT used by arm/stubs.cpp

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

7 years ago[x86/Linux] Enable FEATURE_EH_FUNCLETS (dotnet/coreclr#8889)
Jonghyun Park [Mon, 23 Jan 2017 10:46:37 +0000 (19:46 +0900)]
[x86/Linux] Enable FEATURE_EH_FUNCLETS (dotnet/coreclr#8889)

* [x86/Linux] (Partially) Enable FEATURE_EH_FUNCLETS

* Update CLR ABI Document

* Add TODO (for Funclet Prolog/Epilog Gen)

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

7 years agoReport by-ref-like types to the GC (SpanOfT) (dotnet/coreclr#9034)
Koundinya Veluri [Mon, 23 Jan 2017 07:10:14 +0000 (23:10 -0800)]
Report by-ref-like types to the GC (SpanOfT) (dotnet/coreclr#9034)

Report by-ref-like types to the GC (SpanOfT)

Fixes dotnet/coreclr#8517

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

7 years agoRemove FEATURE_WINDOWSPHONE
danmosemsft [Mon, 23 Jan 2017 04:55:11 +0000 (20:55 -0800)]
Remove FEATURE_WINDOWSPHONE

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

7 years agoRemove FEATURE_VERSIONING
danmosemsft [Mon, 23 Jan 2017 04:50:23 +0000 (20:50 -0800)]
Remove FEATURE_VERSIONING

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

7 years agoFEATURE_SYNCHRONIZATIONCONTEXT_WAIT
danmosemsft [Mon, 23 Jan 2017 04:48:38 +0000 (20:48 -0800)]
FEATURE_SYNCHRONIZATIONCONTEXT_WAIT

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

7 years agoRemove FEATURE_STRONGNAME_MIGRATION
danmosemsft [Mon, 23 Jan 2017 04:47:11 +0000 (20:47 -0800)]
Remove FEATURE_STRONGNAME_MIGRATION

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

7 years agoRemove FEATURE_SPAN_OF_T and UseLegacyCompiler
danmosemsft [Mon, 23 Jan 2017 04:45:52 +0000 (20:45 -0800)]
Remove FEATURE_SPAN_OF_T and UseLegacyCompiler

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

7 years agoRemove FEATURE_MULTICOREJIT
danmosemsft [Mon, 23 Jan 2017 04:42:43 +0000 (20:42 -0800)]
Remove FEATURE_MULTICOREJIT

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

7 years agoRemove FEATURE_MANAGED_ETW_CHANNELS
danmosemsft [Mon, 23 Jan 2017 04:41:06 +0000 (20:41 -0800)]
Remove  FEATURE_MANAGED_ETW_CHANNELS

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

7 years agoRemove FEATURE_MAIN_CLR_MODULE_USES_CORE_NAME
danmosemsft [Mon, 23 Jan 2017 04:37:25 +0000 (20:37 -0800)]
Remove FEATURE_MAIN_CLR_MODULE_USES_CORE_NAME

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

7 years agoRemove FEATURE_LOADER_OPTIMIZATION
danmosemsft [Mon, 23 Jan 2017 04:36:11 +0000 (20:36 -0800)]
Remove FEATURE_LOADER_OPTIMIZATION

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

7 years agoRemove FEATURE_HOST_ASSEMBLY_RESOLVER
danmosemsft [Mon, 23 Jan 2017 04:34:38 +0000 (20:34 -0800)]
Remove FEATURE_HOST_ASSEMBLY_RESOLVER

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

7 years agoRemove FEATURE_EXCEPTION_NOTIFICATIONS
danmosemsft [Mon, 23 Jan 2017 04:32:11 +0000 (20:32 -0800)]
Remove FEATURE_EXCEPTION_NOTIFICATIONS

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

7 years agoRemove FEATURE_EXCEPTIONDISPATCHINFO
danmosemsft [Mon, 23 Jan 2017 04:29:22 +0000 (20:29 -0800)]
Remove FEATURE_EXCEPTIONDISPATCHINFO

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

7 years agoRemove FEATURE_CORRUPTING_EXCEPTIONS
danmosemsft [Mon, 23 Jan 2017 04:27:03 +0000 (20:27 -0800)]
Remove FEATURE_CORRUPTING_EXCEPTIONS

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

7 years agoremove FEATURE_CORESYSTEM
danmosemsft [Mon, 23 Jan 2017 04:15:12 +0000 (20:15 -0800)]
remove FEATURE_CORESYSTEM

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

7 years agoremove FEATURE_CORECLR (not used in cs)
danmosemsft [Mon, 23 Jan 2017 04:08:05 +0000 (20:08 -0800)]
remove FEATURE_CORECLR (not used in cs)

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

7 years agoRemove FEATURE_COLLECTIBLE_TYPES symbol
danmosemsft [Tue, 17 Jan 2017 23:46:45 +0000 (15:46 -0800)]
Remove FEATURE_COLLECTIBLE_TYPES symbol

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

7 years agoremove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib
danmosemsft [Fri, 13 Jan 2017 00:26:06 +0000 (16:26 -0800)]
remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib

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

7 years agoRemove __GNUC__ version checks (dotnet/coreclr#8978)
Jan Vorlicek [Sat, 21 Jan 2017 09:46:27 +0000 (10:46 +0100)]
Remove __GNUC__ version checks (dotnet/coreclr#8978)

This change removes obsolete `__GNUC__` version checks at several places.
The minimum supported clang version is 3.5 and that generates __GNUC__
value of 4.

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

7 years agoDelete unused AppDomain{Setup} types/members (dotnet/coreclr#8768)
James Ko [Sat, 21 Jan 2017 04:02:54 +0000 (23:02 -0500)]
Delete unused AppDomain{Setup} types/members (dotnet/coreclr#8768)

* Delete unused AppDomain members
* Delete unused AppDomainSetup members

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

7 years agoMerge pull request dotnet/coreclr#9027 from JosephTremoulet/Comment
Joseph Tremoulet [Sat, 21 Jan 2017 03:36:31 +0000 (22:36 -0500)]
Merge pull request dotnet/coreclr#9027 from JosephTremoulet/Comment

Fix incorrect comment

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

7 years agoFix debugger launch race hitting breakpoints in startup code. (dotnet/coreclr#8951)
Mike McLaughlin [Sat, 21 Jan 2017 01:46:06 +0000 (17:46 -0800)]
Fix debugger launch race hitting breakpoints in startup code. (dotnet/coreclr#8951)

The attached flag was been set asynchronously relative to the DebugActiveProcess
returning.  This could cause a race where the initial module load notification being
missed/not sent to the debugger.

This fix sets the attached flag before any notifications sent during launch if the runtime was
launched/attached using the startup handshake after dbgshim tells the runtime to "continue"
when the runtime startup API callback returns.

Also fixes another race condition in dbgshim where EnumerateCLRs returns a NULL continue event
handle because the coreclr module was loaded but the g_hContinueStartupEvent wasn't initialized
on the runtime side yet. Changed the static initialization of g_hContinueStartupEvent to
INVALID_HANDLE_VALUE and the InternalEnumerateCLRs sleep/retry loop to retry when any of the
handles are INVALID_HANDLE_VALUE. This fixes the race only when you have the latest dbgshim
and coreclr binaries and the old/new mixes still function but don't fix the race.

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

7 years agoFix incorrect comment
Joseph Tremoulet [Fri, 20 Jan 2017 21:42:28 +0000 (16:42 -0500)]
Fix incorrect comment

Rewrite bogus reference to nonexistsent `m_HeapDef` to correctly refer to
`block->bbHeapDef`.  Also change "doesn't kill heap" to "doesn't kill heap
liveness" (since it still kills availability).

Also add clarifying comments where `bbHeapUse` and `bbHeapDef` are
declared.

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

7 years agoFixup Span<T> implementation to be more similar to the corefx one (dotnet/coreclr...
Jan Kotas [Sat, 21 Jan 2017 01:13:50 +0000 (17:13 -0800)]
Fixup Span<T> implementation to be more similar to the corefx one (dotnet/coreclr#9028)

- Reorder methods, adjust comments and formatting to make it easier to see the diff with corefx
- Delete extra implicit conversion operator

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

7 years agoRemove PLATFORM_UNIX and FEATURE_PAL checks in PAL (dotnet/coreclr#8982)
Jan Vorlicek [Fri, 20 Jan 2017 23:32:12 +0000 (00:32 +0100)]
Remove PLATFORM_UNIX and FEATURE_PAL checks in PAL (dotnet/coreclr#8982)

This change removes all ifdefs for PLATFORM_UNIX and FEATURE_PAL
from PAL and also removes dead code that was never compiled in PAL
due to both of them being always defined for PAL.

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

7 years agoMerge pull request dotnet/coreclr#8814 from YongseopKim/impl_genIntToIntCast
Carol Eidt [Fri, 20 Jan 2017 21:53:17 +0000 (13:53 -0800)]
Merge pull request dotnet/coreclr#8814 from YongseopKim/impl_genIntToIntCast

[RyuJIT/ARM32]Implement NYI("Cast")

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

7 years agoMerge pull request dotnet/coreclr#9008 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 20 Jan 2017 20:45:07 +0000 (12:45 -0800)]
Merge pull request dotnet/coreclr#9008 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively (master)

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

7 years agoAddress CR feedback
Mike Danes [Fri, 20 Jan 2017 18:34:00 +0000 (20:34 +0200)]
Address CR feedback
- rename genTypeValueFitsIn
- use pointer to pointer instead of reference to pointer

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

7 years agoUpdate CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively
dotnet-bot [Fri, 20 Jan 2017 17:25:57 +0000 (17:25 +0000)]
Update CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively

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

7 years agoMerge pull request dotnet/coreclr#9004 from JosephTremoulet/MoreLessKillHeap
Joseph Tremoulet [Fri, 20 Jan 2017 12:20:09 +0000 (07:20 -0500)]
Merge pull request dotnet/coreclr#9004 from JosephTremoulet/MoreLessKillHeap

More heap liveness fixes

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

7 years ago[GDB-JIT][Linux] Fix incorrect displaying of (s)byte and char in lldb (dotnet/coreclr...
Evgeny Pavlov [Fri, 20 Jan 2017 11:59:34 +0000 (14:59 +0300)]
[GDB-JIT][Linux] Fix incorrect displaying of (s)byte and char in lldb (dotnet/coreclr#9022)

* [GDB-JIT] Initial support of typedef for correct displaying 'byte' and 'sbyte'

* [GDB-JIT] Add char typedef to show correct type in lldb

* Code cleanup

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

7 years ago[x86/Linux] Allow push/pop in funclet prolog and epilog (dotnet/coreclr#9001)
Jonghyun Park [Fri, 20 Jan 2017 10:34:16 +0000 (19:34 +0900)]
[x86/Linux] Allow push/pop in funclet prolog and epilog (dotnet/coreclr#9001)

* [x86/Linux] Allow Push/Pop in Funclet Prolog and Epilog

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

7 years ago[x86/Linux] Port 'TransitionFrame::UpdateRegDisplay' (dotnet/coreclr#8964)
Jonghyun Park [Fri, 20 Jan 2017 10:33:06 +0000 (19:33 +0900)]
[x86/Linux] Port 'TransitionFrame::UpdateRegDisplay' (dotnet/coreclr#8964)

* [x86/Linux] Port 'TransitionFrame::UpdateRegDisplay'

* Use different ControlPC/Esp values for WIN64EXCEPTIONS

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

7 years ago[x86/Linux] Port 'CallerStackFrame::FromRegDisplay' (dotnet/coreclr#9021)
Jonghyun Park [Fri, 20 Jan 2017 09:30:49 +0000 (18:30 +0900)]
[x86/Linux] Port 'CallerStackFrame::FromRegDisplay' (dotnet/coreclr#9021)

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

7 years agoImplement NYI(Cast) of codegen for Ryujit ARM32
Yongseop Kim [Wed, 4 Jan 2017 07:43:24 +0000 (16:43 +0900)]
Implement NYI(Cast) of codegen for Ryujit ARM32

Implement genIntToIntCast(), genFloatToFloatCast(),
genIntToFloatCast() and genFloatToIntCast() in codegenarm.cpp.
This commit bases upon ARM64 code.
(Code for int64/uint64 is marked as NYI_ARM)

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

7 years agoComments
Mike Danes [Fri, 20 Jan 2017 06:38:17 +0000 (08:38 +0200)]
Comments

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

7 years agoCleanup uses of string.Split (dotnet/coreclr#9010)
Justin Van Patten [Fri, 20 Jan 2017 04:23:39 +0000 (23:23 -0500)]
Cleanup uses of string.Split (dotnet/coreclr#9010)

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

7 years agoMerge pull request dotnet/coreclr#8402 from CarolEidt/Fix7508
Carol Eidt [Fri, 20 Jan 2017 02:24:45 +0000 (18:24 -0800)]
Merge pull request dotnet/coreclr#8402 from CarolEidt/Fix7508

Enable promotion of SIMD fields of structs

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

7 years agoEnable promotion of SIMD fields of structs
Carol Eidt [Tue, 29 Nov 2016 17:18:31 +0000 (09:18 -0800)]
Enable promotion of SIMD fields of structs

Only look for SIMD fields if a SIMD type has been found.
Also, since more cases of local struct values are no longer marked GTF_GLOB_REF, adjust the heuristics for allocating a temporary for a struct arrRef.

Fix dotnet/coreclr#7508

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

7 years agoMerge pull request dotnet/coreclr#9013 from jashook/arm32_build_fix
Jarret Shook [Fri, 20 Jan 2017 00:35:07 +0000 (16:35 -0800)]
Merge pull request dotnet/coreclr#9013 from jashook/arm32_build_fix

Fix arm32 build break

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

7 years agoFix arm32 build break
jashook [Thu, 19 Jan 2017 22:15:43 +0000 (14:15 -0800)]
Fix arm32 build break

fgClearFinallyTargetBit requires computePreds to have happened in order
to sucessfully leave the bit unset for cases where there are multiple
CALLFINALLY / BBJ_ALWAYS pairs that point to the same finally target on
ARM.

The change adds an assertion to fgClearFinallyTargetBit in addition
to disabling the optimization on ARM.

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

7 years agoImplement const, comparion and intrinsic for floating-point
Hyung-Kyu Choi [Thu, 22 Dec 2016 11:38:26 +0000 (20:38 +0900)]
Implement const, comparion and intrinsic for floating-point

Implement float/double const (GT_CNS_DBL) generation for ARM32 RyuJIT.
Implement binary operators for floating point for ARM32 RyuJIT
Implement of GT_INTRINSIC for ARM32 RyuJIT
Implement comparison (e.g. GT_GT and etc.) for floating-point

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

7 years agoAdd mkdir for CoreFx directory
Drew Scoggins [Thu, 19 Jan 2017 18:57:26 +0000 (10:57 -0800)]
Add mkdir for CoreFx directory

In PR 8997 I accidentally removed the mkdir that creates the corefx
directory for us to copy the test zip into.  I did this when I was
adding Https to the URLs that we use to download the information from
Jenkins.  This adds back that bit.

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

7 years agoMerge pull request dotnet/coreclr#9005 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 19 Jan 2017 19:34:20 +0000 (11:34 -0800)]
Merge pull request dotnet/coreclr#9005 from dotnet-bot/master-UpdateDependencies

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

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