platform/upstream/dotnet/runtime.git
7 years agoMerge pull request dotnet/coreclr#12623 from hqueue/arm/ryujit/issue_12615
Carol Eidt [Fri, 7 Jul 2017 15:12:59 +0000 (08:12 -0700)]
Merge pull request dotnet/coreclr#12623 from hqueue/arm/ryujit/issue_12615

[RyuJIT/ARM32] Unassign double register properly

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

7 years agoMerge pull request dotnet/coreclr#12597 from hseok-oh/ryujit/struct_split/lsra
Carol Eidt [Fri, 7 Jul 2017 15:08:23 +0000 (08:08 -0700)]
Merge pull request dotnet/coreclr#12597 from hseok-oh/ryujit/struct_split/lsra

[RyuJIT/ARM32] Codegen: split struct argument less than 16 bytes

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

7 years ago[RyuJIT/ARM32] Codegen: split struct argument less than 16 bytes
Hyeongseok Oh [Fri, 7 Jul 2017 02:45:33 +0000 (11:45 +0900)]
[RyuJIT/ARM32] Codegen: split struct argument less than 16 bytes

Enable passing split struct (less than 16 bytes)
- LSRA phase
- Codegen phase

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

7 years agoMerge pull request dotnet/coreclr#12653 from wateret/arm/lvadump
Bruce Forstall [Fri, 7 Jul 2017 06:03:00 +0000 (23:03 -0700)]
Merge pull request dotnet/coreclr#12653 from wateret/arm/lvadump

[RyuJIT/arm] Fix double type local variable dump

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

7 years ago[RyuJIT/ARM32] Apply review feedback
Hyung-Kyu Choi [Fri, 7 Jul 2017 05:20:10 +0000 (14:20 +0900)]
[RyuJIT/ARM32] Apply review feedback

Rename vairable and rewrite code to use less #ifdef

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

7 years agoPin GC threads to corresponding processors on Linux (dotnet/coreclr#12486)
Xiangyang (Mark) Guo [Fri, 7 Jul 2017 02:39:32 +0000 (19:39 -0700)]
Pin GC threads to corresponding processors on Linux (dotnet/coreclr#12486)

* fix SetThreadGroupAffinity, add SetThreadAffinityMask and pin GC threads to processors on Linux

* fix loop count and error handler

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

7 years agoMerge pull request dotnet/coreclr#12667 from rartemev/issue_12465_1
Roman Artemev [Fri, 7 Jul 2017 01:24:28 +0000 (18:24 -0700)]
Merge pull request dotnet/coreclr#12667 from rartemev/issue_12465_1

Added explicit cast float -> double for arguments

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

7 years agoMerge pull request dotnet/coreclr#12634 from rartemev/issue_12466_1
Roman Artemev [Thu, 6 Jul 2017 23:36:59 +0000 (16:36 -0700)]
Merge pull request dotnet/coreclr#12634 from rartemev/issue_12466_1

Fix misprint in complex condition

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

7 years agoAdded explicit cast float -> double for arguments
Roman Artemev [Thu, 6 Jul 2017 22:28:43 +0000 (15:28 -0700)]
Added explicit cast float -> double for arguments

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

7 years agoUse SUB instead of XOR to clear fat pointer bit (dotnet/coreclr#12658)
Jan Kotas [Thu, 6 Jul 2017 18:35:42 +0000 (20:35 +0200)]
Use SUB instead of XOR to clear fat pointer bit (dotnet/coreclr#12658)

This makes the code generated for fat calli smaller because of the clearing of the fat pointer bit gets fused into address mode.

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

7 years agoMerge pull request dotnet/coreclr#12666 from mskvortsov/UnalignedLdSt
Bruce Forstall [Thu, 6 Jul 2017 18:28:07 +0000 (11:28 -0700)]
Merge pull request dotnet/coreclr#12666 from mskvortsov/UnalignedLdSt

[RyuJIT/Arm32] Support unaligned floating point loads/stores

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

7 years agoMerge pull request dotnet/coreclr#12655 from YongseopKim/ryujit/arm32/add_nyi_promote...
Bruce Forstall [Thu, 6 Jul 2017 18:15:01 +0000 (11:15 -0700)]
Merge pull request dotnet/coreclr#12655 from YongseopKim/ryujit/arm32/add_nyi_promoted_struct

[RyuJIT/ARM32] Add NYI_ARM for handling promoted struct

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

7 years agoMerge pull request dotnet/coreclr#12053 from mikedn/xcopy-bindir
Bruce Forstall [Thu, 6 Jul 2017 16:29:25 +0000 (09:29 -0700)]
Merge pull request dotnet/coreclr#12053 from mikedn/xcopy-bindir

Do not copy bin subdirectories to test core_root

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

7 years agoMerge pull request dotnet/coreclr#12652 from hseok-oh/ryujit/fix_split_lower
Bruce Forstall [Thu, 6 Jul 2017 16:26:24 +0000 (09:26 -0700)]
Merge pull request dotnet/coreclr#12652 from hseok-oh/ryujit/fix_split_lower

[RyuJIT/ARM32] Fix register type setting for split struct arg

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

7 years agoSupport unaligned floating point loads/stores
Mikhail Skvortcov [Thu, 6 Jul 2017 14:09:52 +0000 (17:09 +0300)]
Support unaligned floating point loads/stores

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

7 years ago[RyuJIT/ARM32] Add NYI_ARM for handling promoted struct
Yongseop Kim [Wed, 5 Jul 2017 11:16:55 +0000 (20:16 +0900)]
[RyuJIT/ARM32] Add NYI_ARM for handling promoted struct

- In RyuJIT/ARM32, promoted struct on stack can't be handled like
  splitted struct arg's one.
- Until implementing handling it, make it entering the NYI_ARM.

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

7 years agoFix DumpLog to be compatible with CoreRT (dotnet/coreclr#12636)
Jan Kotas [Thu, 6 Jul 2017 07:01:53 +0000 (09:01 +0200)]
Fix DumpLog to be compatible with CoreRT (dotnet/coreclr#12636)

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

7 years agoAutomatic build runtime layout when skipping tests (dotnet/coreclr#12587)
Yi Zhang (CLR) [Thu, 6 Jul 2017 06:15:57 +0000 (23:15 -0700)]
build runtime layout when skipping tests (dotnet/coreclr#12587)

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

7 years ago[x86/Linux] Enable thread-abort reraise loop prevention (dotnet/coreclr#12646)
Jonghyun Park [Thu, 6 Jul 2017 06:05:34 +0000 (15:05 +0900)]
[x86/Linux] Enable thread-abort reraise loop prevention (dotnet/coreclr#12646)

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

7 years ago[RyuJIT/arm] Fix double type local variable dump
Hanjoung Lee [Thu, 6 Jul 2017 05:30:23 +0000 (14:30 +0900)]
[RyuJIT/arm] Fix double type local variable dump

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

7 years ago[RyuJIT/ARM32] Fix register type setting for split struct arg
Hyeongseok Oh [Thu, 6 Jul 2017 05:07:21 +0000 (14:07 +0900)]
[RyuJIT/ARM32] Fix register type setting for split struct arg

Fix register type setting for split struct argument using GT_FIELD_LIST node

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

7 years ago[RyuJIT/ARM32] Fix assertion failed 'gcPtrCount == 0' (dotnet/coreclr#12621)
Yongseop Kim [Thu, 6 Jul 2017 04:06:39 +0000 (13:06 +0900)]
[RyuJIT/ARM32] Fix assertion failed 'gcPtrCount == 0' (dotnet/coreclr#12621)

* [RyuJIT/ARM32] Fix assertion failed 'gcPtrCount == 0'

Change wrong gcPtrCount's value from gtNumSlots to gtNumberReferenceSlots of GenTreePutArgStk

* Fix a formatting error

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

7 years agoMerge pull request dotnet/coreclr#12647 from dotnet/mirror-merge-9210244
Tarek Mahmoud Sayed [Thu, 6 Jul 2017 02:56:27 +0000 (19:56 -0700)]
Merge pull request dotnet/coreclr#12647 from dotnet/mirror-merge-9210244

Mirror changes from dotnet/corert

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

7 years agoFix the merge from the corert changes
Tarek Mahmoud Sayed [Thu, 6 Jul 2017 00:37:58 +0000 (17:37 -0700)]
Fix the merge from the corert changes

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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#4080 from dotnet/nmirror
Tarek Mahmoud Sayed [Thu, 6 Jul 2017 00:03:41 +0000 (17:03 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#4080 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/9673552bb036470ebb57aa647d0995686cbd94c8

7 years agoMerge pull request dotnet/coreclr#12606 from adityamandaleeka/mask_activation_on_altstack
Aditya Mandaleeka [Thu, 6 Jul 2017 00:02:15 +0000 (17:02 -0700)]
Merge pull request dotnet/coreclr#12606 from adityamandaleeka/mask_activation_on_altstack

Mask INJECT_ACTIVATION_SIGNAL while on alternate signal stack

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

7 years agoMask INJECT_ACTIVATION_SIGNAL while on alternate signal stack.
Aditya Mandaleeka [Mon, 3 Jul 2017 17:41:02 +0000 (10:41 -0700)]
Mask INJECT_ACTIVATION_SIGNAL while on alternate signal stack.

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

7 years agoUpdate gtDispRegVal() for multi register nodes (dotnet/coreclr#12573)
Hanjoung Lee [Wed, 5 Jul 2017 23:58:30 +0000 (08:58 +0900)]
Update gtDispRegVal() for multi register nodes (dotnet/coreclr#12573)

* Update gtDispRegVal() for multi register nodes

* [RyuJIT/armel] Fix

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

7 years agoCleanup officialbuild warnings (dotnet/coreclr#12578)
chcosta [Wed, 5 Jul 2017 23:29:04 +0000 (16:29 -0700)]
Cleanup officialbuild warnings (dotnet/coreclr#12578)

* Cleanup officialbuild warnings

* Re-enable "sync test native binaries" step

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

7 years agoMerge pull request dotnet/coreclr#12619 from parjong/fix/merge_jit_and_engine
Bruce Forstall [Wed, 5 Jul 2017 21:03:06 +0000 (14:03 -0700)]
Merge pull request dotnet/coreclr#12619 from parjong/fix/merge_jit_and_engine

Fix missing references in FEATURE_MERGE_JIT_AND_ENGINE

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

7 years agoMerge pull request dotnet/coreclr#12637 from parjong/fix/skipcrossgen
Bruce Forstall [Wed, 5 Jul 2017 20:51:55 +0000 (13:51 -0700)]
Merge pull request dotnet/coreclr#12637 from parjong/fix/skipcrossgen

Add skipcrossgen option

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

7 years agoMerge pull request dotnet/coreclr#12575 from wateret/armel/floatret
Bruce Forstall [Wed, 5 Jul 2017 20:24:48 +0000 (13:24 -0700)]
Merge pull request dotnet/coreclr#12575 from wateret/armel/floatret

[RyuJIT/armel] Move returned float to float reg

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

7 years agoAdd skipcrossgen option
Jonghyun Park [Wed, 5 Jul 2017 07:23:09 +0000 (16:23 +0900)]
Add skipcrossgen option

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

7 years agoSupport interprter build when INTERP_TRACING is not set (dotnet/coreclr#12625)
Jonghyun Park [Wed, 5 Jul 2017 01:45:24 +0000 (10:45 +0900)]
Support interprter build when INTERP_TRACING is not set (dotnet/coreclr#12625)

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

7 years agoRemove unused global variable (dotnet/coreclr#12620)
Jonghyun Park [Wed, 5 Jul 2017 01:40:57 +0000 (10:40 +0900)]
Remove unused global variable (dotnet/coreclr#12620)

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

7 years agoHide methods in IdDispenser (instead of using DacNotImpl) (dotnet/coreclr#12624)
Jonghyun Park [Wed, 5 Jul 2017 01:39:53 +0000 (10:39 +0900)]
Hide methods in IdDispenser (instead of using DacNotImpl) (dotnet/coreclr#12624)

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

7 years agoFix misprint in complex condition
Roman Artemev [Wed, 5 Jul 2017 00:14:24 +0000 (17:14 -0700)]
Fix misprint in complex condition

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

7 years agoUpdate to latest System.Memory
Jan Kotas [Tue, 4 Jul 2017 14:45:31 +0000 (07:45 -0700)]
Update to latest System.Memory

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

7 years agoUpdate CoreClr, CoreFx to preview2-25504-01, preview2-25504-01, respectively
dotnet-maestro-bot [Tue, 4 Jul 2017 12:55:31 +0000 (12:55 +0000)]
Update CoreClr, CoreFx to preview2-25504-01, preview2-25504-01, respectively

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

7 years agoDelete unnecessary code (dotnet/coreclr#12607)
Jan Kotas [Tue, 4 Jul 2017 14:19:32 +0000 (07:19 -0700)]
Delete unnecessary code (dotnet/coreclr#12607)

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

7 years ago[RyuJIT/armel] Move returned float to float reg
Hanjoung Lee [Tue, 4 Jul 2017 08:50:57 +0000 (17:50 +0900)]
[RyuJIT/armel] Move returned float to float reg

Returned float values are in r0(float) or r0:r1(double).
These values must be moved to proper float register after call.

Fix dotnet/coreclr#12574

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

7 years ago[RyuJIT/ARM32] Unassign double register properly
Hyung-Kyu Choi [Tue, 4 Jul 2017 07:07:19 +0000 (16:07 +0900)]
[RyuJIT/ARM32] Unassign double register properly

In LinearScan::tryAllocateFreeReg(), unassign a double register properly
when a found float register is a part of a double register.

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

7 years agoFix missing refernces in FEATURE_MERGE_JIT_AND_ENGINT
Jonghyun Park [Thu, 1 Jun 2017 05:50:13 +0000 (14:50 +0900)]
Fix missing refernces in FEATURE_MERGE_JIT_AND_ENGINT

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

7 years agoMerge pull request dotnet/coreclr#12608 from pgavlin/FixDSE
Pat Gavlin [Tue, 4 Jul 2017 00:37:13 +0000 (17:37 -0700)]
Merge pull request dotnet/coreclr#12608 from pgavlin/FixDSE

Fix a bug in LIR dead store removal.

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

7 years agocreate GetAssertionIndex to convert from unsigned to AssertionIndex (dotnet/coreclr...
Sergey Andreenko [Mon, 3 Jul 2017 21:09:37 +0000 (14:09 -0700)]
create GetAssertionIndex to convert from unsigned to AssertionIndex (dotnet/coreclr#12554)

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

7 years agoFix a bug in LIR dead store removal.
Pat Gavlin [Mon, 3 Jul 2017 19:51:36 +0000 (12:51 -0700)]
Fix a bug in LIR dead store removal.

This came in with the recent operand visitor changes: instead of marking
the operands of a dead indirect store unused, DSE would mark the operands
of its address unsued.

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

7 years ago[x86/Linux] Restore PTR_MethodTable in FastPrimitiveArrayAllocator (dotnet/coreclr...
Jonghyun Park [Mon, 3 Jul 2017 18:08:57 +0000 (03:08 +0900)]
[x86/Linux] Restore PTR_MethodTable in FastPrimitiveArrayAllocator (dotnet/coreclr#12569)

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

7 years agoMove the bitset iterator for bitsetasuint64inclass inside the bitset. (dotnet/coreclr...
Sergey Andreenko [Sat, 1 Jul 2017 16:36:36 +0000 (09:36 -0700)]
Move the bitset iterator for bitsetasuint64inclass inside the bitset. (dotnet/coreclr#12553)

It is how it is done for others bitsets.

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

7 years agoImprove fgAddRefPred (dotnet/coreclr#12585)
Bruce Forstall [Sat, 1 Jul 2017 06:04:14 +0000 (23:04 -0700)]
Improve fgAddRefPred (dotnet/coreclr#12585)

* Improve fgAddRefPred

Only do one search through the predecessor list looking for an
existing predecessor edge, or looking for the proper location to
insert a new predecessor edge. Previously, we traversed the list
twice (or part of twice) for new edges. For new edges, stop the
search when we reach the correct location in sorted order.

This reduces x86 release minopts instruction count by 0.42% and
full opts instruction count by 0.33% (of a superpmi replay of
the tests).

Fixes dotnet/coreclr#12582

* Update for feedback

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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#4046 from dotnet/nmirror
Michal Strehovský [Sat, 1 Jul 2017 03:04:18 +0000 (20:04 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#4046 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/bfc3141f97a9f9f0d095f3d2e99a7c02ce869ab0

7 years agoReducing diffs with CoreRT (dotnet/coreclr#12579)
Jan Kotas [Sat, 1 Jul 2017 05:23:26 +0000 (22:23 -0700)]
Reducing diffs with CoreRT (dotnet/coreclr#12579)

* Rename m_firstChar to _firstChar to reduce CoreRT diffs
* Reducing diffs with CoreRT
* Delete dead code

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

7 years agoMerge pull request dotnet/coreclr#12568 from hseok-oh/ryujit/fix_11781
Bruce Forstall [Sat, 1 Jul 2017 00:55:54 +0000 (17:55 -0700)]
Merge pull request dotnet/coreclr#12568 from hseok-oh/ryujit/fix_11781

[RyuJIT/ARM32] Fix using fgMorphMultiregStructArg for mkrefany

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

7 years agoRemove unnecessary update of RegRecord in LSRA (dotnet/coreclr#12474)
Hyung-Kyu Choi [Sat, 1 Jul 2017 00:11:52 +0000 (09:11 +0900)]
Remove unnecessary update of RegRecord in LSRA (dotnet/coreclr#12474)

* Remove unnecessary update of RegRecord

We don't need to clear assignedInterval of regRec,
because it was already cleared by checkAndClearInterval() above.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* Apply review feedback

- Add a assertion and comment for the assertion

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

7 years ago[RyuJIT/ARM32] Return HFA struct (dotnet/coreclr#12453)
Hyeongseok Oh [Fri, 30 Jun 2017 23:51:02 +0000 (08:51 +0900)]
[RyuJIT/ARM32] Return HFA struct (dotnet/coreclr#12453)

* [RyuJIT/ARM32] Return HFA struct

- Enable return HFA struct
- Merge ARM32/ARM64 CodeGen::isStructReturn(GenTreePtr treeNode)
- Merge ARM32/ARM64 CodeGen::genStructReturn(GenTreePtr treeNode)

* Add comment

Add TODO comment to optimize two-float loading

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

7 years agoMerge pull request dotnet/coreclr#12539 from ellismg/update-prerelease-tag
Matt Ellis [Fri, 30 Jun 2017 21:18:49 +0000 (14:18 -0700)]
Merge pull request dotnet/coreclr#12539 from ellismg/update-prerelease-tag

Update to master prerelease2 tag

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

7 years agoMerge pull request dotnet/coreclr#12527 from gsfreema/relative-paths
Aditya Mandaleeka [Fri, 30 Jun 2017 21:06:51 +0000 (14:06 -0700)]
Merge pull request dotnet/coreclr#12527 from gsfreema/relative-paths

Fix contributing workflow commit message link

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

7 years agoFix an issue where g_ephemeral_low would never get bashed into the write (dotnet...
Sean Gillespie [Fri, 30 Jun 2017 20:29:48 +0000 (13:29 -0700)]
Fix an issue where g_ephemeral_low would never get bashed into the write (dotnet/coreclr#12563)

barrier when starting up with Server GC (x86 only).

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

7 years agoMerge pull request dotnet/coreclr#12577 from dpodder/optdata-170630
Pat Gavlin [Fri, 30 Jun 2017 20:17:40 +0000 (13:17 -0700)]
Merge pull request dotnet/coreclr#12577 from dpodder/optdata-170630

Update optdata to version 20170630-0138

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

7 years agoMerge pull request dotnet/coreclr#12236 from rartemev/fix_legacyjit_tests
Roman Artemev [Fri, 30 Jun 2017 18:12:57 +0000 (11:12 -0700)]
Merge pull request dotnet/coreclr#12236 from rartemev/fix_legacyjit_tests

Fix legacyjit CI testing

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

7 years agoMerge pull request dotnet/coreclr#12570 from mskvortsov/FixVisitOperands
Pat Gavlin [Fri, 30 Jun 2017 17:12:52 +0000 (10:12 -0700)]
Merge pull request dotnet/coreclr#12570 from mskvortsov/FixVisitOperands

Add a missing case to GenTree::VisitOperands()

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

7 years agoMerge pull request dotnet/coreclr#11815 from hseok-oh/ryujit/struct_split_small
Carol Eidt [Fri, 30 Jun 2017 17:09:49 +0000 (10:09 -0700)]
Merge pull request dotnet/coreclr#11815 from hseok-oh/ryujit/struct_split_small

[ARM32/RyuJIT] Lowering: split struct argument less than 16 bytes

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

7 years agoMerge pull request dotnet/coreclr#12576 from gsfreema/readme-fixes
Bruce Forstall [Fri, 30 Jun 2017 16:37:44 +0000 (09:37 -0700)]
Merge pull request dotnet/coreclr#12576 from gsfreema/readme-fixes

README.md link and grammar fixes

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

7 years agoMerge pull request dotnet/coreclr#12559 from rartemev/fix_build_break
Bruce Forstall [Fri, 30 Jun 2017 16:33:48 +0000 (09:33 -0700)]
Merge pull request dotnet/coreclr#12559 from rartemev/fix_build_break

Fix build failure in internal builds

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

7 years agoUpdate optdata to version 20170630-0138
Daniel Podder [Fri, 30 Jun 2017 16:24:28 +0000 (11:24 -0500)]
Update optdata to version 20170630-0138

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

7 years agoREADME.md link and grammar fixes
Scott Freeman [Fri, 30 Jun 2017 13:19:40 +0000 (09:19 -0400)]
README.md link and grammar fixes

Fixing various typos, grammar mistakes, and broken links in the root README.md file.

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

7 years agoAdd a missing case to GenTree::VisitOperands()
Mikhail Skvortcov [Fri, 30 Jun 2017 07:47:21 +0000 (10:47 +0300)]
Add a missing case to GenTree::VisitOperands()

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

7 years agoMerge pull request dotnet/coreclr#12566 from adityamandaleeka/fix_license_header_winrtdq
Aditya Mandaleeka [Fri, 30 Jun 2017 06:51:45 +0000 (23:51 -0700)]
Merge pull request dotnet/coreclr#12566 from adityamandaleeka/fix_license_header_winrtdq

Fix license header on new file

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

7 years agoMerge pull request dotnet/coreclr#12540 from pgavlin/OperandVisitor
Pat Gavlin [Fri, 30 Jun 2017 05:55:02 +0000 (22:55 -0700)]
Merge pull request dotnet/coreclr#12540 from pgavlin/OperandVisitor

Add a generic operand visitor to `GenTree`.

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

7 years ago[ARM32/RyuJIT] Lowering: enable passing split struct less than 16 bytes
Hyeongseok Oh [Fri, 30 Jun 2017 01:02:43 +0000 (10:02 +0900)]
[ARM32/RyuJIT] Lowering: enable passing split struct less than 16 bytes

- Enable passing split struct (less than 16 bytes) in registers and on stack
morphing phase
Lowering phase
- Block at LSRA phase - add NYI_ARM
- Print split struct

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

7 years ago[RyuJIT/ARM32] Fix using fgMorphMultiregStructArg for mkrefany
Hyeongseok Oh [Fri, 30 Jun 2017 05:04:51 +0000 (14:04 +0900)]
[RyuJIT/ARM32] Fix using fgMorphMultiregStructArg for mkrefany

Block using fgMorphMultiregStructArg function for mkrefany.
Morphing for mkrefany struct is already done in fgMorphArgs function.

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

7 years agoFix license header on new file.
Aditya Mandaleeka [Fri, 30 Jun 2017 04:51:02 +0000 (21:51 -0700)]
Fix license header on new file.

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

7 years agoMerge pull request dotnet/coreclr#12535 from adityamandaleeka/dispatcher_queues_coreclr
Aditya Mandaleeka [Fri, 30 Jun 2017 04:48:09 +0000 (21:48 -0700)]
Merge pull request dotnet/coreclr#12535 from adityamandaleeka/dispatcher_queues_coreclr

Support DispatcherQueues when getting WinRT dispatcher

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

7 years agoMake libnuma soft dependency (dotnet/coreclr#12556)
Adeel Mujahid [Fri, 30 Jun 2017 04:41:26 +0000 (07:41 +0300)]
Make libnuma soft dependency (dotnet/coreclr#12556)

Load libnuma dynamically, so it is not linked at compile time and
hence avoid making it a hard dependency at runtime.

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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#4004 from dotnet/nmirror
Michal Strehovský [Wed, 28 Jun 2017 19:26:54 +0000 (12:26 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#4004 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/aa451e8fcf9edd2fda0d93b3b2155f6d7a7d7216

7 years agoUse public ConditionalWeakTable iterator (dotnet/coreclr#12564)
Jan Kotas [Fri, 30 Jun 2017 04:40:04 +0000 (21:40 -0700)]
Use public ConditionalWeakTable iterator (dotnet/coreclr#12564)

Port https://github.com/dotnet/corert/pull/4030/commits/dotnet/coreclr@a3837f7fc60a1b7db872cfef6463f74fb1ffeafb to CoreCLR

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

7 years agoMove JIT_TrialAlloc declaration into jitinterfacex86.cpp (dotnet/coreclr#12562)
Jonghyun Park [Fri, 30 Jun 2017 04:31:00 +0000 (13:31 +0900)]
Move JIT_TrialAlloc declaration into jitinterfacex86.cpp (dotnet/coreclr#12562)

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

7 years agoRemove m_ prefixes in BinaryReader.cs (dotnet/coreclr#12561)
Jan Kotas [Fri, 30 Jun 2017 04:30:42 +0000 (21:30 -0700)]
Remove m_ prefixes in BinaryReader.cs (dotnet/coreclr#12561)

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

7 years agoMerge pull request dotnet/coreclr#12557 from briansull/add-verbose
Brian Sullivan [Fri, 30 Jun 2017 02:19:54 +0000 (19:19 -0700)]
Merge pull request dotnet/coreclr#12557 from briansull/add-verbose

Implement a /verbose flag to show the verbose output from crossgen

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

7 years agoAddress PR feedback.
Pat Gavlin [Fri, 30 Jun 2017 00:19:03 +0000 (17:19 -0700)]
Address PR feedback.

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

7 years agoFormat code.
Pat Gavlin [Fri, 30 Jun 2017 00:18:38 +0000 (17:18 -0700)]
Format code.

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

7 years agoImplement a /verbose flag to show the verbose output from crossgen
Brian Sullivan [Thu, 29 Jun 2017 22:57:40 +0000 (15:57 -0700)]
Implement a /verbose flag to show the verbose output from crossgen

Added info on /verbose option to PrintUsageHelper()
Convert printf(ascii) to wide strings in methodtable.cpp
In build.cmd echo the crossgen /CreatePdb command line

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

7 years agoFix build failure in internal builds
Roman Artemev [Thu, 29 Jun 2017 23:41:44 +0000 (16:41 -0700)]
Fix build failure in internal builds

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

7 years agoChange LSRA to use the operand visitor.
Pat Gavlin [Wed, 28 Jun 2017 19:50:33 +0000 (12:50 -0700)]
Change LSRA to use the operand visitor.

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

7 years agoRefactor LSRA's operand use builder.
Pat Gavlin [Wed, 28 Jun 2017 18:39:50 +0000 (11:39 -0700)]
Refactor LSRA's operand use builder.

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

7 years agoReplace some uses of the operand iterator with the operand visitor.
Pat Gavlin [Wed, 28 Jun 2017 20:02:40 +0000 (13:02 -0700)]
Replace some uses of the operand iterator with the operand visitor.

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

7 years agoAdd a generic operand visitor to `GenTree`.
Pat Gavlin [Wed, 28 Jun 2017 14:13:11 +0000 (07:13 -0700)]
Add a generic operand visitor to `GenTree`.

This visitor accepts any invokable argument (e.g. lambdas, functors,
etc.) with the following signature:

    `GenTree::VisitResult Visitor(GenTree* operand)`

This visitor is typically more efficient than the operand iterator
due to better opportunities for inlining and shorter dynamic path
lengths when deciding which operands need to be visited.

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

7 years agoMake ResourceManager netstandard 2.0 API behave correctly (dotnet/coreclr#12536)
Tarek Mahmoud Sayed [Thu, 29 Jun 2017 19:32:30 +0000 (12:32 -0700)]
Make ResourceManager netstandard 2.0 API behave correctly (dotnet/coreclr#12536)

* Make ResourceManager netstandard 2.0 API behave correctly

In netstandard 2.0 we have enabled the APIs like GetObject, GetStream,..etc. these are not functioning correctly in UWP apps because was assuming we always uses PRI files. The changes here is to initialize the managed resources too and let these APIs behave as if we are running inside desktop app.

* added #ifdef

* Remove the throwing as PRI can handle case insenitive lookup

* remove un-needed resources

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

7 years agoMerge pull request dotnet/coreclr#12532 from jashook/fix_arm64_and_arm32_package_restore
Jarret Shook [Thu, 29 Jun 2017 19:25:02 +0000 (12:25 -0700)]
Merge pull request dotnet/coreclr#12532 from jashook/fix_arm64_and_arm32_package_restore

Fix the package restore for arm64 and arm32

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

7 years agoUse the number of GC threads to calculate spin count (dotnet/coreclr#12525)
Xiangyang (Mark) Guo [Thu, 29 Jun 2017 19:13:16 +0000 (12:13 -0700)]
Use the number of GC threads to calculate spin count (dotnet/coreclr#12525)

* use the number of gc threads to calculate spin count

* use n_heaps

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

7 years agoFix the package restore for arm64 and arm32
jashook [Wed, 28 Jun 2017 21:22:39 +0000 (14:22 -0700)]
Fix the package restore for arm64 and arm32

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

7 years agoMerge pull request dotnet/coreclr#12538 from dotnet-bot/from-tfs
Bruce Forstall [Thu, 29 Jun 2017 16:05:41 +0000 (09:05 -0700)]
Merge pull request dotnet/coreclr#12538 from dotnet-bot/from-tfs

Merge changes from TFS

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

7 years agoMerge pull request dotnet/coreclr#12360 from wateret/armel/dblarg
Carol Eidt [Thu, 29 Jun 2017 14:48:18 +0000 (07:48 -0700)]
Merge pull request dotnet/coreclr#12360 from wateret/armel/dblarg

[RyuJIT/armel] Support `double` argument passing

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

7 years agoDelete file moved to shared partition
Jan Kotas [Thu, 29 Jun 2017 06:17:32 +0000 (23:17 -0700)]
Delete file moved to shared partition

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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#4004 from dotnet/nmirror
Michal Strehovský [Wed, 28 Jun 2017 19:26:54 +0000 (12:26 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#4004 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/649ea074fb8d48b3c2e93857efb80a9649484745

7 years agoReduce the verbosity of optdata sync on stdout (dotnet/coreclr#12543)
Daniel Podder [Thu, 29 Jun 2017 09:05:38 +0000 (04:05 -0500)]
Reduce the verbosity of optdata sync on stdout (dotnet/coreclr#12543)

Set the "StandardOutputImportance" attribute on the RestoreOptData
target to low, matching the "RestoreNETCorePlatforms" target. Logging
to sync.log remains verbose, but stdout on the console is made much less
verbose.

Fixes dotnet/coreclr#12127

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

7 years agoFix GC contract violation (dotnet/coreclr#12542)
Jan Kotas [Thu, 29 Jun 2017 07:21:17 +0000 (00:21 -0700)]
Fix GC contract violation (dotnet/coreclr#12542)

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

7 years agoDelete test that tests pinning of System.Object (dotnet/coreclr#12537)
Michal Strehovský [Thu, 29 Jun 2017 06:58:34 +0000 (23:58 -0700)]
Delete test that tests pinning of System.Object (dotnet/coreclr#12537)

See dotnet/corefxdotnet/coreclr#21673 for motivation. This test fails on CoreRT.

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

7 years ago[RyuJIT/armel] Support `double` argument passing
Hanjoung Lee [Mon, 19 Jun 2017 07:50:02 +0000 (16:50 +0900)]
[RyuJIT/armel] Support `double` argument passing

- Fix for putting `double` arguments between Lowering and Codegen phase
- Rename GenTreeMulLong to GenTreeMultiRegOp
  GT_PUTARG_REG could be GenTreeMultiRegOp on RyuJIT/arm

Fix dotnet/coreclr#12293

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

7 years ago[x86/Linux] Adjust SP in throwing helper block (dotnet/coreclr#12504)
Jonghyun Park [Thu, 29 Jun 2017 03:50:36 +0000 (12:50 +0900)]
[x86/Linux] Adjust SP in throwing helper block (dotnet/coreclr#12504)

* [x86/Linux] Adjust SP in throwing helper block

* Fix format error

* Use funKind intead of siInFuncletRegion

* Use genSPtoFPdelta (and add some comments)

* Fix a typo

* Revert irrelevant changes

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

7 years agoUpdate to master prerelease2 tag
Matt Ellis [Wed, 28 Jun 2017 22:33:03 +0000 (15:33 -0700)]
Update to master prerelease2 tag

release/uwp6.0 is going to use preview1 and we don't want to publish
different versions of the package with the same package identity

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