platform/upstream/coreclr.git
6 years agoDisable FP to Unsigned Vector Conversions
Carol Eidt [Wed, 24 Jan 2018 23:41:06 +0000 (15:41 -0800)]
Disable FP to Unsigned Vector Conversions

The specific failure in #15848 was due to a problem with the AVX encoding of the pinsrw instruction that was exposed when AVX is enabled but AVX2 is not. The code generator generates the (SSE2) 2-operand form, but this is an instruction that needs to be encoded with the dst duplicated when using AVX encodings. So it needs to be added to `IsDstDstSrcAVXInstruction()`.

Investigating this (and adding additional test coverage) revealed that conversions to FP were not implemented correctly for out-of-range values, and providing the same behavior as scalar conversion is complex and costly, with unknown benefit, as this is not expected to be a common scenario. So, don't recognize these as intrinsics (revert to the IL implementation).

Also, fix the test to cover more cases.

Fix 15848

6 years agoDisable eventpipetrace test due to JIT stress failure (#15927)
Victor "Nate" Graf [Fri, 19 Jan 2018 19:25:38 +0000 (11:25 -0800)]
Disable eventpipetrace test due to JIT stress failure (#15927)

* Disable eventpipetrace test due to JIT stress failure

* Use double wildcard to properly include the right files

6 years agoRevert "Change just-in-time debugging registry keys. (#15722)" (#15921)
Mike McLaughlin [Fri, 19 Jan 2018 19:12:02 +0000 (11:12 -0800)]
Revert "Change just-in-time debugging registry keys. (#15722)" (#15921)

This reverts commit 8b2cac974db3edde38e1a555455f53592d03b68e.

6 years ago[armel tizen] Fixed CoreRT issue #4626 unwinding support (#15913)
sergey ignatov [Fri, 19 Jan 2018 14:28:38 +0000 (17:28 +0300)]
[armel tizen] Fixed CoreRT issue #4626 unwinding support (#15913)

6 years agoCache Invariant CompareInfo (#15902)
Jan Kotas [Fri, 19 Jan 2018 02:57:14 +0000 (18:57 -0800)]
Cache Invariant CompareInfo (#15902)

The Invariant CompareInfo is used in number of places. It is fetched via virtual method on CultureInfo. Caching it avoids the virtual method calls and extra indirections.

6 years agoMerge pull request #15920 from BruceForstall/AllowArmJitHaltPopup
Bruce Forstall [Fri, 19 Jan 2018 02:01:43 +0000 (18:01 -0800)]
Merge pull request #15920 from BruceForstall/AllowArmJitHaltPopup

Allow COMPlus_JitHalt to display a pop-up on ARM/ARM64

6 years agoDo not throw IndexOutOfBounds when AM/PM designator is empty (#15904)
Krzysztof Wicher [Fri, 19 Jan 2018 00:58:15 +0000 (16:58 -0800)]
Do not throw IndexOutOfBounds when AM/PM designator is empty (#15904)

* do not throw IndexOutOfBounds when AM/PM designator is empty

* store am/pm designator in local

6 years agoMirror changes from dotnet/corefx (#15909)
dotnet bot [Thu, 18 Jan 2018 23:36:01 +0000 (15:36 -0800)]
Mirror changes from dotnet/corefx (#15909)

* Consolidate System.Memory code to shared folder (dotnet/corefx#26393)

* Consolidate System.Memory code to shared folder

This change is removing the duplicate codes from System.Memory and keep only one copy under the shared folder to be easier to edit such code in one place and get reflected on the other repos.

* Address the review feedback

* Addressing more feedback

* More cleanup

* remove empty line and added a comment

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
* Add missing throw helper methods used in the code we got from corefx

* Update the exception helper

* fix the break

6 years agoEnable EventPipe and EventSource Functional Tests (#15917)
Brian Robbins [Thu, 18 Jan 2018 23:28:33 +0000 (15:28 -0800)]
Enable EventPipe and EventSource Functional Tests (#15917)

6 years agoConvert BulkTypeLogger Allocations From Stack to Heap (#15907)
Brian Robbins [Thu, 18 Jan 2018 22:49:54 +0000 (14:49 -0800)]
Convert BulkTypeLogger Allocations From Stack to Heap (#15907)

6 years agoMerge pull request #15901 from tannergooding/hwintrin-fixup
Carol Eidt [Thu, 18 Jan 2018 21:30:53 +0000 (13:30 -0800)]
Merge pull request #15901 from tannergooding/hwintrin-fixup

Resolving a few issues with the HWIntrinsic code

6 years agoAllow COMPlus_JitHalt to display a pop-up on ARM/ARM64
Bruce Forstall [Thu, 18 Jan 2018 21:28:25 +0000 (13:28 -0800)]
Allow COMPlus_JitHalt to display a pop-up on ARM/ARM64

Note that you need to `set COMPlus_NoGuiOnAssert=0` for the
pop-up to be displayed.

6 years ago Update clr-configuration-knobs.md, add new C# csi.exe based script for xplat documen...
Jacek Blaszczynski [Thu, 18 Jan 2018 17:10:25 +0000 (18:10 +0100)]
 Update clr-configuration-knobs.md, add new C# csi.exe based script for xplat document generation (#15858)

* C# csx script to generate CoreCLR and Jit configuration knobs doc

* Normalize category names, fix typos and white space in clrconfigvalues.h

* Normalize category names, knobs descrptions and fix typos in jitconfigvalues.h

* Remove clr-complus-conf-docgen.sh

* Remove from clrconfigvalues.h CONFIG_ declarations which are already present in jitconfigvalues.h

* Update clr-configuration-knobs.md with clr-configuration-knobs.csx script

6 years agoUpdate perflab tests to execute in a fixed order
Andy Ayers [Wed, 10 Jan 2018 00:25:22 +0000 (16:25 -0800)]
Update perflab tests to execute in a fixed order

Goal is to pin class init overhead on one test consistently. Also we were
not picking up the "optimize for benchmark" attribute and so likely risking
having tests execute concurrently.

6 years agoUpdating TYP_SIMD locals to no longer undergo struct promotion for HWIntrinsic nodes.
Tanner Gooding [Thu, 18 Jan 2018 07:53:10 +0000 (23:53 -0800)]
Updating TYP_SIMD locals to no longer undergo struct promotion for HWIntrinsic nodes.

6 years agoDisabling the Math.Round, Math.Floor, and Math.Ceiling intrinsics on non-AVX machines
Tanner Gooding [Thu, 18 Jan 2018 00:23:34 +0000 (16:23 -0800)]
Disabling the Math.Round, Math.Floor, and Math.Ceiling intrinsics on non-AVX machines

6 years agoFixing the `LoadAlignedVector128` HWIntrinsic test to ensure that we always read...
Tanner Gooding [Wed, 17 Jan 2018 15:51:43 +0000 (07:51 -0800)]
Fixing the `LoadAlignedVector128` HWIntrinsic test to ensure that we always read from an aligned address.

6 years agoFixing some bad merge conflicts in the `emitIns_R_A_I`, `emitIns_R_C_I`, and `emitIns...
Tanner Gooding [Wed, 17 Jan 2018 15:34:00 +0000 (07:34 -0800)]
Fixing some bad merge conflicts in the `emitIns_R_A_I`, `emitIns_R_C_I`, and `emitIns_R_S_I` methods

6 years agoMerge pull request #15869 from sdmaclea/PR-ARM64-is16Byte
Carol Eidt [Thu, 18 Jan 2018 01:59:02 +0000 (17:59 -0800)]
Merge pull request #15869 from sdmaclea/PR-ARM64-is16Byte

[Arm64] Use is16Byte

6 years agoAdd environment variable (COMPlus_EnableDiagnostics) to disable debugging and profili...
Mike McLaughlin [Thu, 18 Jan 2018 00:16:03 +0000 (16:16 -0800)]
Add environment variable (COMPlus_EnableDiagnostics) to disable debugging and profiling. (#15878)

To disable the named pipes and semaphores created on linux execute "export COMPlus_EnableDiagnostics=0" before start the .NET Core program.

On Windows execute "set COMPlus_EnableDiagnostics=0" and on Linux execute "export "COMPlus_EnableDiagnostics=0"

Removed the "Telesto" registry entry (old unnecessary Silverlight code) and Watson (always true) checks.

For issues #11769 and #8844.

6 years agoMerge pull request #15897 from tannergooding/hwintrin-debuggerdisplay
Tanner Gooding [Wed, 17 Jan 2018 20:28:34 +0000 (12:28 -0800)]
Merge pull request #15897 from tannergooding/hwintrin-debuggerdisplay

Adding a DebugView for Vector64<T>, Vector128<T>, and Vector256<T>

6 years agoMerge pull request #15900 from tannergooding/sse-intrinsics
Carol Eidt [Wed, 17 Jan 2018 18:01:01 +0000 (10:01 -0800)]
Merge pull request #15900 from tannergooding/sse-intrinsics

Updating emitIns_R_R_A_I to not be defined for the legacy backend.

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 agoAdding a DebugView for Vector64<T>, Vector128<T>, and Vector256<T>
Tanner Gooding [Wed, 10 Jan 2018 01:02:55 +0000 (17:02 -0800)]
Adding a DebugView for Vector64<T>, Vector128<T>, and Vector256<T>

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 agoUpdating emitIns_R_R_A_I to not be defined for the legacy backend.
Tanner Gooding [Wed, 17 Jan 2018 15:08:47 +0000 (07:08 -0800)]
Updating emitIns_R_R_A_I to not be defined for the legacy backend.

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 ago[Arm64] Use is16Byte
Steve MacLean [Mon, 15 Jan 2018 16:35:33 +0000 (11:35 -0500)]
[Arm64] Use is16Byte

Rename is16B to is16Byte

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