platform/upstream/coreclr.git
6 years agoSkip EDI boundary for async (#15781)
Ben Adams [Wed, 17 Jan 2018 17:52:06 +0000 (17:52 +0000)]
Skip EDI boundary for async (#15781)

6 years agoMove public StreamReader/Writer to CoreLib (#15884)
Jan Kotas [Wed, 17 Jan 2018 16:54:19 +0000 (08:54 -0800)]
Move public StreamReader/Writer to CoreLib (#15884)

6 years agoAdd MDA (Managed Debugging Assistant) (#15875)
Matt Warren [Wed, 17 Jan 2018 13:07:07 +0000 (13:07 +0000)]
Add MDA (Managed Debugging Assistant) (#15875)

* Add MDA (Managed Debugging Assistant)

* Info about MDA's in .NET Core

6 years agoMerge pull request #15893 from BruceForstall/FixR2RCrossgen
Bruce Forstall [Wed, 17 Jan 2018 06:51:46 +0000 (22:51 -0800)]
Merge pull request #15893 from BruceForstall/FixR2RCrossgen

Fix non-Windows R2R testing in CI

6 years agoMerge pull request #15894 from BruceForstall/DisableGetGenerationInGCStress
Bruce Forstall [Wed, 17 Jan 2018 06:45:44 +0000 (22:45 -0800)]
Merge pull request #15894 from BruceForstall/DisableGetGenerationInGCStress

Disable GetGeneration from GCStress runs

6 years agoMerge pull request #15538 from tannergooding/sse-intrinsics
Tanner Gooding [Wed, 17 Jan 2018 03:05:14 +0000 (19:05 -0800)]
Merge pull request #15538 from tannergooding/sse-intrinsics

Implement the SSE hardware intrinsics.

6 years agoAdd missing config.h.in entry for HAVE_LIBINTL_H (#15887)
Jan Vorlicek [Wed, 17 Jan 2018 02:39:25 +0000 (03:39 +0100)]
Add missing config.h.in entry for HAVE_LIBINTL_H (#15887)

In my change yesterday, I have added HAVE_LIBINTL_H to the
configure.cmake file, but forgotten to add the corresponding define to
the config.h.in file. This fixes it.

6 years agoMatching non-shared Decimal changes
Jan Kotas [Tue, 16 Jan 2018 23:26:16 +0000 (15:26 -0800)]
Matching non-shared Decimal changes

6 years agoMisc Decimal optimizations
Pent Ploompuu [Wed, 22 Nov 2017 23:42:37 +0000 (01:42 +0200)]
Misc Decimal optimizations

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoUpdate corelib shared README.md (dotnet/corefx#26366)
Santiago Fernandez Madero [Tue, 16 Jan 2018 21:53:23 +0000 (13:53 -0800)]
Update corelib shared README.md (dotnet/corefx#26366)

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoDisable GetGeneration from GCStress runs
Bruce Forstall [Wed, 17 Jan 2018 01:00:20 +0000 (17:00 -0800)]
Disable GetGeneration from GCStress runs

This test has exhibited "random" failures during GCStress runs
(which are believed to be due to the test itself, not some
product issue). So, disable it from GCStress runs.

6 years agoFix non-Windows R2R testing in CI
Bruce Forstall [Wed, 17 Jan 2018 00:44:38 +0000 (16:44 -0800)]
Fix non-Windows R2R testing in CI

The xunit.performance.api.dll assembly depends on
Microsoft.3rdpartytools.MarkdownLog, which cannot
be found. Add xunit.performance.api.dll to the
list of assemblies that are not crossgen'ed
during R2R testing.

6 years agoUpdate filetimes to nsec (#15872)
Dan Moseley [Wed, 17 Jan 2018 00:35:25 +0000 (16:35 -0800)]
Update filetimes to nsec (#15872)

6 years agoResolving PR feedback
Tanner Gooding [Wed, 17 Jan 2018 00:22:33 +0000 (16:22 -0800)]
Resolving PR feedback

6 years agoAdding tests for the SSE Load, LoadAligned, LoadHigh, LoadLow, and LoadScalar intrinsics
Tanner Gooding [Tue, 16 Jan 2018 01:48:10 +0000 (17:48 -0800)]
Adding tests for the SSE Load, LoadAligned, LoadHigh, LoadLow, and LoadScalar intrinsics

6 years agoAdding support for the SSE Load, LoadAligned, LoadHigh, LoadLow, and LoadScalar intri...
Tanner Gooding [Tue, 16 Jan 2018 01:47:16 +0000 (17:47 -0800)]
Adding support for the SSE Load, LoadAligned, LoadHigh, LoadLow, and LoadScalar intrinsics

6 years agoUpdating most of the SSE Compare intrinsics to support containment
Tanner Gooding [Sat, 13 Jan 2018 04:47:07 +0000 (20:47 -0800)]
Updating most of the SSE Compare intrinsics to support containment

6 years agoUpdating the SSE HWIntrinsics to share code where possible.
Tanner Gooding [Sat, 13 Jan 2018 01:05:04 +0000 (17:05 -0800)]
Updating the SSE HWIntrinsics to share code where possible.

6 years agoAdding tests for the SSE MoveMask intrinsic
Tanner Gooding [Fri, 12 Jan 2018 05:27:38 +0000 (21:27 -0800)]
Adding tests for the SSE MoveMask intrinsic

6 years agoAdding support for the SSE MoveMask intrinsic
Tanner Gooding [Fri, 12 Jan 2018 05:27:23 +0000 (21:27 -0800)]
Adding support for the SSE MoveMask intrinsic

6 years agoAdding tests for the SSE Set scalar intrinsic
Tanner Gooding [Sun, 31 Dec 2017 00:42:35 +0000 (16:42 -0800)]
Adding tests for the SSE Set scalar intrinsic

6 years agoAdding support for the SSE Set scalar intrinsic
Tanner Gooding [Sun, 31 Dec 2017 00:39:08 +0000 (16:39 -0800)]
Adding support for the SSE Set scalar intrinsic

6 years agoAdding tests for the SSE Compare<op>Ordered and Compare<op>Unordered scalar intrinsic...
Tanner Gooding [Sun, 31 Dec 2017 00:04:24 +0000 (16:04 -0800)]
Adding tests for the SSE Compare<op>Ordered and Compare<op>Unordered scalar intrinsics for op: eq, gt, ge, lt, le, and ne

6 years agoAdding support for the SSE Compare<op>Ordered and Compare<op>Unordered scalar intrins...
Tanner Gooding [Sat, 30 Dec 2017 23:49:32 +0000 (15:49 -0800)]
Adding support for the SSE Compare<op>Ordered and Compare<op>Unordered scalar intrinsics for op: eq, gt, ge, lt, le, and ne

6 years agoAdding tests for the SSE ConvertTo Int32, Int32WithTruncation, Int64WithTruncation...
Tanner Gooding [Sat, 30 Dec 2017 18:34:44 +0000 (10:34 -0800)]
Adding tests for the SSE ConvertTo Int32, Int32WithTruncation, Int64WithTruncation, Single, and Vector128Single scalar intrinsics

6 years agoAdding support for the SSE ConvertTo Int32, Int32WithTruncation, Int64WithTruncation...
Tanner Gooding [Sat, 30 Dec 2017 18:03:06 +0000 (10:03 -0800)]
Adding support for the SSE ConvertTo Int32, Int32WithTruncation, Int64WithTruncation, Single, and Vector128Single scalar intrinsics

6 years agoAdding tests for the SSE Reciprocal, ReciprocalSqrt, and Sqrt scalar intrinsics
Tanner Gooding [Fri, 29 Dec 2017 03:22:01 +0000 (19:22 -0800)]
Adding tests for the SSE Reciprocal, ReciprocalSqrt, and Sqrt scalar intrinsics

6 years agoAdding support for the SSE Reciprocal, ReciprocalSqrt, and Sqrt scalar intrinsics
Tanner Gooding [Fri, 29 Dec 2017 03:11:51 +0000 (19:11 -0800)]
Adding support for the SSE Reciprocal, ReciprocalSqrt, and Sqrt scalar intrinsics

6 years agoAdding tests for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord scalar intrinsics
Tanner Gooding [Fri, 29 Dec 2017 02:43:01 +0000 (18:43 -0800)]
Adding tests for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord scalar intrinsics

6 years agoAdding support for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord scalar...
Tanner Gooding [Fri, 29 Dec 2017 01:55:50 +0000 (17:55 -0800)]
Adding support for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord scalar intrinsics

6 years agoAdding tests for the SSE Add, Divide, Max, Min, Move, Multiply, and Subtract scalar...
Tanner Gooding [Fri, 29 Dec 2017 01:41:18 +0000 (17:41 -0800)]
Adding tests for the SSE Add, Divide, Max, Min, Move, Multiply, and Subtract scalar intrinsics

6 years agoAdding support for the SSE Add, Divide, Max, Min, Move, Multiply, and Subtract scalar...
Tanner Gooding [Fri, 29 Dec 2017 01:27:49 +0000 (17:27 -0800)]
Adding support for the SSE Add, Divide, Max, Min, Move, Multiply, and Subtract scalar intrinsics

6 years agoAdding tests for the SSE StaticCast intrinsic
Tanner Gooding [Thu, 28 Dec 2017 02:55:18 +0000 (18:55 -0800)]
Adding tests for the SSE StaticCast intrinsic

6 years agoAdding support for the SSE StaticCast intrinsic
Tanner Gooding [Thu, 28 Dec 2017 01:04:11 +0000 (17:04 -0800)]
Adding support for the SSE StaticCast intrinsic

6 years agoAdding tests for the SSE Shuffle intrinsic
Tanner Gooding [Sun, 24 Dec 2017 18:01:00 +0000 (10:01 -0800)]
Adding tests for the SSE Shuffle intrinsic

6 years agoAdding support for the SSE Shuffle intrinsic
Tanner Gooding [Sun, 24 Dec 2017 17:41:43 +0000 (09:41 -0800)]
Adding support for the SSE Shuffle intrinsic

6 years agoAdding tests for the SSE Set, SetAll, and SetZero intrinsics
Tanner Gooding [Mon, 25 Dec 2017 02:39:57 +0000 (18:39 -0800)]
Adding tests for the SSE Set, SetAll, and SetZero intrinsics

6 years agoAdding support for the SSE Set, SetAll, and SetZero intrinsics
Tanner Gooding [Mon, 25 Dec 2017 01:15:54 +0000 (17:15 -0800)]
Adding support for the SSE Set, SetAll, and SetZero intrinsics

6 years agoAdding tests for the SSE Reciprocal, ReciprocalSqrt, and Sqrt intrinsics
Tanner Gooding [Sun, 24 Dec 2017 04:45:49 +0000 (20:45 -0800)]
Adding tests for the SSE Reciprocal, ReciprocalSqrt, and Sqrt intrinsics

6 years agoAdding support for the SSE Reciprocal, ReciprocalSqrt, and Sqrt intrinsics
Tanner Gooding [Sun, 24 Dec 2017 04:38:29 +0000 (20:38 -0800)]
Adding support for the SSE Reciprocal, ReciprocalSqrt, and Sqrt intrinsics

6 years agoAdding tests for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord intrinsics
Tanner Gooding [Fri, 15 Dec 2017 06:08:23 +0000 (22:08 -0800)]
Adding tests for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord intrinsics

Adding tests for the SSE compare gt, and gte intrinsics

6 years agoAdding support for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord intrinsics
Tanner Gooding [Fri, 15 Dec 2017 05:41:03 +0000 (21:41 -0800)]
Adding support for the SSE compare eq, gt, ge, lt, le, ne, ord, and unord intrinsics

6 years agoAdding tests for the And, AndNot, Divide, Max, Min, MoveHighToLow, MoveLowToHigh...
Tanner Gooding [Fri, 15 Dec 2017 05:11:48 +0000 (21:11 -0800)]
Adding tests for the And, AndNot, Divide, Max, Min, MoveHighToLow, MoveLowToHigh, Multiply, Or, Subtract, UnpackHigh, UnpackLow, and Xor SSE intrinsics.

6 years agoAdding support for the SSE And, AndNot, Divide, Max, Min, MoveHighToLow, MoveLowToHig...
Tanner Gooding [Fri, 15 Dec 2017 03:05:15 +0000 (19:05 -0800)]
Adding support for the SSE And, AndNot, Divide, Max, Min, MoveHighToLow, MoveLowToHigh, Multiply, Or, Subtract, UnpackHigh, UnpackLow, and Xor instructions.

6 years agoAdding the remaining SSE intrinsics to hwintrinsiclistxarch.h
Tanner Gooding [Fri, 15 Dec 2017 02:50:23 +0000 (18:50 -0800)]
Adding the remaining SSE intrinsics to hwintrinsiclistxarch.h

6 years agoMerge pull request #14736 from tannergooding/roundsx
Tanner Gooding [Wed, 17 Jan 2018 00:02:38 +0000 (16:02 -0800)]
Merge pull request #14736 from tannergooding/roundsx

Enable CORINFO_INTRINSIC Round, Ceiling, and Floor to generate ROUNDSS and ROUNDSD

6 years ago[Arm64] Add arm64-intrinsics.md (#15343)
Steve MacLean [Wed, 17 Jan 2018 00:00:52 +0000 (19:00 -0500)]
[Arm64] Add arm64-intrinsics.md (#15343)

* [Arm64] Add arm64-intrinsics.md

* Revise arm64-intrinsics

Respond to feedback
Revise namespace recommendations
Add goals
Fix namespace vs. class issues
Add API review details

* Revise arm64-intrinsics doc

Respond to feedback
Add specific class table
Clean up typos and whitespace

* Revise review process proposal

* [Arm64] Add 8.2 extensions and cleanup

* Add Jscvt, Lrcpc ...

* Revise doc based on feedback

* Further doc revisions

* More review fixes

6 years agoMerge pull request #15880 from tannergooding/hwintrin-containment
Tanner Gooding [Tue, 16 Jan 2018 23:06:28 +0000 (15:06 -0800)]
Merge pull request #15880 from tannergooding/hwintrin-containment

Mark emitIns_R_A and emitIns_R_R_A to be not defined for legacy backend

6 years agoFix one missing check for NULL after malloc (#15877)
Jan Vorlicek [Tue, 16 Jan 2018 23:05:52 +0000 (00:05 +0100)]
Fix one missing check for NULL after malloc (#15877)

When making the last change to the numa.cpp, I have made a
mistake and forgotten to check return value of one of the mallocs.
This change fixes that and also changes the code pattern to use
goto for the cleanup purposes instead of the nested ifs.

6 years agoSmall fix to underlying CoreCLR support for new string slicing overloads (#15876)
Atsushi Kanamori [Tue, 16 Jan 2018 21:39:15 +0000 (13:39 -0800)]
Small fix to underlying CoreCLR support for new string slicing overloads (#15876)

https://github.com/dotnet/corefx/issues/24072

Add the parameter name to the exceptions like other "Slice"-like apis do.

6 years agoMark emitIns_R_A and emitIns_R_R_A to be not defined for legacy backend
Tanner Gooding [Tue, 16 Jan 2018 21:12:39 +0000 (13:12 -0800)]
Mark emitIns_R_A and emitIns_R_R_A to be not defined for legacy backend

6 years agoUpdate CoreClr, CoreFx, PgoData to preview1-26116-03, preview1-26116-03, master-20180...
dotnet-maestro-bot [Tue, 16 Jan 2018 18:19:53 +0000 (12:19 -0600)]
Update CoreClr, CoreFx, PgoData to preview1-26116-03, preview1-26116-03, master-20180116-0045, respectively (#15859)

6 years agoFix mismatch between new and free in numa.cpp (#15870)
Jan Vorlicek [Tue, 16 Jan 2018 04:24:45 +0000 (05:24 +0100)]
Fix mismatch between new and free in numa.cpp (#15870)

* Fix mismatch between new and free in numa.cpp

One of the allocations in the numa.cpp uses new to allocate an array,
but it incorrectly uses free to free the memory. This change fixes it.

6 years agoFix Android build (#15868)
Jan Vorlicek [Tue, 16 Jan 2018 04:20:41 +0000 (05:20 +0100)]
Fix Android build (#15868)

There were the following issues:
* The current versions of packages available at the termux site were obsolete.
* The libintl.h was removed from the Android SDK, so the dgettext and bindtextdomain
  are not available. But they were dummy implementations before anyways, so we can remove
  their usage on Android.
* The detection of the ucol_setMaxVariable needs to be done using the
  check_cxx_symbol_exists instead of check_symbol_exists, since on Android, the
  ICU libraries now depend on C++ runtime.
* The SIZE_T_MAX is already defined in Android headers, so the definition in cgroup.cpp was
  colliding with it.
* The pthread_condattr_setclock detection was using pthread library, but on Android, it is
  located in the "c" library instead. So it was not being detected.

6 years agoDelete BasicSpanTest.cs (#15860)
Jan Kotas [Tue, 16 Jan 2018 03:43:07 +0000 (19:43 -0800)]
Delete BasicSpanTest.cs (#15860)

It is redundant with CoreFX Span tests now

6 years agoAdd tests for Math.Ceiling, Floor, and Round.
Tanner Gooding [Wed, 6 Dec 2017 03:49:20 +0000 (19:49 -0800)]
Add tests for Math.Ceiling, Floor, and Round.

6 years agoAdding SSE4.1 intrinsic support for Round, Ceiling, and Floor.
Tanner Gooding [Sat, 28 Oct 2017 16:35:28 +0000 (09:35 -0700)]
Adding SSE4.1 intrinsic support for Round, Ceiling, and Floor.

6 years agoUpdate CoreClr, CoreFx, PgoData to preview1-26114-02, preview1-26114-03, master-20180...
dotnet-maestro-bot [Mon, 15 Jan 2018 01:07:19 +0000 (19:07 -0600)]
Update CoreClr, CoreFx, PgoData to preview1-26114-02, preview1-26114-03, master-20180114-0044, respectively (#15856)

6 years agoMerge pull request #15855 from jkotas/revert
Jan Kotas [Sat, 13 Jan 2018 22:13:38 +0000 (14:13 -0800)]
Merge pull request #15855 from jkotas/revert

Revert "Remove relocations for MethodTable::m_pParentMethodTable for Linux ARM"

6 years agoUpdate CoreClr, CoreFx, PgoData to preview1-26113-02, preview1-26113-03, master-20180...
dotnet-maestro-bot [Sat, 13 Jan 2018 18:13:02 +0000 (12:13 -0600)]
Update CoreClr, CoreFx, PgoData to preview1-26113-02, preview1-26113-03, master-20180113-0045, respectively (#15853)

6 years agoRevert "Remove relocations for MethodTable::m_pParentMethodTable for Linux ARM"
Jan Kotas [Sat, 13 Jan 2018 08:40:45 +0000 (00:40 -0800)]
Revert "Remove relocations for MethodTable::m_pParentMethodTable for Linux ARM"

This reverts commit cf1fb9e17fc8b6ee849edab5a696d0ec5c6eadd2.

6 years agoMark legacy ByRef-like types as ref in sources (#15846)
Jan Kotas [Sat, 13 Jan 2018 02:30:38 +0000 (18:30 -0800)]
Mark legacy ByRef-like types as ref in sources (#15846)

Delete special casing in the type loader

6 years agoMerge pull request #15850 from BruceForstall/FastGCStress
Bruce Forstall [Sat, 13 Jan 2018 01:56:10 +0000 (17:56 -0800)]
Merge pull request #15850 from BruceForstall/FastGCStress

Do fast GC stress on some extreme tests

6 years agoMerge pull request #15822 from BruceForstall/FixWriteBarrierHelperKills
Bruce Forstall [Sat, 13 Jan 2018 01:53:52 +0000 (17:53 -0800)]
Merge pull request #15822 from BruceForstall/FixWriteBarrierHelperKills

Fix ARM GCStress hole with byref write barrier helper

6 years agoAdded Append(Stringbuilder,int,int) and Append(StringBuilder) overlaod apis (#15786)
Anirudh Agnihotry [Sat, 13 Jan 2018 01:40:05 +0000 (17:40 -0800)]
Added Append(Stringbuilder,int,int) and Append(StringBuilder) overlaod apis (#15786)

Added Append(Stringbuilder,int,int) and Append(StringBuilder) overlaod apis

6 years agoDo fast GC stress on some extreme tests
Bruce Forstall [Fri, 12 Jan 2018 23:12:48 +0000 (15:12 -0800)]
Do fast GC stress on some extreme tests

Set COMPlus_FastGCStress=1 to avoid GC in the
`CoreCLR!JIT_Stelem_Ref => CoreCLR!ArrayStoreCheck` path.

6 years agoMerge pull request #15804 from tannergooding/hwintrin-containment
Tanner Gooding [Fri, 12 Jan 2018 22:56:20 +0000 (14:56 -0800)]
Merge pull request #15804 from tannergooding/hwintrin-containment

Adding basic containment support to the x86 HWIntrinsics

6 years agoupdated docs: how to run against local core clr build (#15841)
Adam Sitnik [Fri, 12 Jan 2018 21:54:38 +0000 (22:54 +0100)]
updated docs: how to run against local core clr build (#15841)

* updated docs: how to run against local core clr build

* split the running docs into 3 files to make it simpler to understand

6 years agoLoaderHeap: remove LHF_ZEROINIT option.
Konstantin Baladurin [Fri, 12 Jan 2018 16:11:05 +0000 (19:11 +0300)]
LoaderHeap: remove LHF_ZEROINIT option.

This option was used for UMEntryThunkCode::Poison. Now we use own free list
to store freed thunks and don't return allocated memory to the LoaderHeap.
So reused thunks are always uninitialized.

6 years agodllimportcallback: remove code for CallbackOnCollectedDelegate MDA
Konstantin Baladurin [Fri, 12 Jan 2018 08:46:48 +0000 (11:46 +0300)]
dllimportcallback: remove code for CallbackOnCollectedDelegate MDA

6 years agoUMEntryThunk: store freed thunks into FIFO free list
Konstantin Baladurin [Fri, 12 Jan 2018 15:55:10 +0000 (18:55 +0300)]
UMEntryThunk: store freed thunks into FIFO free list

Use free list to delay reusing deleted thunks. It improves
collected delegate calls diagnostic.

6 years agoImprove UMEntryThunkCode::Poison method.
Konstantin Baladurin [Wed, 10 Jan 2018 15:26:01 +0000 (18:26 +0300)]
Improve UMEntryThunkCode::Poison method.

Improve UMEntryThunkCode::Poison to produce diagnostic message
when collected delegate was called.

6 years agoUpdate CoreClr, CoreFx, PgoData to preview1-26112-01, preview1-26112-01, master-20180...
dotnet-maestro-bot [Fri, 12 Jan 2018 20:38:25 +0000 (14:38 -0600)]
Update CoreClr, CoreFx, PgoData to preview1-26112-01, preview1-26112-01, master-20180112-0034, respectively (#15837)

6 years agoFixing the hwintrin codgen containment checks
Tanner Gooding [Fri, 12 Jan 2018 01:53:32 +0000 (17:53 -0800)]
Fixing the hwintrin codgen containment checks

6 years agoAdding asserts that values are as expected for certain containment checks
Tanner Gooding [Thu, 11 Jan 2018 22:03:39 +0000 (14:03 -0800)]
Adding asserts that values are as expected for certain containment checks

6 years agoAdding basic containment support to the x86 HWIntrinsics
Tanner Gooding [Tue, 9 Jan 2018 17:51:40 +0000 (09:51 -0800)]
Adding basic containment support to the x86 HWIntrinsics

6 years agoMerge pull request #15815 from jashook/fix_helix_publish
Jarret Shook [Fri, 12 Jan 2018 15:36:03 +0000 (07:36 -0800)]
Merge pull request #15815 from jashook/fix_helix_publish

Fix overwriting os/arch when publishing to helix

6 years agoFix overwriting os/arch when publishing to helix
jashook [Wed, 10 Jan 2018 18:52:27 +0000 (10:52 -0800)]
Fix overwriting os/arch when publishing to helix

6 years agoConvert run-xunit-perf to py script (#15568)
Michelle McDaniel [Fri, 12 Jan 2018 15:31:56 +0000 (07:31 -0800)]
Convert run-xunit-perf to py script (#15568)

* Convert run-xunit-perf to python script

This change merges the two run-xunit-perf scripts (.sh and .cmd) into
one unified python script and updates the pipeline job to use the
pythong script. This change also updates the linux jobs to use the new
build-tests.sh generatelayoutonly command so that we don't need to pull
down corefx from the cloud anymore. The unified python script enables us
to more easily update both linux scripting and windows scripting at the
same time so that one does not lag behind the other (such as when we add
new configurations or options like slicing). This change also turns
linux testing back on by default for PRs.

6 years agoMerge pull request #15835 from BruceForstall/FixGCKeepAlive
Bruce Forstall [Fri, 12 Jan 2018 07:27:20 +0000 (23:27 -0800)]
Merge pull request #15835 from BruceForstall/FixGCKeepAlive

Fix GC.KeepAlive test case

6 years agoMerge pull request #15832 from BruceForstall/DisableNoGCInStress
Bruce Forstall [Fri, 12 Jan 2018 07:26:02 +0000 (23:26 -0800)]
Merge pull request #15832 from BruceForstall/DisableNoGCInStress

Disable NoGC test in GCStress test runs

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to prerelease-02411-04, preview1-26111...
dotnet-maestro-bot [Fri, 12 Jan 2018 02:01:15 +0000 (20:01 -0600)]
Update BuildTools, CoreClr, CoreFx, PgoData to prerelease-02411-04, preview1-26111-02, preview1-26111-02, master-20180111-0041, respectively (#15807)

6 years ago[Local GC] Introduce standalone eventing design document (#15570)
Sean Gillespie [Fri, 12 Jan 2018 00:43:03 +0000 (16:43 -0800)]
[Local GC] Introduce standalone eventing design document (#15570)

* Typing

* First draft

* Update the doc based on feedback

* Next iteration based on feedback

* Iteration feedback

6 years agoFix GC.KeepAlive test case
Bruce Forstall [Fri, 12 Jan 2018 00:22:55 +0000 (16:22 -0800)]
Fix GC.KeepAlive test case

In the test, as written, a GC could sneak in between the GC.KeepAlive()
call and the subsequent line that checks whether the finalizer
has run, especially in GC stress modes. Simply move the GC.KeepAlive()
call down.

6 years agoDisable NoGC test in GCStress test runs
Bruce Forstall [Thu, 11 Jan 2018 23:28:52 +0000 (15:28 -0800)]
Disable NoGC test in GCStress test runs

6 years agoMerge pull request #15791 from dotnetrt/dstdstsrc
Carol Eidt [Thu, 11 Jan 2018 18:19:40 +0000 (10:19 -0800)]
Merge pull request #15791 from dotnetrt/dstdstsrc

Refactor emitter::IsDstDstSrcAVXInstruction and emitter::IsDstSrcSrcAVXInstruction

6 years ago[Infrastructure/Win] Add C++ header files to Visual Studio clrjit project (#15775)
Jacek Blaszczynski [Thu, 11 Jan 2018 17:33:32 +0000 (18:33 +0100)]
[Infrastructure/Win] Add C++ header files to Visual Studio clrjit project (#15775)

* Add C++ header files to Visual Studio clrjit project

* Add comment about script change impact and usage

6 years agomovhlps categorized as dstdstsrc
Jacek Blaszczynski [Thu, 11 Jan 2018 12:29:26 +0000 (13:29 +0100)]
movhlps categorized as dstdstsrc

6 years agoAllow CALLEE_IS_FORCE_INLINE precedent over CALLEE_DOES_NOT_RETURN (#14586)
Ben Adams [Thu, 11 Jan 2018 09:10:35 +0000 (09:10 +0000)]
Allow CALLEE_IS_FORCE_INLINE precedent over CALLEE_DOES_NOT_RETURN (#14586)

Allow CALLEE_IS_FORCE_INLINE precedent over CALLEE_DOES_NOT_RETURN

6 years agoKeep LowLevelDictionary for CoreRT for now (#15824)
dotnet bot [Thu, 11 Jan 2018 08:56:01 +0000 (00:56 -0800)]
Keep LowLevelDictionary for CoreRT for now (#15824)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoImprove performance for Math.Abs (#15823)
Ben Adams [Thu, 11 Jan 2018 07:58:00 +0000 (07:58 +0000)]
Improve performance for Math.Abs (#15823)

* Improve perf for Math.Abs

* Inline Math.Abs

6 years agoFix non-Windows compile error
Bruce Forstall [Thu, 11 Jan 2018 07:12:02 +0000 (23:12 -0800)]
Fix non-Windows compile error

6 years agoFix Obsolete on ReadOnlySpan Equals and GetHashCode methods (#15820)
Jan Kotas [Thu, 11 Jan 2018 06:06:28 +0000 (22:06 -0800)]
Fix Obsolete on ReadOnlySpan Equals and GetHashCode methods (#15820)

* Fix Obsolete on ReadOnlySpan Equals and GetHashCode methods

* Delete unnecessary CLSCompliant attribute

6 years agoMerge pull request #15814 from CarolEidt/FixObj
Carol Eidt [Thu, 11 Jan 2018 03:57:16 +0000 (19:57 -0800)]
Merge pull request #15814 from CarolEidt/FixObj

Fix change to fgMorphBlockOperand

6 years agoFix ARM GCStress hole with byref write barrier helper
Bruce Forstall [Thu, 11 Jan 2018 00:24:31 +0000 (16:24 -0800)]
Fix ARM GCStress hole with byref write barrier helper

When unrolling a STOREOBJ, we can generate multiple consecutive
byref helper calls. This helper has a unique calling convention
where the dst and src addresses are modified by adding pointer
size to their original value (thus allowing consecutive helper
calls without reloading the dst/src addresses). So, for liveness
purposes, the helper call kills the dst/src values. However, for
GC purposes, it does not, as the registers still contain byref
pointers. We were, in the ARM case, reporting the r0/r1 registers
dead after the first call, so a GC didn't update them, and a
second call updated garbage.

In fixing this, I cleaned up the helper call kill handling a bit.
I also fixed and improved RyuJIT/x86 write barrier kill modeling.

6 years agoFix change to fgMorphBlockOperand
Carol Eidt [Tue, 9 Jan 2018 23:56:25 +0000 (15:56 -0800)]
Fix change to fgMorphBlockOperand

My recent fix broke the `DYN_BLK` case. In addition to checking that types match, we *still* need to check that the sizes match.

This was caught by desktop testing. The test cases are somewhat complex, so I created a smaller repro.

6 years agoFix incremental build by preventing nonchanging writes (#15817)
Victor "Nate" Graf [Wed, 10 Jan 2018 23:25:34 +0000 (15:25 -0800)]
Fix incremental build by preventing nonchanging writes (#15817)

Fix incremental build by preventing non-changing writes in generated ETW source code

6 years agoMerge pull request #15784 from fiigii/hwci
Jarret Shook [Wed, 10 Jan 2018 21:06:39 +0000 (13:06 -0800)]
Merge pull request #15784 from fiigii/hwci

Add new CI mode for Intel HW intrinsics

6 years agoUnderlying CoreCLR support for new string slicing overloads (#15811)
Atsushi Kanamori [Wed, 10 Jan 2018 20:32:07 +0000 (12:32 -0800)]
Underlying CoreCLR support for new string slicing overloads (#15811)

* Underlying CoreCLR support for new string slicing overloads

https://github.com/dotnet/corefx/issues/25254

These add the underlying support for the fast versions of
these extension methods.

* Underlying CoreCLR support for new string slicing overloads

https://github.com/dotnet/corefx/issues/24072

These add the underlying support for the fast versions of
these extension methods.

6 years agoAdd privaterun properties (#15816)
chcosta [Wed, 10 Jan 2018 19:48:17 +0000 (11:48 -0800)]
Add privaterun properties (#15816)