platform/upstream/coreclr.git
6 years agoDelete FriendAccessAllowedAttribute and associated dead code (#15101)
Jan Kotas [Sun, 19 Nov 2017 15:41:14 +0000 (07:41 -0800)]
Delete FriendAccessAllowedAttribute and associated dead code (#15101)

- Preserved commented out FriendAccessAllowed on types and methods that are still used as friends in System.Runtime.WindowsRuntime

6 years agoMove debugger attributes to shared partition (#15100)
Jan Kotas [Sun, 19 Nov 2017 15:39:48 +0000 (07:39 -0800)]
Move debugger attributes to shared partition (#15100)

- Break down DebuggerAttributes.cs into more files, apply cleanup done in CoreRT
- Move two outliers (DebuggerStepperBoundaryAttribute, DebuggerVisualizerAttribute) from CoreFX to CoreLib so that all debugger attributes are together

6 years agoDelete SuppressUnmanagedCodeSecurity on QCalls
Jan Kotas [Sun, 19 Nov 2017 13:49:08 +0000 (05:49 -0800)]
Delete SuppressUnmanagedCodeSecurity on QCalls

6 years agoDelete unnecesary SuppressUnmanagedCodeSecurity annotations (#15102)
Jan Kotas [Sun, 19 Nov 2017 06:41:39 +0000 (22:41 -0800)]
Delete unnecesary SuppressUnmanagedCodeSecurity annotations (#15102)

6 years agoMerge pull request #15069 from stephentoub/coreclrnumbershared
Jan Kotas [Sun, 19 Nov 2017 03:24:14 +0000 (19:24 -0800)]
Merge pull request #15069 from stephentoub/coreclrnumbershared

Add TryFormat span-based methods to most primitive types

6 years agoUse TryFormat in StringBuilder
Stephen Toub [Fri, 17 Nov 2017 00:05:50 +0000 (19:05 -0500)]
Use TryFormat in StringBuilder

Avoid string allocations when appending primitives to StringBuilder.  We try to format into the existing array space, and only fall back to using ToString when there isn't enough room and we're going to grow the builder anyway.

6 years agoAdd TryFormat methods to {S}Byte, {U}Int16/32/64, and Boolean
Stephen Toub [Thu, 16 Nov 2017 18:59:51 +0000 (13:59 -0500)]
Add TryFormat methods to {S}Byte, {U}Int16/32/64, and Boolean

6 years agoChange FormatFixed to avoid bounds checks
Stephen Toub [Thu, 16 Nov 2017 17:40:04 +0000 (12:40 -0500)]
Change FormatFixed to avoid bounds checks

Match the original native code's use of pointers.

6 years agoRemove now dead code from managed parsing/formatting.
Stephen Toub [Wed, 15 Nov 2017 23:18:20 +0000 (18:18 -0500)]
Remove now dead code from managed parsing/formatting.

- Remove dead "bigNumber" code.
- Remove custom wcslen function. Use String's.
- Delete dead fcalls from runtime. FormatInt32, FormatUInt32, FormatInt64, and FormatUInt64 are no longer needed.  Delete them and many of the helpers used only by them.

6 years agoImprove performance of managed formatting code
Stephen Toub [Wed, 15 Nov 2017 17:54:06 +0000 (12:54 -0500)]
Improve performance of managed formatting code

- Optimize NumberBuffer passing by reference instead of value. It's a large struct of ~50 bytes; copying it around has non-trivial cost.
- Replace formatting StringBuilder with ref struct and stack allocation. Avoids lots of allocation and associated throughput costs.
- Improve perf of 'D' formatting of 32-bit and 64-bit integers.
- Remove array allocations accessing NumberFormatInfo props.
- Accessing array properties like PercentGroupSizes clones the corresponding field.  That's unnecessary here, as we don't mutate the array.
- Remove int[] allocation from NumberToStringFormat. Span makes it easy to start with stack space and grow to an allocated array as needed.
- Improve perf of hex formatting of integers. Including removing some sizable allocations.
- Manually inline several hot functions called in only one place.
- Tweak some range comparisons in ParseFormatSpecifier.
- Avoid large stackallocs in NumberToString{Fixed}. It's incurring non-trivial overheads.
- Tweak perf of ValueStringBuilder. In particular, make Append(string) faster for the single-char case, which is extremely common in integer formatting due to its prevalence in strings in NumberFormatInfo.

6 years agoMove integer parsing/formatting logic to shared
Stephen Toub [Tue, 14 Nov 2017 21:49:43 +0000 (16:49 -0500)]
Move integer parsing/formatting logic to shared

Moves existing managed parsing code to shared, to be shared with corert.
Takes the managed formatting port from corert and moves that to shared
as well.

6 years agoDelete unused Thread::YieldTask (#15091)
Jan Kotas [Sat, 18 Nov 2017 20:02:58 +0000 (12:02 -0800)]
Delete unused Thread::YieldTask (#15091)

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to prerelease-02217-03, preview1-25918...
dotnet-maestro-bot [Sat, 18 Nov 2017 16:25:54 +0000 (08:25 -0800)]
Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02217-03, preview1-25918-04, preview1-25917-04, master-20171116-0044, respectively (#15094)

6 years agoFix #15057 MemoryStream.CopyToAsync calls Write / WriteAsync with count=0 (#15070)
David Nissimoff [Sat, 18 Nov 2017 15:11:06 +0000 (07:11 -0800)]
Fix #15057 MemoryStream.CopyToAsync calls Write / WriteAsync with count=0 (#15070)

6 years agoRename mscorlib to System.Private.CoreLib in documentation (#15090)
Jan Kotas [Sat, 18 Nov 2017 15:10:35 +0000 (07:10 -0800)]
Rename mscorlib to System.Private.CoreLib in documentation (#15090)

Fixes #15078

6 years agoFix up ConfiguredValueTaskAwaitable signature for new compiler checks (#15092)
Jan Kotas [Sat, 18 Nov 2017 09:03:29 +0000 (01:03 -0800)]
Fix up ConfiguredValueTaskAwaitable signature for new compiler checks (#15092)

6 years agoFix MacOSX build break (#15093)
Jan Kotas [Sat, 18 Nov 2017 09:02:40 +0000 (01:02 -0800)]
Fix MacOSX build break (#15093)

Fixes #15005

6 years agoRemove deprecated Copy Task (#15050)
Karthik Rajasekaran [Fri, 17 Nov 2017 23:26:52 +0000 (15:26 -0800)]
Remove deprecated Copy Task (#15050)

6 years agoEnable FEATURE_DATATARGET4 for Unix Arm builds (#15060)
Chris Sienkiewicz [Fri, 17 Nov 2017 21:55:43 +0000 (13:55 -0800)]
Enable FEATURE_DATATARGET4 for Unix Arm builds (#15060)

6 years agofix for il to native mapping etw events (#15038)
David Mason [Fri, 17 Nov 2017 19:07:31 +0000 (11:07 -0800)]
fix for il to native mapping etw events (#15038)

After investigation the failures look unrelated to my changes. Thanks Jan and Noah.

6 years agoGeneric hardware intrinsics throw exception for non-numeric types (#15068)
Fei Peng [Fri, 17 Nov 2017 17:42:29 +0000 (09:42 -0800)]
Generic hardware intrinsics throw exception for non-numeric types (#15068)

6 years agoDo not check stmts after the tail call candidate if the optimization has been aborted...
Sergey Andreenko [Fri, 17 Nov 2017 02:48:18 +0000 (18:48 -0800)]
Do not check stmts after the tail call candidate if the optimization has been aborted already. (#15065)

Fix #15056

6 years agoMerge pull request #15066 from BruceForstall/CleanUpGroovy2
Bruce Forstall [Fri, 17 Nov 2017 01:09:18 +0000 (17:09 -0800)]
Merge pull request #15066 from BruceForstall/CleanUpGroovy2

Fix two typos in trigger phrases

6 years agoFix two typos in trigger phrases
Bruce Forstall [Fri, 17 Nov 2017 00:58:33 +0000 (16:58 -0800)]
Fix two typos in trigger phrases

6 years agoClean up netci.groovy (#15030)
Bruce Forstall [Thu, 16 Nov 2017 23:20:57 +0000 (15:20 -0800)]
Clean up netci.groovy (#15030)

* Clean up netci.groovy

1. Don't repeat entire list of JIT stress and R2R scenarios over and over;
use functions to check for scenario groups.
2. Merge handling of R2R baseline and stress scenarios.
3. Add function to determine if a scenario is a JIT stress scenario.
4. Fix JIT stress mode display name generator to handle CoreFx tests
as well, preserving the way they are currently displayed.
5. Fix R2R display name generator to handle baseline R2R scenario.
6. Fix bug where x86 R2R baseline job wasn't created.
7. Fix bugs where triggering some jobs, such as R2R jobs, would trigger lots
of other jobs with insufficient trigger strings. Thus, more trigger strings
now have architecture + scenario in them. E.g., "Innerloop" jobs now much
be triggered using a phrase containing "Innerloop".
8. Simplify code that creates builds, and test run commands.
9. Fix mis-casing of COMPlus_JITMinOpts in R2R stress list.
10. Expand list of valid ARM Windows scenarios to match total list of
scenarios, but with some scenarios commented out. Add the
jitstress2 + jitstressregs to the acceptable list. Add note about the
many scenarios in this list that are not in the full scenario list. Add
function to determine if a scenario is in this list.
11. Support crossgen of frameworks using altjit
12. Don't support 'r2r' scenario on arm/armlb/arm64 Windows.

6 years agofix format (#15064)
Sergey Andreenko [Thu, 16 Nov 2017 23:09:19 +0000 (15:09 -0800)]
fix format (#15064)

6 years agoMerge pull request #15063 from dotnet-bot/from-tfs
Brian Sullivan [Thu, 16 Nov 2017 22:52:41 +0000 (14:52 -0800)]
Merge pull request #15063 from dotnet-bot/from-tfs

Merge changes from TFS

6 years agoFix desktop build breaks.
dotnet-bot [Thu, 16 Nov 2017 21:17:49 +0000 (13:17 -0800)]
Fix desktop build breaks.

[tfs-changeset: 1681307]

6 years agoFix 14455: _opt_relrotarg_valref test failure on amd64. (#15032)
Sergey Andreenko [Thu, 16 Nov 2017 18:38:46 +0000 (10:38 -0800)]
Fix 14455: _opt_relrotarg_valref test failure on amd64. (#15032)

* fix the issue

Do not zero-initialize temps, that were created by jit and do not have GC refs.
The confusion was that `varDsc->lvIsTemp` means `short live` variable, when we wanted to ask is it IL temp or not.

* add a non-stress repro.

6 years agodon't use Compiler:: if we are currently in this namescape. (#15045)
Sergey Andreenko [Thu, 16 Nov 2017 04:36:41 +0000 (20:36 -0800)]
don't use Compiler:: if we are currently in this namescape. (#15045)

I was confused that we were outside of Compiler::

6 years agoHashCode based on xxHash32 (#14863)
Jonathan Dickinson [Thu, 16 Nov 2017 02:47:00 +0000 (18:47 -0800)]
HashCode based on xxHash32 (#14863)

* HashCode based on xxHash32

Works by maintaining the xxHash32 state variables (v1 -> v4, length) as well as a queue of values that fall outside of the block size (16 bytes/4 ints). The seed is initialized to random bytes.

Further details, unit tests and history: https://github.com/dotnet/corefx/pull/25013

6 years agoAdded EmitCalli overload (#15040)
Ivan Cronyn [Thu, 16 Nov 2017 02:37:22 +0000 (02:37 +0000)]
Added EmitCalli overload (#15040)

6 years agoImprove SSA dominator computation memory usage (#14965)
mikedn [Wed, 15 Nov 2017 23:14:22 +0000 (01:14 +0200)]
Improve SSA dominator computation memory usage (#14965)

* Improve SSA DF computation memory usage

DF(b) can be stored in a vector instead of a hashtable (set). Nothing needs a O(1) membership test, the duplicates that may be generated during DF construction can be easily avoided by observing that:
* each block in the graph is processed exactly once
* during processing the block is added to the relevant DF vectors, at the end of each vector. If the same DF vector is encountered multiple times then checking if the block is already a member is trivial.

* Use the same block BitVec for topo sort and IDom

* Add BitVecOps::TryAddElemD

Makes the code more readable and avoids the duplicated IsShort test that a separate IsMember/AddElemD may generate.

* Improve SSA IDF computation memory usage

Like DF(b), IDF(b) can be stored in a vector if duplicates are avoided. This can be done by using a BitVector like TopologicalSort and ComputeImmediateDom already do. It's cheaper than using a hashtable (even though it requires a "clear" for every block that has a frontier).

Also, storing IDF(b) into a vector makes it easier to track newly added blocks - they're at the end of the vector. Using a separate "delta" set is no longer needed.

6 years agochange labels to use new Ubuntu machine pool (#15043)
Victor "Nate" Graf [Wed, 15 Nov 2017 22:28:57 +0000 (14:28 -0800)]
change labels to use new Ubuntu machine pool (#15043)

6 years agoMerge pull request #15031 from dotnet-maestro-bot/master-UpdateDependencies
JC Aguilera [Wed, 15 Nov 2017 22:04:21 +0000 (14:04 -0800)]
Merge pull request #15031 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02215-01, preview1-25915-02, preview1-25915-02, master-20171115-1118, respectively (master)

6 years agoMerge pull request #15039 from fiigii/fix
Bruce Forstall [Wed, 15 Nov 2017 21:32:04 +0000 (13:32 -0800)]
Merge pull request #15039 from fiigii/fix

Fix #15035

6 years agoFire tracepoints for methods with no template (#14987)
Victor "Nate" Graf [Wed, 15 Nov 2017 21:29:47 +0000 (13:29 -0800)]
Fire tracepoints for methods with no template (#14987)

6 years agoAdding null check for implicit cast from array/arraysegment to Span (#15044)
Ahson Khan [Wed, 15 Nov 2017 21:25:01 +0000 (13:25 -0800)]
Adding null check for implicit cast from array/arraysegment to Span (#15044)

6 years agoRe-enable Standalone GC job, running daily (#15015)
Sean Gillespie [Wed, 15 Nov 2017 21:18:42 +0000 (13:18 -0800)]
Re-enable Standalone GC job, running daily (#15015)

* Re-enable Standalone GC job, running daily

* osGroup is already defined

* Fix failed assertion

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to prerelease-02215-01, preview1-25915...
dotnet-maestro-bot [Wed, 15 Nov 2017 19:37:53 +0000 (11:37 -0800)]
Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02215-01, preview1-25915-02, preview1-25915-02, master-20171115-1118, respectively

6 years agoDelete move to return spill in the implicit tail call in the inlinee with several...
Sergey Andreenko [Wed, 15 Nov 2017 18:52:27 +0000 (10:52 -0800)]
Delete move to return spill in the implicit tail call in the inlinee with several returns. (#14945)

* add fgNeedReturnSpillTemp
* fix the issue
* add the repro without stress mode

6 years agoFix #15035
Fei Peng [Wed, 15 Nov 2017 09:22:59 +0000 (01:22 -0800)]
Fix #15035

6 years agoRemove out-of-use method and properties from appdomain (#15029)
Zhukov Maxim [Wed, 15 Nov 2017 02:30:43 +0000 (05:30 +0300)]
Remove out-of-use method and properties from appdomain (#15029)

Not supported on CoreCLR appdomain's method and properties were removed

#15001

6 years agoEnable Globalization Invariant mode using Environment Variable (#15024)
Tarek Mahmoud Sayed [Wed, 15 Nov 2017 01:45:08 +0000 (17:45 -0800)]
Enable Globalization Invariant mode using Environment Variable (#15024)

* Enable Globalization Invariant mode using Environment Variable

* Prefix the environment variable name with DOTNET_

* Address the feedback

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to prerelease-02214-03, preview1-25914...
dotnet-maestro-bot [Wed, 15 Nov 2017 00:46:49 +0000 (16:46 -0800)]
Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02214-03, preview1-25914-01, preview1-25913-03, master-20171113-1530, respectively (#15007)

6 years agomove fgFixupStructReturn (#14966)
Sergey Andreenko [Wed, 15 Nov 2017 00:30:52 +0000 (16:30 -0800)]
move fgFixupStructReturn (#14966)

It was done twice during the tail call optimization and in the args morphing. The problem is if tail call optimization was aborted it was not clear was `fgFixupStructReturn` called or not.

6 years agoJIT: look through GT_RET_EXPR when forming inline candidates
Andy Ayers [Fri, 10 Nov 2017 01:07:12 +0000 (17:07 -0800)]
JIT: look through GT_RET_EXPR when forming inline candidates

If an inline candidate has args that come from calls that are inline
candidates, the arg trees for the candidate may be GT_RET_EXPRs. Since
the jit inlines in preorder, any arg inlines will have been resolved
by the time we get to the candidate. So, the jit can look back through
the GT_RET_EXPR to get a better handle on the actual arg tree.

Doing this has several small benefits:
* It short-circuits parts of the subsequent GT_RET_EXPR update and so
saves a little bit of throughput.
* It potentially allows for more streamlined arg passing since the actual
node side effects may be less constraining than the placeholder effects on
the GT_RET_EXPR (which must be "worst case").
* It may unblock inlines as actual arg values can be seen when evaluating
the candidate for profitability.

During testing I found cases where looking at the actual arg seemed to
degrade information. This turned out to be a misuse of `argHasLdargaOp`
to indicate that a caller-supplied argument was potentially locally
aliased.

This misuse was blocking type propagation when the actual arg tree was seen to
be an aliasable local reference instead of the formerly opaque GT_RET_EXPR.
To fix this, I split out the aliased arg case with a different flag. All
that the jit needs to ensure in the aliased case is that it does not directly
substitute the arg; the arg must be evaluated at the point of the call. The
type of the actual can safely propagate to the arg as long as the arg itself
is not modifiable.

Added a utility for walking back through GT_RET_EXPRs and updated the
other case where the jit was doing this to use the utility as well.

Closes #14174.

6 years agoMerge pull request #15014 from fiigii/vexencoding
Carol Eidt [Tue, 14 Nov 2017 22:39:05 +0000 (14:39 -0800)]
Merge pull request #15014 from fiigii/vexencoding

Change VEX-encoding selection to avoid AVX-SSE transition penalties

6 years agoMerge pull request #15026 from jashook/re_add_arm64_stress
Jarret Shook [Tue, 14 Nov 2017 22:01:34 +0000 (14:01 -0800)]
Merge pull request #15026 from jashook/re_add_arm64_stress

Add jitstress arm64 jobs again

6 years agoMerge pull request #14914 from CarolEidt/Fix14665
Carol Eidt [Tue, 14 Nov 2017 21:59:31 +0000 (13:59 -0800)]
Merge pull request #14914 from CarolEidt/Fix14665

ARMARCH: no cascaded adds in addr mode

6 years agosmall changes to get coreclr building on FreeBSD again (#14964)
Tomas Weinfurt [Tue, 14 Nov 2017 21:44:25 +0000 (13:44 -0800)]
small changes to get coreclr building on FreeBSD again (#14964)

6 years agoAdd jitstress arm64 jobs again
jashook [Tue, 14 Nov 2017 21:22:48 +0000 (13:22 -0800)]
Add jitstress arm64 jobs again

6 years agoMerge pull request #15023 from BruceForstall/FixJitOpts
Bruce Forstall [Tue, 14 Nov 2017 20:59:01 +0000 (12:59 -0800)]
Merge pull request #15023 from BruceForstall/FixJitOpts

Fix RunTest.cmd argument parsing

6 years agoChange VEX-encoding selection to avoid AVX-SSE transition penalties
Fei Peng [Tue, 14 Nov 2017 05:42:57 +0000 (21:42 -0800)]
Change VEX-encoding selection to avoid AVX-SSE transition penalties

6 years agoFix RunTest.cmd argument parsing
Bruce Forstall [Tue, 14 Nov 2017 18:23:00 +0000 (10:23 -0800)]
Fix RunTest.cmd argument parsing

The "jitminopts" and "jitforcerelocs" options were eating whatever
option followed them.

6 years agoMerge pull request #15017 from BruceForstall/DisableArm64Tests
Bruce Forstall [Tue, 14 Nov 2017 17:46:09 +0000 (09:46 -0800)]
Merge pull request #15017 from BruceForstall/DisableArm64Tests

Disable arm64 tests that fail in Debug CI runs

6 years agoAdd object null checks in Memory<T> APIs to support default (#14816)
Ahson Khan [Tue, 14 Nov 2017 15:31:48 +0000 (07:31 -0800)]
Add object null checks in Memory<T> APIs to support default (#14816)

* Add object null checks in Memory<T> APIs to support default

* Changing Empty property to return default value.

* Update use of object null checks

* Addressing PR feedback.

* Removing typeof char check.

* Fix typo

6 years agoFix CppCodeGen break with latest XCode (dotnet/corert#4926)
Jan Kotas [Tue, 14 Nov 2017 12:13:22 +0000 (04:13 -0800)]
Fix CppCodeGen break with latest XCode (dotnet/corert#4926)

Latest XCode errors on ordered comparison of pointer with integer

Also, fixed some unnecessary always-true comparisons that the C++ compiler emitted warnings for.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoMerge pull request #14929 from sdmaclea/PR-ARM64-SIMD-genStructReturn
Carol Eidt [Tue, 14 Nov 2017 15:20:52 +0000 (07:20 -0800)]
Merge pull request #14929 from sdmaclea/PR-ARM64-SIMD-genStructReturn

[Arm64] SIMD genStructReturn

6 years agoMerge pull request #14934 from sdmaclea/PR-ARM64-SIMD-genMultiRegCallStoreToLocal
Carol Eidt [Tue, 14 Nov 2017 15:19:54 +0000 (07:19 -0800)]
Merge pull request #14934 from sdmaclea/PR-ARM64-SIMD-genMultiRegCallStoreToLocal

[Arm64] SIMD genMultiRegCallStoreToLocal

6 years agoMerge pull request #14975 from sdmaclea/PR-SIMD-genSIMDIntrinsicInit-0
Carol Eidt [Tue, 14 Nov 2017 15:18:06 +0000 (07:18 -0800)]
Merge pull request #14975 from sdmaclea/PR-SIMD-genSIMDIntrinsicInit-0

[ARM64] genSIMDIntrinsicInit contain 0

6 years agoMerge pull request #14976 from sdmaclea/PR-SIMD-genCodeForStoreLclVar-0
Carol Eidt [Tue, 14 Nov 2017 15:16:29 +0000 (07:16 -0800)]
Merge pull request #14976 from sdmaclea/PR-SIMD-genCodeForStoreLclVar-0

[ARM64] SIMD genCodeForStoreLclVar zero init

6 years agoAdding Memory CopyTo APIs (#15010)
Ahson Khan [Tue, 14 Nov 2017 05:11:53 +0000 (21:11 -0800)]
Adding Memory CopyTo APIs (#15010)

6 years agoMerge pull request #15018 from dotnet-bot/from-tfs
Brian Sullivan [Tue, 14 Nov 2017 02:01:29 +0000 (18:01 -0800)]
Merge pull request #15018 from dotnet-bot/from-tfs

Merge changes from TFS

6 years agoMerge pull request #14944 from sdmaclea/PR-ARM64-SIMD-Partial-Callee-Save-SIMD12
Carol Eidt [Tue, 14 Nov 2017 00:31:57 +0000 (16:31 -0800)]
Merge pull request #14944 from sdmaclea/PR-ARM64-SIMD-Partial-Callee-Save-SIMD12

[ARM64] SIMD Partial Callee Save SIMD12

6 years agoDisable arm64 tests that fail in Debug CI runs
Bruce Forstall [Tue, 14 Nov 2017 00:25:30 +0000 (16:25 -0800)]
Disable arm64 tests that fail in Debug CI runs

Addresses #15016, until these can be investigated.

6 years agoMerge pull request #14953 from mikedn/ssa-mem-track
Bruce Forstall [Tue, 14 Nov 2017 00:05:17 +0000 (16:05 -0800)]
Merge pull request #14953 from mikedn/ssa-mem-track

Track actual SSA memory usage

6 years agoMerge pull request #15013 from BruceForstall/DisableTests
Bruce Forstall [Mon, 13 Nov 2017 23:26:15 +0000 (15:26 -0800)]
Merge pull request #15013 from BruceForstall/DisableTests

Disable ARM tests

6 years agoMerge pull request #14970 from jashook/better_smarty_archiving
Jarret Shook [Mon, 13 Nov 2017 23:11:23 +0000 (15:11 -0800)]
Merge pull request #14970 from jashook/better_smarty_archiving

Better smarty archiving

6 years agoDisable VectorConvert_r/VectorConvert_ro for ARM
Bruce Forstall [Mon, 13 Nov 2017 22:01:52 +0000 (14:01 -0800)]
Disable VectorConvert_r/VectorConvert_ro for ARM

The are now failing due to #14665.

6 years agoEnable long-running or resource-intensive GC tests
Bruce Forstall [Mon, 13 Nov 2017 21:56:28 +0000 (13:56 -0800)]
Enable long-running or resource-intensive GC tests

Specifically,
```
foregroundgc
lohfragmentation
536168
```

These are already disabled for arm64 and in issues.targets and the
various non-Windows *.txt files.

6 years agoMerge pull request #14988 from briansull/fix-523532
Brian Sullivan [Mon, 13 Nov 2017 21:38:56 +0000 (13:38 -0800)]
Merge pull request #14988 from briansull/fix-523532

Fix VSO 523532 - Possible mismatch in size on GT_EQ created for switch expansion

6 years agoMerge pull request #14921 from BruceForstall/EnableRyuJitArm32Crossgen
Bruce Forstall [Mon, 13 Nov 2017 21:19:22 +0000 (13:19 -0800)]
Merge pull request #14921 from BruceForstall/EnableRyuJitArm32Crossgen

Enable RyuJIT/arm32 crossgen compilation of S.P.C.dll

6 years agoMerge pull request dotnet/corert#4918 from dotnet/nmirror
Jan Kotas [Sun, 12 Nov 2017 04:45:53 +0000 (20:45 -0800)]
Merge pull request dotnet/corert#4918 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoMerge pull request #14984 from jashook/add_new_publish_vars
Jarret Shook [Mon, 13 Nov 2017 20:32:18 +0000 (12:32 -0800)]
Merge pull request #14984 from jashook/add_new_publish_vars

Use new publish vars

6 years agoUse new publish vars
jashook [Sat, 11 Nov 2017 00:06:31 +0000 (16:06 -0800)]
Use new publish vars

6 years agoBetter smarty archiving
jashook [Thu, 9 Nov 2017 23:35:37 +0000 (15:35 -0800)]
Better smarty archiving

6 years agofix DevDiv521437
dotnet-bot [Mon, 13 Nov 2017 18:32:12 +0000 (10:32 -0800)]
fix DevDiv521437

[tfs-changeset: 1680966]

6 years agocheck that VM set pAddr == nullptr (#15003)
Sergey Andreenko [Mon, 13 Nov 2017 18:27:26 +0000 (10:27 -0800)]
check that VM set pAddr == nullptr (#15003)

When VM returns addr != nullptr from getHelperFtn, it must set pAddr to nullptr.

6 years agoEnable RyuJIT/arm32 crossgen compilation of S.P.C.dll
Bruce Forstall [Wed, 8 Nov 2017 05:49:26 +0000 (21:49 -0800)]
Enable RyuJIT/arm32 crossgen compilation of S.P.C.dll

Currently, an ARM build and CI test run uses the legacy backend
arm32 JIT. This change enables a build of RyuJIT/arm32 as a
cross-targeting protojit.dll (altjit) in the cross tools (placed
next to the x86 hosted crossgen.exe in the build), and uses that
RyuJIT/arm32 cross-compiler to build System.Private.CoreLib.dll.
The CI system when testing RyuJIT/arm32 will use this to test
the crossgen'ed System.Private.CoreLib.dll built by RyuJIT/arm32
for all "arm" architecture jobs.

6 years agoMerge pull request #14920 from dotnet-maestro-bot/master-UpdateDependencies
Wes Haggard [Mon, 13 Nov 2017 17:43:41 +0000 (09:43 -0800)]
Merge pull request #14920 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02210-05, preview1-25913-02, preview1-25913-02, master-20171110-0018, respectively (master)

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to prerelease-02210-05, preview1-25913...
dotnet-maestro-bot [Mon, 13 Nov 2017 14:41:28 +0000 (06:41 -0800)]
Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02210-05, preview1-25913-02, preview1-25913-02, master-20171110-0018, respectively

6 years agoFix sempahore spinning fix (#15002)
Stephen Toub [Mon, 13 Nov 2017 06:12:44 +0000 (01:12 -0500)]
Fix sempahore spinning fix (#15002)

A recent fix around SemaphoreSlim's spinning has led to it spinning even when spinning isn't necessary, resulting in measurable overheads when trying to acquire a semaphore that has count available.  This fixes that by putting back the check to avoid spinning if count is known to be available.

6 years agoPort https://github.com/dotnet/coreclr/pull/13148 to master (#14999)
Michal Strehovský [Sun, 12 Nov 2017 20:01:31 +0000 (21:01 +0100)]
Port https://github.com/dotnet/coreclr/pull/13148 to master (#14999)

6 years agoUpdating the xUnit Performance Api with bug fixes to the benchmark scenarios (#14986)
José Rivero [Sun, 12 Nov 2017 20:01:08 +0000 (12:01 -0800)]
Updating the xUnit Performance Api with bug fixes to the benchmark scenarios (#14986)

This newer version fixes collecting data on x86 where:
1. The Jit generate methods at runtime and that are not associated with any loaded module
2. Modules are loaded/unloaded multiple times
3. This newer version of the Api added some breaking changes to the Api interface

6 years agoAllow non-abstract non-public interface methods in ILAsm (#14998)
Michal Strehovský [Sun, 12 Nov 2017 19:58:20 +0000 (20:58 +0100)]
Allow non-abstract non-public interface methods in ILAsm (#14998)

This is to support the default interface method feature in C#.
See https://github.com/dotnet/csharplang/blob/5971e753a20a32e5f471a5439c88e667e32413f0/proposals/default-interface-methods.md

6 years agoARMARCH: no cascaded adds in addr mode
Carol Eidt [Wed, 8 Nov 2017 01:42:55 +0000 (17:42 -0800)]
ARMARCH: no cascaded adds in addr mode

On ARM and ARM64, cascaded `ADD`s in the op2 position of the root ADD are not folded into a single addressing mode. However, in `gtSetEvalOrder` it assumes that they will, so it walks both operands of the addr looking for more `ADD`s. This leads to an assert because the leaf nodes it winds up with are not the same as those returned by `genCreateAddrMode()`.

Fix #14665

6 years agoRemove unnecessary Exception._exceptionMethodString field (#14992)
Stefan Nikolei [Sat, 11 Nov 2017 21:30:35 +0000 (22:30 +0100)]
Remove unnecessary Exception._exceptionMethodString field (#14992)

6 years agoFix implementation of GCToOSInterface::VirtualCommit to ditch the pages (#14979)
Jan Kotas [Sat, 11 Nov 2017 15:21:18 +0000 (07:21 -0800)]
Fix implementation of GCToOSInterface::VirtualCommit to ditch the pages (#14979)

The GC depends on the pages to be zeroed out when they are mapped in again

6 years agoMove '-all' from filename to args in Mac build (#14990)
Davis Goodin [Sat, 11 Nov 2017 01:41:08 +0000 (19:41 -0600)]
Move '-all' from filename to args in Mac build (#14990)

6 years agoFix VSO 523532 - Possible mismatch in size on GT_EQ created for switch expansion
Brian Sullivan [Sat, 11 Nov 2017 00:59:48 +0000 (16:59 -0800)]
Fix VSO 523532 - Possible mismatch in size on GT_EQ created for switch expansion

6 years agoDisable GC test requires much bigger amount of memory than arm32 machine may ever...
Roman Artemev [Fri, 10 Nov 2017 23:38:46 +0000 (15:38 -0800)]
Disable GC test requires much bigger amount of memory than arm32 machine may ever have (#14981)

6 years agoMerge pull request #14973 from sdmaclea/PR-ARM64-VECTOR-LD-REG-SIZE
Brian Sullivan [Fri, 10 Nov 2017 20:49:23 +0000 (12:49 -0800)]
Merge pull request #14973 from sdmaclea/PR-ARM64-VECTOR-LD-REG-SIZE

[Arm64] Do not change vector load register size

6 years agoRun clean -all instead of just -b (#14978)
Karthik Rajasekaran [Fri, 10 Nov 2017 20:03:48 +0000 (12:03 -0800)]
Run clean -all instead of just -b (#14978)

6 years ago[Arm64] Do not change vector load register size
Steve MacLean [Thu, 9 Nov 2017 17:13:51 +0000 (12:13 -0500)]
[Arm64] Do not change vector load register size

6 years ago[ARM64] SIMD genCodeForStoreLclVar zero init
Steve MacLean [Fri, 10 Nov 2017 16:09:33 +0000 (11:09 -0500)]
[ARM64] SIMD genCodeForStoreLclVar zero init

6 years ago[ARM64] genSIMDIntrinsicInit contain 0
Steve MacLean [Fri, 10 Nov 2017 17:57:21 +0000 (12:57 -0500)]
[ARM64] genSIMDIntrinsicInit contain 0

6 years agoMerge pull request #14974 from jcagme/master
JC Aguilera [Fri, 10 Nov 2017 18:45:29 +0000 (10:45 -0800)]
Merge pull request #14974 from jcagme/master

Removing retry parameters since they are not used anymore

6 years agoRemoving retry parameters since they are not used anymore
Juan Carlos Aguilera Mendez [Fri, 10 Nov 2017 17:49:09 +0000 (09:49 -0800)]
Removing retry parameters since they are not used anymore

6 years agoAdded UnixEpoch to DateTime and DateTimeOffset. (#14648)
Adrian Godong [Fri, 10 Nov 2017 16:25:50 +0000 (08:25 -0800)]
Added UnixEpoch to DateTime and DateTimeOffset. (#14648)

* Added UnixEpoch to DateTime and DateTimeOffset.

* Use ticks instead.

* Use DateTime.TicksTo1970

* Consolidated UnixEpochTicks