platform/upstream/coreclr.git
7 years agoSet BuildType in HelixPublish.proj
wtgodbe [Mon, 30 Jan 2017 18:30:48 +0000 (10:30 -0800)]
Set BuildType in HelixPublish.proj

7 years agoMerge pull request #9156 from dotnet/revert-9155-revert-9152-SpeedUpSync
William Godbe [Mon, 30 Jan 2017 18:27:20 +0000 (10:27 -0800)]
Merge pull request #9156 from dotnet/revert-9155-revert-9152-SpeedUpSync

Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9170 from CarolEidt/Fix9159
Carol Eidt [Mon, 30 Jan 2017 18:26:15 +0000 (10:26 -0800)]
Merge pull request #9170 from CarolEidt/Fix9159

Fix GT_LCL_FLD case in gtGetStructHandleIfPresent

7 years agoMerge pull request #9117 from jamesqo/copy.names
Dan Moseley [Mon, 30 Jan 2017 17:41:30 +0000 (10:41 -0700)]
Merge pull request #9117 from jamesqo/copy.names

Fix parameter names for Array.Copy

7 years agoMerge pull request #8438 from JonHanna/fix_1764
Dan Moseley [Mon, 30 Jan 2017 17:38:28 +0000 (10:38 -0700)]
Merge pull request #8438 from JonHanna/fix_1764

Support filter and fault blocks in DynamicILGenerator

7 years agoMerge pull request #8564 from lucenticus/x86-gdbjit
Dan Moseley [Mon, 30 Jan 2017 17:37:48 +0000 (10:37 -0700)]
Merge pull request #8564 from lucenticus/x86-gdbjit

[x86/Linux] Initial support of GDB JIT interface

7 years agoMerge pull request #9140 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Mon, 30 Jan 2017 17:37:11 +0000 (10:37 -0700)]
Merge pull request #9140 from dotnet-bot/master-UpdateDependencies

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

7 years agoSupport building lldbplugin on ARM64 (#9195)
Frederik Carlier [Mon, 30 Jan 2017 16:52:12 +0000 (17:52 +0100)]
Support building lldbplugin on ARM64 (#9195)

7 years agoRemove allocations from Environment.GetResourceString (#9194)
Stephen Toub [Mon, 30 Jan 2017 16:37:27 +0000 (11:37 -0500)]
Remove allocations from Environment.GetResourceString (#9194)

* Remove delegate allocations from ResourceHelper.GetResourceString

* Remove state object allocation from GetResourceString

Now that we're no longer using ExecuteCodeWithGuaranteedBackout, we don't need the try/catch/finally functionality separated out into separate methods, and thus we don't need to allocate an object to pass into them.

7 years agoDelete unused encodings from CoreLib (#9196)
Jan Kotas [Mon, 30 Jan 2017 16:36:29 +0000 (08:36 -0800)]
Delete unused encodings from CoreLib (#9196)

7 years agoJIT: fixup finally target flag after finally opts run (#9171)
Andy Ayers [Mon, 30 Jan 2017 16:19:25 +0000 (08:19 -0800)]
JIT: fixup finally target flag after finally opts run (#9171)

The finally target flag can't be incrementally maintaned during finally
opts, so flag if any of these opts run and then run a post-opts fixup pass
to properly determine the flag value.

Only impacts arm targets.

Closes #9015.

7 years agoUpdate CoreClr, CoreFx to beta-24930-02, beta-24930-01, respectively
dotnet-bot [Mon, 30 Jan 2017 15:18:54 +0000 (15:18 +0000)]
Update CoreClr, CoreFx to beta-24930-02, beta-24930-01, respectively

7 years agoAdd support for lldb-3.9 (#9190)
Frederik Carlier [Mon, 30 Jan 2017 10:53:45 +0000 (11:53 +0100)]
Add support for lldb-3.9 (#9190)

7 years ago[GDB-JIT][Linux] Add support of base classes introspection (#9083)
Evgeny Pavlov [Mon, 30 Jan 2017 10:12:17 +0000 (13:12 +0300)]
[GDB-JIT][Linux] Add support of base classes introspection   (#9083)

* [GDB-JIT] Initial support of inherited fields displaying for classes

* [GDB-JIT] Fix link to already existed parent class

* [GDB-JIT] Fix incorrect processing of links to parent class with RefTypeInfo

* [GDB-JIT] Ignore inheritance from System.ValueType

* [GDB-JIT] Insert additional check whether we already dump parent class

7 years agoMerge pull request #9181 from dotnet/revertevent
Jan Kotas [Sun, 29 Jan 2017 15:22:30 +0000 (07:22 -0800)]
Merge pull request #9181 from dotnet/revertevent

Revert recent changes of #if blocks in Eventing code

7 years agoRemove invalid asserts on unsupported underlying enum type (#9192)
Jan Kotas [Sun, 29 Jan 2017 03:54:57 +0000 (19:54 -0800)]
Remove invalid asserts on unsupported underlying enum type (#9192)

The underlying enum type can be floating point type or native integer for historic reasons.
However, not all framework methods support these special enum types. They should throw exception
for them instead of asserting.

Fix issue #7670

7 years agoMerge pull request #9184 from AndyAyersMS/RegexDna
Sivarv [Sat, 28 Jan 2017 17:54:45 +0000 (09:54 -0800)]
Merge pull request #9184 from AndyAyersMS/RegexDna

Add BenchmarkGames regexdna test

7 years agoUpdate glossary.md
Karel Zikmund [Sat, 28 Jan 2017 17:06:43 +0000 (09:06 -0800)]
Update glossary.md

7 years agoAdd BenchmarkGames regexdna test
Andy Ayers [Sat, 28 Jan 2017 00:45:38 +0000 (16:45 -0800)]
Add BenchmarkGames regexdna test

Based on the "version 6" test base. As with revcomp, keeping the input
files as unix line ending, and relatively small.

7 years agoMerge pull request #9164 from justinvp/string_split
Dan Moseley [Sat, 28 Jan 2017 00:46:56 +0000 (17:46 -0700)]
Merge pull request #9164 from justinvp/string_split

Remove unnecessary private String.SplitInternal method

7 years agoUpdate glossary.md
Karel Zikmund [Fri, 27 Jan 2017 23:58:18 +0000 (15:58 -0800)]
Update glossary.md

7 years agoRevert `Remove #if false blocks` just for Eventing
danmosemsft [Fri, 27 Jan 2017 23:20:20 +0000 (15:20 -0800)]
Revert `Remove #if false blocks` just for Eventing

7 years agoRevert `Remove FEATURE_MANAGED_ETW_CHANNELS`
danmosemsft [Fri, 27 Jan 2017 23:19:04 +0000 (15:19 -0800)]
Revert `Remove  FEATURE_MANAGED_ETW_CHANNELS`

7 years agoRevert `Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS`
danmosemsft [Fri, 27 Jan 2017 23:17:25 +0000 (15:17 -0800)]
Revert `Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS`

7 years agoMerge pull request #9163 from BruceForstall/FixAddrModeBuilding
Bruce Forstall [Fri, 27 Jan 2017 22:42:26 +0000 (14:42 -0800)]
Merge pull request #9163 from BruceForstall/FixAddrModeBuilding

Stop address mode building in TreeNodeInfoInit pass

7 years agoFix GT_LCL_FLD case in gtGetStructHandleIfPresent
Carol Eidt [Fri, 27 Jan 2017 18:09:58 +0000 (10:09 -0800)]
Fix GT_LCL_FLD case in gtGetStructHandleIfPresent

This method was incorrectly returning the parent struct handle instead of the handle for the field. This is showing up in remorphing of a SIMD field that was assigned in a field-by-field assignment.

Fix #9159

7 years agoJIT: Remove empty try regions (#8949)
Andy Ayers [Fri, 27 Jan 2017 17:36:09 +0000 (09:36 -0800)]
JIT: Remove empty try regions (#8949)

In runtimes that do not support thread abort, a try-finally with
an empty try can be optimized to simply the content of the finally.

See documentation update for more details.

Closes #8924.

7 years agoEnable IsInPrologOrEpilog only if GC Info Decoder is not used (#9136)
Jonghyun Park [Fri, 27 Jan 2017 11:58:40 +0000 (20:58 +0900)]
Enable IsInPrologOrEpilog only if GC Info Decoder is not used (#9136)

* Enable IsInPrologOrEpilog only if GC Info Decoder is not used

7 years agoMerge pull request #9130 from RussKeldorph/corefx
Russ Keldorph [Fri, 27 Jan 2017 10:59:28 +0000 (02:59 -0800)]
Merge pull request #9130 from RussKeldorph/corefx

Support new corefx workflow

7 years agoUse a constant to define the location of '/tmp' (#9150)
Frederik Carlier [Fri, 27 Jan 2017 09:38:32 +0000 (10:38 +0100)]
Use a constant to define the location of '/tmp' (#9150)

* The temp folder is in /data/local/tmp on Android, not /tmp

7 years agoSupport platforms where pthread is part of libc (#9154)
Frederik Carlier [Fri, 27 Jan 2017 09:37:49 +0000 (10:37 +0100)]
Support platforms where pthread is part of libc (#9154)

* Make threading code compatible with Android

7 years agoAdding trivial implementations of Span Fill and Clear (#9162)
Ahson Ahmed Khan [Fri, 27 Jan 2017 04:33:48 +0000 (20:33 -0800)]
Adding trivial implementations of Span Fill and Clear (#9162)

7 years agoRemove unnecessary private String.SplitInternal method
Justin Van Patten [Fri, 27 Jan 2017 03:42:29 +0000 (19:42 -0800)]
Remove unnecessary private String.SplitInternal method

Avoid the unnecessary intermediate method call.

7 years agoMerge pull request #9054 from kouvel/SpanGcReporting
Sivarv [Fri, 27 Jan 2017 03:23:26 +0000 (19:23 -0800)]
Merge pull request #9054 from kouvel/SpanGcReporting

Fix GC info for `ByReference<T>`

7 years agoStop address mode building in TreeNodeInfoInit pass
Bruce Forstall [Fri, 27 Jan 2017 02:44:31 +0000 (18:44 -0800)]
Stop address mode building in TreeNodeInfoInit pass

During Lower, TryCreateAddrMode() will try to find address
modes and convert them to GT_LEA by calling genCreateAddrMode().
Later, the TreeNodeInfoInit() pass walks the IR annotating
nodes with register requirements. It was also calling
genCreateAddrMode() and then clearing various previously
created register requirements, but not actually changing the
node to a GT_LEA. In some cases (in new code I have not checked
in yet), this was leading to code that codegen couldn't handle.
It turns out this second call to genCreateAddrMode() is
unnecessary (and undesireable), so I've removed it. This causes
no asm diffs on amd64 or x86 (run on desktop: superpmi
and ngen, respectively).

7 years agoMerge pull request #9123 from CarolEidt/FixCoreFx15309
Carol Eidt [Fri, 27 Jan 2017 01:54:31 +0000 (17:54 -0800)]
Merge pull request #9123 from CarolEidt/FixCoreFx15309

Fix SIMD field issues

7 years agoPAL Tests: Centralize common code (#9151)
Frederik Carlier [Fri, 27 Jan 2017 01:11:40 +0000 (02:11 +0100)]
PAL Tests: Centralize common code (#9151)

Create a single COMMON_TEST_LIBRARIES variable which contains all libraries
with which the tests link.

7 years agoMerge pull request #9157 from dotnet-bot/from-tfs
Brian Sullivan [Fri, 27 Jan 2017 01:08:58 +0000 (17:08 -0800)]
Merge pull request #9157 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoRevert "Revert "Speed up test native binary syncing in pipeline""
William Godbe [Fri, 27 Jan 2017 00:55:06 +0000 (16:55 -0800)]
Revert "Revert "Speed up test native binary syncing in pipeline""

7 years agoMerge pull request #9155 from dotnet/revert-9152-SpeedUpSync
William Godbe [Fri, 27 Jan 2017 00:55:03 +0000 (16:55 -0800)]
Merge pull request #9155 from dotnet/revert-9152-SpeedUpSync

Revert "Speed up test native binary syncing in pipeline"

7 years agoRevert "Speed up test native binary syncing in pipeline"
William Godbe [Fri, 27 Jan 2017 00:54:39 +0000 (16:54 -0800)]
Revert "Speed up test native binary syncing in pipeline"

7 years agoMerge pull request #9152 from wtgodbe/SpeedUpSync
William Godbe [Fri, 27 Jan 2017 00:54:10 +0000 (16:54 -0800)]
Merge pull request #9152 from wtgodbe/SpeedUpSync

Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9153 from adityamandaleeka/jitdisasm_fix
Aditya Mandaleeka [Fri, 27 Jan 2017 00:53:54 +0000 (16:53 -0800)]
Merge pull request #9153 from adityamandaleeka/jitdisasm_fix

Fix another JIT-disasm check

7 years agoMerge pull request #9141 from pgavlin/RemoveDeadCode
Pat Gavlin [Thu, 26 Jan 2017 23:22:02 +0000 (15:22 -0800)]
Merge pull request #9141 from pgavlin/RemoveDeadCode

Remove dead code in the JIT.

7 years agoDon't require write barrier for assignment to ByRef
Koundinya Veluri [Thu, 26 Jan 2017 22:21:03 +0000 (14:21 -0800)]
Don't require write barrier for assignment to ByRef

The legacy code gen was hitting an assert when trying to use a write barrier for ByRef to ByRef assignment. RyuJIT is also generating an unnecessary write barrier but the assert is not there. As ByRefs are never in GC locations, don't require a write barrier.

7 years agoFix another JIT-disasm check.
Aditya Mandaleeka [Thu, 26 Jan 2017 22:53:54 +0000 (14:53 -0800)]
Fix another JIT-disasm check.

7 years ago[GDB-JIT][Linux] Fix incorrect DWARF offset for primitive types with typedef node...
Evgeny Pavlov [Thu, 26 Jan 2017 22:52:31 +0000 (01:52 +0300)]
[GDB-JIT][Linux] Fix incorrect DWARF offset for primitive types with typedef node (char, byte and sbyte) (#9106)

7 years agoClean up PAL functions (#9149)
Frederik Carlier [Thu, 26 Jan 2017 22:35:37 +0000 (23:35 +0100)]
Clean up PAL functions (#9149)

Clean up PAL functions to enable cross-compiling for Android
* Rename wcsnlen to PAL_wcsnlen, avoids a name collision on Android
* Remove unuwed _getw and _putw functions

7 years agoSpeed up test native binary syncing in pipeline
wtgodbe [Thu, 26 Jan 2017 22:01:18 +0000 (14:01 -0800)]
Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9142 from AndyAyersMS/FixAsserts
Andy Ayers [Thu, 26 Jan 2017 21:18:55 +0000 (13:18 -0800)]
Merge pull request #9142 from AndyAyersMS/FixAsserts

JIT: fix some bad asserts

7 years agoMerge pull request #9129 from RussKeldorph/defineenum
Russ Keldorph [Thu, 26 Jan 2017 21:01:52 +0000 (13:01 -0800)]
Merge pull request #9129 from RussKeldorph/defineenum

Disable assertions in ModuleBuilder.DefineEnum

7 years agoFix encoding of native signatures in the presence of Enum.GetHashCode optimization...
Jan Kotas [Thu, 26 Jan 2017 20:41:45 +0000 (12:41 -0800)]
Fix encoding of native signatures in the presence of Enum.GetHashCode optimization (#9138)

Fixes #9118

7 years agoFix CodeGenMirror build break due to 347243f80d62d5aaa5359ef8c8d. This includes the...
dotnet-bot [Thu, 26 Jan 2017 18:51:17 +0000 (10:51 -0800)]
Fix CodeGenMirror build break due to 347243f80d62d5aaa5359ef8c8d. This includes the new file unwindx86.cpp to be compiled.

[tfs-changeset: 1645771]

7 years agoJIT: fix some bad asserts
Andy Ayers [Thu, 26 Jan 2017 18:48:35 +0000 (10:48 -0800)]
JIT: fix some bad asserts

Fix a few asserts that use = instead of ==.

7 years agoRemove dead code in the JIT.
Pat Gavlin [Thu, 26 Jan 2017 18:35:03 +0000 (10:35 -0800)]
Remove dead code in the JIT.

All code under `LONG_ASG_OPS` and `FANCY_ARRAY_OPT` is statically dead
(these symbols are never defined as anything besides 0). This change
removes this cruft.

7 years agoMerge pull request #9132 from BruceForstall/FixBuildTest
Bruce Forstall [Thu, 26 Jan 2017 18:32:20 +0000 (10:32 -0800)]
Merge pull request #9132 from BruceForstall/FixBuildTest

Fix build-test.cmd

7 years agoMerge pull request #9125 from BruceForstall/ImproveAddrModeJitDump
Bruce Forstall [Thu, 26 Jan 2017 18:16:32 +0000 (10:16 -0800)]
Merge pull request #9125 from BruceForstall/ImproveAddrModeJitDump

Improve address mode detection JitDumps

7 years agoMerge pull request #9126 from BruceForstall/CleanUnusedTailcallNodes
Bruce Forstall [Thu, 26 Jan 2017 18:16:08 +0000 (10:16 -0800)]
Merge pull request #9126 from BruceForstall/CleanUnusedTailcallNodes

Clean up unused tailcall via helper nodes

7 years agoMerge pull request #9133 from BruceForstall/ImproveSimdTests
Bruce Forstall [Thu, 26 Jan 2017 18:14:55 +0000 (10:14 -0800)]
Merge pull request #9133 from BruceForstall/ImproveSimdTests

Improve SIMD tests

7 years agoMerge pull request #9120 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 26 Jan 2017 16:32:50 +0000 (08:32 -0800)]
Merge pull request #9120 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24925-08, beta-24926-02, respectively (master)

7 years agoUpdate CoreClr, CoreFx to beta-24925-08, beta-24926-02, respectively
dotnet-bot [Thu, 26 Jan 2017 15:15:11 +0000 (15:15 +0000)]
Update CoreClr, CoreFx to beta-24925-08, beta-24926-02, respectively

7 years agoExtract GetStackParameterSize from ESPIncrOnReturn (#9135)
Jonghyun Park [Thu, 26 Jan 2017 14:13:23 +0000 (23:13 +0900)]
Extract GetStackParameterSize from ESPIncrOnReturn (#9135)

7 years agoShow register name in UPDATEREG log (#9134)
Jonghyun Park [Thu, 26 Jan 2017 14:10:59 +0000 (23:10 +0900)]
Show register name in UPDATEREG log (#9134)

7 years agoImplement PAL_ProbeMemory with write/read to pipe (issue #4094) (#9122)
Mike McLaughlin [Thu, 26 Jan 2017 14:07:00 +0000 (06:07 -0800)]
Implement PAL_ProbeMemory with write/read to pipe (issue #4094) (#9122)

The recommended way to validate/probe memory on Linux/xplat is to use the write/read file apis to a pipe instead
of the hacky fragile hardware exception catching based probing we have now.

This builds on previous cleanup work in the master branch that removed the PAL Read/WriteProcessMemory
functions and added/replaced them with PAL_ProbeMemory. The DbgTransportSession::CheckBufferAccess that
issue mentions was also replaced.

7 years agoMerge pull request #9114 from erozenfeld/SecurityPermissionAttribute
Eugene Rozenfeld [Thu, 26 Jan 2017 06:08:24 +0000 (22:08 -0800)]
Merge pull request #9114 from erozenfeld/SecurityPermissionAttribute

Remove System.Security.Permissions.SecurityPermissionAttribute from System.Private.CoreLib.

7 years agoMerge pull request #9124 from BruceForstall/FixSimdDetection
Bruce Forstall [Thu, 26 Jan 2017 05:48:36 +0000 (21:48 -0800)]
Merge pull request #9124 from BruceForstall/FixSimdDetection

Fix non-deterministic AVX2 detection

7 years agoReduce number of branches and IL size of string.Trim methods (#9115)
Justin Van Patten [Thu, 26 Jan 2017 05:30:02 +0000 (21:30 -0800)]
Reduce number of branches and IL size of string.Trim methods (#9115)

7 years agoFix GC info for `ByReference<T>`
Koundinya Veluri [Mon, 23 Jan 2017 07:14:09 +0000 (23:14 -0800)]
Fix GC info for `ByReference<T>`

When `ByRefernece<T>` is directly on the stack, not inside a `Span<T>`, ComputeGCLayout was missing to include in the GC info. This was causing many span tests to fail in GCStress=c mode.

7 years agoMerge branch 'copy.names' of github.com:jamesqo/coreclr into copy.names
James Ko [Thu, 26 Jan 2017 03:28:40 +0000 (22:28 -0500)]
Merge branch 'copy.names' of github.com:jamesqo/coreclr into copy.names

7 years agoFix corelib.txt message
James Ko [Thu, 26 Jan 2017 03:28:32 +0000 (22:28 -0500)]
Fix corelib.txt message

7 years agoImprove SIMD tests
Bruce Forstall [Thu, 26 Jan 2017 02:53:44 +0000 (18:53 -0800)]
Improve SIMD tests

1. Since the F1/F2 tests of VectorReturn found an issue Vector2
on x86, I added variants of the same test for Vector3 and Vector4
(by basically copying F1/F2 and altering appropriately).
2. I noticed VectorMin for Vector4 wasn't checking the 'W' member,
so I fixed that.

7 years agoFix parameter names for Array.Copy
James Ko [Thu, 26 Jan 2017 02:40:48 +0000 (21:40 -0500)]
Fix parameter names for Array.Copy

7 years agoFix build-test.cmd
Bruce Forstall [Thu, 26 Jan 2017 02:25:11 +0000 (18:25 -0800)]
Fix build-test.cmd

Move set of __TestWorkingDir so it is available even when
__BuildAgainstPackages is not defined.

7 years agoSupport new corefx workflow
Russ Keldorph [Thu, 19 Jan 2017 16:58:56 +0000 (08:58 -0800)]
Support new corefx workflow

Update the run-corefx-tests.py script and enable it to run CI jobs
against corefx HEAD again.  Also update the instructions for running
corefx tests with a private coreclr.

7 years agoDisable assertions in ModuleBuilder.DefineEnum
Russ Keldorph [Thu, 26 Jan 2017 01:47:55 +0000 (17:47 -0800)]
Disable assertions in ModuleBuilder.DefineEnum

The assertions fire when the enum name contains embedded null characters,
and we don't want to take a breaking change to fix that.

Fixes #7669

7 years agoFix SIMD field issues
Carol Eidt [Thu, 26 Jan 2017 00:18:56 +0000 (16:18 -0800)]
Fix SIMD field issues

First, when a GT_FIELD is transformed to a GT_IND, if its GTF_FLD_NULLCHECK flag is set, it must be cleared. Having this set leads to assertions or worse in value numbering. It is not entirely clear why this is only causing issues for SIMD fields.

Second, when a SIMD assignment is re-morphed, the dest may have already been changed to a GT_IND, in which case no further morphing is required (it is already a simple assignment).

7 years agoRemove System.Security.Permissions.SecurityPermissionAttribute from System.Private...
Eugene Rozenfeld [Wed, 25 Jan 2017 19:09:57 +0000 (11:09 -0800)]
Remove System.Security.Permissions.SecurityPermissionAttribute from System.Private.CoreLib.

When compiling with /unsafe+ Roslyn emits
  .permissionset reqmin
             = {class 'System.Security.Permissions.SecurityPermissionAttribute, System.Private.CoreLib,
             Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' =
             {property bool 'SkipVerification' = bool(true)}}
if System.Security.Permissions.SecurityPermissionAttribute is present.

In particular, System.Private.CoreLib.dll is compiled with /unsafe+ and has the above in the manifest.

https://github.com/dotnet/coreclr/commit/e516211b2d3a3ae2dbd80f2c94b129910a9e280d
made BclRewriter remove System.Security.Permissions.SecurityPermissionAttribute
from System.Private.CoreLib.dll but the above reference remained.

This change removes System.Security.Permissions.SecurityPermissionAttribute completely
to avoid confusion when tools are analyzing msil and try to resolve the manifest
of System.Private.CoreLib.dll.

7 years agoClean up unused tailcall via helper nodes
Bruce Forstall [Fri, 13 Jan 2017 07:28:51 +0000 (23:28 -0800)]
Clean up unused tailcall via helper nodes

For x86 tailcall via helper, delete the unused placeholder target
location nodes when they are replaced.

7 years agoImprove address mode detection JitDumps
Bruce Forstall [Thu, 26 Jan 2017 00:23:55 +0000 (16:23 -0800)]
Improve address mode detection JitDumps

7 years agoFix `Span<T>` GCStress issue on x86 (#9116)
Koundinya Veluri [Thu, 26 Jan 2017 00:28:52 +0000 (16:28 -0800)]
Fix `Span<T>` GCStress issue on x86 (#9116)

x86 by default treats the type of `ByReference<T>` as the actual type of its IntPtr field as an optimization. `ByReference<T>` is a special case where the struct needs to be treated as a value type so that its field can be considered as a by-ref pointer. This fixes `GCStress=f` issues on span tests on x86.

7 years agoFix non-deterministic AVX2 detection
Bruce Forstall [Wed, 11 Jan 2017 06:38:57 +0000 (22:38 -0800)]
Fix non-deterministic AVX2 detection

The caller required ECX to be zero when calling CPUID, but wasn't calling
the getextcpuid() function to cause that to happen.

7 years agoIntroduce REGDISPLAY_BASE (#9095)
Jonghyun Park [Wed, 25 Jan 2017 23:59:20 +0000 (08:59 +0900)]
Introduce REGDISPLAY_BASE (#9095)

* Introduce REGDISPLAY_BASE

7 years agoMerge pull request #9119 from wtgodbe/fixGroovyFx
William Godbe [Wed, 25 Jan 2017 23:54:37 +0000 (15:54 -0800)]
Merge pull request #9119 from wtgodbe/fixGroovyFx

Fix CoreFX Binary copying in netci.groovy

7 years agoFix CoreFX Binary copying in netci.groovy
wtgodbe [Wed, 25 Jan 2017 23:45:52 +0000 (15:45 -0800)]
Fix CoreFX Binary copying in netci.groovy

7 years agoThis will stop building frankenjit.dll for x86.
dotnet-bot [Wed, 25 Jan 2017 23:12:29 +0000 (15:12 -0800)]
This will stop building frankenjit.dll for x86.

[tfs-changeset: 1645686]

7 years agoUse FCThrowArgumentVoid
James Ko [Wed, 25 Jan 2017 22:26:22 +0000 (17:26 -0500)]
Use FCThrowArgumentVoid

7 years agoMerge pull request #9111 from adiaaida/fixCompatJitLeg
Michelle McDaniel [Wed, 25 Jan 2017 21:04:20 +0000 (13:04 -0800)]
Merge pull request #9111 from adiaaida/fixCompatJitLeg

Fix x86compatjit and x86lb legs

7 years agoMerge pull request #9099 from wtgodbe/CoreRootRunTest
William Godbe [Wed, 25 Jan 2017 20:12:18 +0000 (12:12 -0800)]
Merge pull request #9099 from wtgodbe/CoreRootRunTest

Reintroduce building Core_Root to runtest.cmd

7 years agoMerge pull request #9113 from wtgodbe/groovyRelease
William Godbe [Wed, 25 Jan 2017 20:11:06 +0000 (12:11 -0800)]
Merge pull request #9113 from wtgodbe/groovyRelease

Always use release folder for CoreFxBinDir

7 years agoFix x86compatjit and x86lb legs
Michelle McDaniel [Wed, 25 Jan 2017 18:44:49 +0000 (10:44 -0800)]
Fix x86compatjit and x86lb legs

Change 7eacdd7 moved Exclude from runtest.cmd to build-test.cmd, which
broke the x86compatjit and x86lb legs in the lab. This change splits the
builds for these jobs into build.cmd skiptests and build-tests.cmd Exclude
<exclusion file> and removes the Exclude option from the runtest command.

7 years agoAlways use release folder for CoreFxBinDir
wtgodbe [Wed, 25 Jan 2017 19:03:21 +0000 (11:03 -0800)]
Always use release folder for CoreFxBinDir

7 years agoMerge pull request #9112 from wtgodbe/fixbuildagainstpackages
William Godbe [Wed, 25 Jan 2017 18:51:59 +0000 (10:51 -0800)]
Merge pull request #9112 from wtgodbe/fixbuildagainstpackages

Fix arg parsing for buildagainstpackages argument

7 years agoFix arg parsing for buildagainstpackages argument
wtgodbe [Wed, 25 Jan 2017 18:50:50 +0000 (10:50 -0800)]
Fix arg parsing for buildagainstpackages argument

7 years agoMerge pull request #9100 from adiaaida/vso370233
Michelle McDaniel [Wed, 25 Jan 2017 18:50:48 +0000 (10:50 -0800)]
Merge pull request #9100 from adiaaida/vso370233

Update isUsedFromMemory to include CNS_DBLs

7 years agoUpdate isUsedFromMemory to include CNS_DBLs
Michelle McDaniel [Tue, 24 Jan 2017 23:56:18 +0000 (15:56 -0800)]
Update isUsedFromMemory to include CNS_DBLs

Contained GT_CNS_DBLs should also be considered as isUsedFromMemory.

Fixes VSO 370233.

7 years agoMerge pull request #9024 from stephentoub/fix_taskwhenany
Stephen Toub [Wed, 25 Jan 2017 14:31:59 +0000 (09:31 -0500)]
Merge pull request #9024 from stephentoub/fix_taskwhenany

Fix race condition in Task.WhenAny

7 years agoMerge pull request #9102 from dotnet/revert-8969-encoding
Jan Kotas [Wed, 25 Jan 2017 13:48:56 +0000 (05:48 -0800)]
Merge pull request #9102 from dotnet/revert-8969-encoding

Revert "Fast-path for ASCII & UTF8 Encoding ASCII data"

7 years agoMerge pull request #9104 from dotnet/revert-9091-perf-CompareOrdinalIgnoreCaseHelper
Jan Kotas [Wed, 25 Jan 2017 13:48:38 +0000 (05:48 -0800)]
Merge pull request #9104 from dotnet/revert-9091-perf-CompareOrdinalIgnoreCaseHelper

Revert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"

7 years agoMerge pull request #9084 from hqueue/arm/ryujit/fp_sqrt
Sivarv [Wed, 25 Jan 2017 04:50:37 +0000 (20:50 -0800)]
Merge pull request #9084 from hqueue/arm/ryujit/fp_sqrt

[Ryujit/ARM32] Implement GT_INTRINSIC_Sqrt for floating point type

7 years agoRevert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"
Jan Kotas [Wed, 25 Jan 2017 04:17:48 +0000 (20:17 -0800)]
Revert "Improve CompareOrdinalIgnoreCaseHelper performance for matching chars"