platform/upstream/coreclr.git
7 years agoMerge pull request #12580 from wtgodbe/disableSync
William Godbe [Mon, 10 Jul 2017 22:25:14 +0000 (15:25 -0700)]
Merge pull request #12580 from wtgodbe/disableSync

Disable sync.cmd -n for Windows binaries

7 years agoMerge pull request #12716 from dotnet-bot/from-tfs
Brian Sullivan [Mon, 10 Jul 2017 20:52:31 +0000 (13:52 -0700)]
Merge pull request #12716 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoSpeed up fgLocalVarLiveness in minopts. (#12665)
Pat Gavlin [Mon, 10 Jul 2017 20:43:13 +0000 (15:43 -0500)]
Speed up fgLocalVarLiveness in minopts. (#12665)

In particular:
- Do not re-sort lclVars
- Do not run LVA
- Do not set `mustInit`
- Do not set last uses
- Do not perform DSE

7 years agoMerge pull request #12717 from wtgodbe/disableJITTestArm
William Godbe [Mon, 10 Jul 2017 20:10:25 +0000 (13:10 -0700)]
Merge pull request #12717 from wtgodbe/disableJITTestArm

disable hijacking test for Arm32

7 years agoMerge pull request #12712 from helloguo/errorHandle
Aditya Mandaleeka [Mon, 10 Jul 2017 19:58:27 +0000 (12:58 -0700)]
Merge pull request #12712 from helloguo/errorHandle

Fix error handle of PAL API SetThreadGroupAffinity

7 years agodisable hijacking test for Arm32
wtgodbe [Mon, 10 Jul 2017 18:43:39 +0000 (11:43 -0700)]
disable hijacking test for Arm32

7 years agoAdd symbol signing to published packages. (#12291)
Chris Rummel [Mon, 10 Jul 2017 18:42:57 +0000 (13:42 -0500)]
Add symbol signing to published packages. (#12291)

* Add symbol signing to published packages.
- Enable MicroBuild signing steps.
- Update build to call new BuildTools symbol signing targets.

7 years agoDisable sync.cmd -n for Windows binaries
wtgodbe [Fri, 30 Jun 2017 19:29:12 +0000 (12:29 -0700)]
Disable sync.cmd -n for Windows binaries

7 years agoFix optdata bootstrap test script & Linux skiprestoreoptdata behavior (#12541)
Daniel Podder [Mon, 10 Jul 2017 18:37:25 +0000 (11:37 -0700)]
Fix optdata bootstrap test script & Linux skiprestoreoptdata behavior (#12541)

Fixes #12171.

* bootstrap.py was printing an improperly-cased path to put PGO/IBC
  training data, which breaks on case-sensitive file systems, i.e., on
  Linux.

* On Linux, `skiprestoreoptdata` was improperly skipping PGO even if
  optdata was already present due to some of the conditional checks in
  build.sh. This cleans that up to better match the intent of the
  switch, and to fix Linux behavior to better match Windows.

7 years agoMerge pull request #12710 from hseok-oh/ryujit/fix_12703
Bruce Forstall [Mon, 10 Jul 2017 18:22:08 +0000 (11:22 -0700)]
Merge pull request #12710 from hseok-oh/ryujit/fix_12703

[RyuJIT/ARM32] Fix register allocation for split GT_FIELD_LIST struct

7 years agoUpdate the telemetry logging to use MEASURES instead of TELEMENTRY
Brian Sullivan [Mon, 10 Jul 2017 18:20:55 +0000 (11:20 -0700)]
Update the telemetry logging to use MEASURES instead of TELEMENTRY

[tfs-changeset: 1665164]

7 years ago[RyuJIT/ARM32] Fix register allocation for split GT_FIELD_LIST struct
Hyeongseok Oh [Mon, 10 Jul 2017 10:29:16 +0000 (19:29 +0900)]
[RyuJIT/ARM32] Fix register allocation for split GT_FIELD_LIST struct

To fix register allocation for split GT_FIELD_LIST struct,
set source register for each node of GT_FIELD_LIST

7 years agofix error handle
helloguo [Mon, 10 Jul 2017 09:50:28 +0000 (02:50 -0700)]
fix error handle

7 years agoMerge pull request #12572 from wateret/armel/dblarg_stack
Carol Eidt [Mon, 10 Jul 2017 05:55:28 +0000 (22:55 -0700)]
Merge pull request #12572 from wateret/armel/dblarg_stack

[RyuJIT/armel] Passing stack double arguments

7 years ago[RyuJIT/ARM32] Avoid promoting structures which can be handled by HFA (#12604)
Hyung-Kyu Choi [Mon, 10 Jul 2017 05:08:44 +0000 (14:08 +0900)]
[RyuJIT/ARM32] Avoid promoting structures which can be handled by HFA (#12604)

* [RyuJIT/ARM32] Avoid promoting structures which can be handled by HFA

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* [RyuJIT/ARM32] Add comments for ARM32

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
7 years agoNote that tests don't have to be built to view JIT dumps (#12699)
Petr Onderka [Sun, 9 Jul 2017 18:22:58 +0000 (20:22 +0200)]
Note that tests don't have to be built to view JIT dumps (#12699)

7 years agoUnify LazyInitializers with CoreRT (#12697)
Jan Kotas [Sun, 9 Jul 2017 18:22:23 +0000 (20:22 +0200)]
Unify LazyInitializers with CoreRT (#12697)

CoreCLR implementation cached s_activatorFactorySelector delegate, but CoreRT did not cache it - it got commented out during earlier AOT binary size optimization efforts. I have unified it by avoiding s_activatorFactorySelector delegate altogether to keep the best of both.

7 years agoTypeForward cleanup for Culture=neutral (#12698)
Viktor Hofer [Sun, 9 Jul 2017 15:34:51 +0000 (17:34 +0200)]
TypeForward cleanup for Culture=neutral (#12698)

7 years agoMove files to shared CoreLib partition (#12694)
Jan Kotas [Sun, 9 Jul 2017 06:46:00 +0000 (08:46 +0200)]
Move files to shared CoreLib partition (#12694)

7 years agoUse R2R helper for runtime lookups only when USEHELPER was specified (#12669)
Michal Strehovský [Sun, 9 Jul 2017 04:31:30 +0000 (00:31 -0400)]
Use R2R helper for runtime lookups only when USEHELPER was specified (#12669)

The CoreRT compiler would like to be able to do indirections-based
lookup even when ReadyToRun codegen is specified.

7 years agoAvoid a large local in a recursive visitor. (#12693)
Pat Gavlin [Sun, 9 Jul 2017 00:04:22 +0000 (19:04 -0500)]
Avoid a large local in a recursive visitor. (#12693)

This local of type `CORINFO_CALL_INFO` bloats the frame size of its
caller when the function is inlined and ends up aggravating stack size
issues in deep recursion. This change refactors the offending method a
bit in order to avoid the local entirely.

Hopefully this fixes #12691.

7 years agoUpdate CoreClr, CoreFx to preview2-25508-04, preview2-25508-04, respectively (#12633)
dotnet-maestro-bot [Sat, 8 Jul 2017 21:05:19 +0000 (14:05 -0700)]
Update CoreClr, CoreFx to preview2-25508-04, preview2-25508-04, respectively (#12633)

7 years agoRemove redundant call to TimeSpan.TotalMilliseconds (#12692)
James Ko [Sat, 8 Jul 2017 20:38:23 +0000 (16:38 -0400)]
Remove redundant call to TimeSpan.TotalMilliseconds (#12692)

7 years agoEnsure that ZeroMemoryInGCHeap writes in pointer-sized increments (#12689)
Daniel Podder [Sat, 8 Jul 2017 06:53:38 +0000 (23:53 -0700)]
Ensure that ZeroMemoryInGCHeap writes in pointer-sized increments (#12689)

by adding the volatile keyword (which disables memset optimization).
Fixes #12207

7 years agoMerge pull request dotnet/corert#4110 from jkotas/nmirror-merge
Jan Kotas [Sat, 8 Jul 2017 03:30:52 +0000 (05:30 +0200)]
Merge pull request dotnet/corert#4110 from jkotas/nmirror-merge

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoMerge pull request dotnet/corert#4100 from dotnet/nmirror
Michal Strehovský [Fri, 7 Jul 2017 18:03:37 +0000 (14:03 -0400)]
Merge pull request dotnet/corert#4100 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoFix Unix debug assert to not use instance handle (#12687)
Jeremy Kuhne [Sat, 8 Jul 2017 01:24:13 +0000 (18:24 -0700)]
Fix Unix debug assert to not use instance handle (#12687)

7 years agoFix GitHub_3449 test (#12683)
Bruce Forstall [Sat, 8 Jul 2017 00:31:59 +0000 (17:31 -0700)]
Fix GitHub_3449 test (#12683)

* Fix GitHub_3449 test

This test was looking for one answer for ARM and ARM64 but another
for other architectures. This didn't work for ARM32 on Windows
(compared to ARM32 on Linux).

Instead, simply allow either answer. This doesn't seem like a
terrible loss of precision, since we already allowed different
answers based on the platform.

* Update comment

7 years agoMinor fix added to mirrored changes
Tarek Mahmoud Sayed [Fri, 7 Jul 2017 18:06:58 +0000 (11:06 -0700)]
Minor fix added to mirrored changes

7 years agoMerge pull request dotnet/corert#4086 from tarekgh/CleanupSerializationInEncoding
Tarek Mahmoud Sayed [Thu, 6 Jul 2017 19:22:02 +0000 (12:22 -0700)]
Merge pull request dotnet/corert#4086 from tarekgh/CleanupSerializationInEncoding

Clean up serialization from Encoding

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoMerge pull request #12682 from adityamandaleeka/arm64_dump_hang
Aditya Mandaleeka [Fri, 7 Jul 2017 23:13:42 +0000 (16:13 -0700)]
Merge pull request #12682 from adityamandaleeka/arm64_dump_hang

Temporarily block core dump printing on arm64

7 years agoMerge pull request #12675 from mikedn/range-disp
Bruce Forstall [Fri, 7 Jul 2017 22:07:38 +0000 (15:07 -0700)]
Merge pull request #12675 from mikedn/range-disp

Dump tree IDs instead of pointers in RangeCheck

7 years agoMerge pull request #12673 from ruben-ayrapetyan/fix-issue-12643
Bruce Forstall [Fri, 7 Jul 2017 22:05:51 +0000 (15:05 -0700)]
Merge pull request #12673 from ruben-ayrapetyan/fix-issue-12643

Fix copying of FieldMarshaler structures

7 years agoMerge pull request #12681 from BruceForstall/RemoveNonexistentVarargsTests
Bruce Forstall [Fri, 7 Jul 2017 22:03:43 +0000 (15:03 -0700)]
Merge pull request #12681 from BruceForstall/RemoveNonexistentVarargsTests

Remove varargs test references

7 years agoRestore missing native *.ni.pdb file from the Microsoft.NETCore.Runtime.CoreCLR ...
Vance Morrison [Fri, 7 Jul 2017 22:02:12 +0000 (15:02 -0700)]
Restore missing native *.ni.pdb file from the Microsoft.NETCore.Runtime.CoreCLR (#12677)

* Restore missing native *.ni.pdb file from the Microsoft.NETCore.Runtime.CoreCLR package

DLLs that have native code, need both the *.pdb (for IL information) and the *.ni.pdb (for
native information).

When System.Private.Corlib was renamed from System.Private.Corlib.ni.pdb to System.Private.Corlib,
the logic that decides what goes into the  Microsoft.NETCore.Runtime.CoreCLR package lost
the *.ni.pdb for System.Private.Corlib.

This change basically causes this logic to search both for *.ni.pdb as well as the *.pdb file and
thus fixes this issue.

* Remove unnecessary condition (review feedback)

7 years agoTemporarily block core dump printing on arm64 to unblock CI.
Aditya Mandaleeka [Fri, 7 Jul 2017 19:54:35 +0000 (12:54 -0700)]
Temporarily block core dump printing on arm64 to unblock CI.

7 years agoRevert change that always publish runtime layout (#12679)
Yi Zhang (CLR) [Fri, 7 Jul 2017 20:34:38 +0000 (13:34 -0700)]
Revert change that always publish runtime layout (#12679)

7 years agoMerge pull request #12500 from adiaaida/throughputExclusionList
Michelle McDaniel [Fri, 7 Jul 2017 19:56:03 +0000 (12:56 -0700)]
Merge pull request #12500 from adiaaida/throughputExclusionList

Update throughput exclusion list

7 years agoRemove varargs test references
Bruce Forstall [Fri, 7 Jul 2017 18:24:49 +0000 (11:24 -0700)]
Remove varargs test references

varargs tests were removed with 0a427c6d6d87e69ce0f87dafd2f965ee989e6d29

7 years agoDump tree IDs instead of pointers in RangeCheck
Mike Danes [Fri, 7 Jul 2017 15:45:01 +0000 (18:45 +0300)]
Dump tree IDs instead of pointers in RangeCheck

7 years agoFix skipcrossgen option (#12650)
Jonghyun Park [Fri, 7 Jul 2017 18:06:39 +0000 (03:06 +0900)]
Fix skipcrossgen option (#12650)

* Fix skipcrossgen option

* Use return instead of exit

7 years agoMerge pull request #12429 from mikedn/dead-qmark
Pat Gavlin [Fri, 7 Jul 2017 15:16:31 +0000 (10:16 -0500)]
Merge pull request #12429 from mikedn/dead-qmark

Remove QMARK related dead code

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

[RyuJIT/ARM32] Unassign double register properly

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

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

7 years agoFix copying of FieldMarshaler structures in EEClassLayoutInfo::CollectLayoutFieldMeta...
Ruben Ayrapetyan [Fri, 7 Jul 2017 12:54:14 +0000 (15:54 +0300)]
Fix copying of FieldMarshaler structures in EEClassLayoutInfo::CollectLayoutFieldMetadataThrowing.

Related issue: #12643

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

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

[RyuJIT/arm] Fix double type local variable dump

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>
7 years ago[RyuJIT/armel] Rewrite changes for readibility
Hanjoung Lee [Fri, 7 Jul 2017 05:12:20 +0000 (14:12 +0900)]
[RyuJIT/armel] Rewrite changes for readibility

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

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

* fix loop count and error handler

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

Added explicit cast float -> double for arguments

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

Fix misprint in complex condition

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

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

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

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

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

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

[RyuJIT/ARM32] Add NYI_ARM for handling promoted struct

7 years agoUpdate throughput exclusion list
Michelle McDaniel [Tue, 27 Jun 2017 21:55:32 +0000 (14:55 -0700)]
Update throughput exclusion list

There are many assemblies in our throughput benchmark package that are
reference or forwarding assemblies. There is no jit work in these
assemblies, so we want to exclude them.

This change also adds an iterations parameter so users can specify a
specific number of iterations for testing.

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

Do not copy bin subdirectories to test core_root

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

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

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

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.

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

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

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

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

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

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

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

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

* Fix a formatting error

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

Mirror changes from dotnet/corert

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

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

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoMerge pull request #12606 from adityamandaleeka/mask_activation_on_altstack
Aditya Mandaleeka [Thu, 6 Jul 2017 00:02:15 +0000 (17:02 -0700)]
Merge pull request #12606 from adityamandaleeka/mask_activation_on_altstack

Mask INJECT_ACTIVATION_SIGNAL while on alternate signal stack

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.

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

* Update gtDispRegVal() for multi register nodes

* [RyuJIT/armel] Fix

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

* Cleanup officialbuild warnings

* Re-enable "sync test native binaries" step

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

Fix missing references in FEATURE_MERGE_JIT_AND_ENGINE

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

Add skipcrossgen option

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

[RyuJIT/armel] Move returned float to float reg

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

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

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

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

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

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

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

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

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 #12574

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>
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

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

Fix a bug in LIR dead store removal.

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

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.

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

7 years ago[RyuJIT/armel] Passing stack double arguments
Hanjoung Lee [Fri, 30 Jun 2017 09:17:07 +0000 (18:17 +0900)]
[RyuJIT/armel] Passing stack double arguments

Fix #11927

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

It is how it is done for others bitsets.

7 years agoImprove fgAddRefPred (#12585)
Bruce Forstall [Sat, 1 Jul 2017 06:04:14 +0000 (23:04 -0700)]
Improve fgAddRefPred (#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 #12582

* Update for feedback

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

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoReducing diffs with CoreRT (#12579)
Jan Kotas [Sat, 1 Jul 2017 05:23:26 +0000 (22:23 -0700)]
Reducing diffs with CoreRT (#12579)

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

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

[RyuJIT/ARM32] Fix using fgMorphMultiregStructArg for mkrefany

7 years agoRemove unnecessary update of RegRecord in LSRA (#12474)
Hyung-Kyu Choi [Sat, 1 Jul 2017 00:11:52 +0000 (09:11 +0900)]
Remove unnecessary update of RegRecord in LSRA (#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>
7 years ago[RyuJIT/ARM32] Return HFA struct (#12453)
Hyeongseok Oh [Fri, 30 Jun 2017 23:51:02 +0000 (08:51 +0900)]
[RyuJIT/ARM32] Return HFA struct (#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