Koundinya Veluri [Sun, 15 Jul 2018 18:18:06 +0000 (11:18 -0700)]
Expose SpinWait.SpinOnce(int sleep1Threshold) overload (dotnet/coreclr#18204)
Expose SpinWait.SpinOnce(int sleep1Threshold) overload
To allow customizing the spin count threshold for Sleep(1) usage, and to allow disabling the use of Sleep(1).
API review: https://github.com/dotnet/corefx/issues/29623
Part of fix for https://github.com/dotnet/corefx/issues/29595
Commit migrated from https://github.com/dotnet/coreclr/commit/
28a8d423efc79c1cb2b23fa21747c5f7c5f7a057
Stephen Toub [Sun, 15 Jul 2018 17:39:12 +0000 (13:39 -0400)]
Temporarily allow combase.dll!RoGetActivationFactory (dotnet/coreclr#18922)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2af68c4ae38d6a46eb12a6a8de0ffb5eddf8169c
Russ Keldorph [Sat, 14 Jul 2018 23:44:49 +0000 (16:44 -0700)]
Revert "Fix some failures when using build-test.sh"
This reverts commit dotnet/coreclr@
2bffb76443919b0ad0be8bff398d9a962a3a5f6d.
Commit migrated from https://github.com/dotnet/coreclr/commit/
184c3504e763ea7147505a8d49cb54b43cc82d78
russ [Fri, 6 Jul 2018 21:49:47 +0000 (21:49 +0000)]
Fix some failures when using build-test.sh
1) Remove a workaround for broken msbuild RelativePath API that is
apparently no longer necessary and doesn't seem to work anymore anyway.
2) Fix a casing issue in some test projects. I'm not sure why this hasn't
been fixed yet.
Commit migrated from https://github.com/dotnet/coreclr/commit/
2bffb76443919b0ad0be8bff398d9a962a3a5f6d
Wraith2 [Sat, 14 Jul 2018 19:13:38 +0000 (20:13 +0100)]
Remove version increment from Dictionary<K,V>.Remove overloads (dotnet/coreclr#18854)
* remove version increment from Remove overloads
* add temporary test exclusions
* fixup test exclusion names
* modify test exclusions
Commit migrated from https://github.com/dotnet/coreclr/commit/
a6b9bbbf284496f87c02555aca29ff8f2b762805
Stephen Toub [Fri, 13 Jul 2018 21:43:34 +0000 (17:43 -0400)]
Improve Int32/Int64 {Try}Parse performance for NumberStyles.Integer (dotnet/coreclr#18897)
Special-case the default NumberStyles.Integer format to improve the throughput of Int32/Int64.{Try}Parse. Ports the implementation from Utf8Parser, modifying it to accomodate the additional cases needed for Int32/Int64, e.g. culture impact on positive and negative signs, trailing zeros, leading and trailing whitespace, prohibiting additional characters at the end, etc.
Commit migrated from https://github.com/dotnet/coreclr/commit/
78fc03b0755ac3c428d5f6c8f30b50af65d0e0a8
Andy Ayers [Fri, 13 Jul 2018 20:21:27 +0000 (13:21 -0700)]
JIT: optimize some cases of unused structs (dotnet/coreclr#18819)
In some cases CSC will use `ldobj; pop` to null check a pointer to
struct. This change avoids copying the struct value for such constructs.
Codegen may still redundantly null check, if there are multiple such checks
in a method.
Fixes dotnet/coreclr#18710
Commit migrated from https://github.com/dotnet/coreclr/commit/
dc7492e227f0ff1a5054337091c5ce7105e82491
Bruce Forstall [Fri, 13 Jul 2018 18:02:48 +0000 (11:02 -0700)]
Remove unnecessary R2R jobs (dotnet/coreclr#18902)
Commit migrated from https://github.com/dotnet/coreclr/commit/
454dcdad0b04980e1085acb1c16f386c4b450a60
Andon Andonov [Fri, 13 Jul 2018 16:57:38 +0000 (09:57 -0700)]
Enable logs (dotnet/coreclr#18881)
Commit migrated from https://github.com/dotnet/coreclr/commit/
552a24d2dbdb9f51f1aa7fe51302e07947bdb1cd
Egor Chesakov [Fri, 13 Jul 2018 16:10:25 +0000 (09:10 -0700)]
Remove System.Security.Cryptography.X509Certificates.Tests from Windows arm exclusion list (dotnet/coreclr#18807)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4bd9b33790ca8be557f3cdc6771e61c890a1a60a
Mike McLaughlin [Fri, 13 Jul 2018 06:45:39 +0000 (23:45 -0700)]
Add prefix to DAC's PAL exports for alpine (dotnet/coreclr#18873)
Added some cmake logic to create assembly include mapping files. One that maps the
prefixed name (DAC_foo) to the actual name (foo) which is included in the DAC module
and another that maps the actual name to the prefixed name that is included in the SOS,
DBI and createdump modules.
The data exports like IID_IUnknown are not prefixed and don't need to be (immutable static data).
There were some C++ exports functions exported with their decorated names in
the CatchHardwareExceptionHolder and NativeExceptionHolderBase classes. Created
PAL_* style export functions that implements the code.
Fix lldb plugin cmake file to use LLDB_H/LLDB_LIB env vars to build it.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b89e2305a2c953272c997242d01b66b1bb1e661e
Bruce Forstall [Fri, 13 Jul 2018 05:31:48 +0000 (22:31 -0700)]
Disable 3 long-running tests and 1 failing test (dotnet/coreclr#18896)
The following tests exceed the default timeout, especially on Debug builds:
```
GC\Features\LOHCompaction\lohcompactapi\lohcompactapi.cmd
GC\API\NoGCRegion\NoGC\NoGC.cmd
GC\API\GC\GetAllocatedBytesForCurrentThread\GetAllocatedBytesForCurrentThread.cmd
```
Mark them LONG_RUNNING.
The following test asserts in the JIT currently:
```
JIT\HardwareIntrinsics\Arm64\Simd\Simd.cmd
```
Disable it with issue dotnet/coreclr#18895
Commit migrated from https://github.com/dotnet/coreclr/commit/
0e22b107e811bc8ab7f3c1caf0943ef760d9f53d
Egor Chesakov [Fri, 13 Jul 2018 00:41:17 +0000 (17:41 -0700)]
Remove dead/unreachable code from ARM32 and ARM64 emitters (dotnet/coreclr#18878)
Commit migrated from https://github.com/dotnet/coreclr/commit/
47e106edc305c68651291d3862891ec6ad9f3ad6
Brian Sullivan [Fri, 13 Jul 2018 00:12:52 +0000 (17:12 -0700)]
Merge pull request dotnet/coreclr#18887 from briansull/atomic-fix
Include the processor atomic operations in the OperIsStore category
Commit migrated from https://github.com/dotnet/coreclr/commit/
f3ab7e073a2c7720791b44638a99c43647da0a0a
Eugene Rozenfeld [Thu, 12 Jul 2018 20:42:00 +0000 (13:42 -0700)]
Fixes for bugs in fgMorphCast and optNarrowTree. (dotnet/coreclr#18816)
The fix under NARROW_IND prevents transformation of, e.g.,
CAST int <- ushort <- int
CLS_VAR byte
into
CLS_VAR byte.
With the fix the CAST is not removed.
The fix under GT_CAST prevents transformation of, e.g.,
CAST int <- ushort <- long
CAST long <- int
expr short
into
expt short.
With the fix it gets transformed into
CAST int <- ushort <- int
expr short
Block cast optimizations in fgMorphCast if the cast expression is an
active CSE candidate.
Update cast expression value numbers when a cast is removed.
Fixes dotnet/coreclr#18238, dotnet/coreclr#18850.
No diffs in frameworks and tests (pmi and crossgen, x64 and x86), except for the added test cases.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4929ebab22bcef4f6ff39acbcdb333ffeb98f24a
Brian Sullivan [Thu, 12 Jul 2018 19:49:08 +0000 (12:49 -0700)]
Added the repro test case
Commit migrated from https://github.com/dotnet/coreclr/commit/
89968de88fa5d036f86a95772cd292d44ab4b23c
Brian Sullivan [Thu, 12 Jul 2018 18:11:31 +0000 (11:11 -0700)]
Include the processor atomic operations in the OperIsStore category
THe atomic operations are GT_CMPXCHG, GT_LOCKADD, GT_XCHG, GT_XADD
Commit migrated from https://github.com/dotnet/coreclr/commit/
8747e2dc98d46d8fbc3c0677cf5d40c05533b3ce
Brian Robbins [Thu, 12 Jul 2018 17:26:12 +0000 (10:26 -0700)]
Don't trim compiler-generated anonymous types. (dotnet/coreclr#18835)
Commit migrated from https://github.com/dotnet/coreclr/commit/
5d8b97af6d781a00d2e5da47b43db6879b98ae71
Andon Andonov [Thu, 12 Jul 2018 04:39:57 +0000 (21:39 -0700)]
CoreFX CI Unix (dotnet/coreclr#18753)
* Full Unix test support
* Remove Test helper build from build-test
Add msg prefix
Change if condition
* Change Linux URL
* Syntax error
* Fix Merge Conflict
* Address PR Feedback
* Remove duplicate generate_testhost call
* Address PR comments
* Clean up exclusion list
* Disable Client_ReadWriteCancelledToken_Throws_OperationCanceledException
* Disable all flavors of CancelledToken_Throws_OperationCanceledException
* Disable X509StoreTests.Constructor_DefaultStoreName - flaky on OSX
* Update documentation with Linux instructions and workflow
* Disable EventWaitHandleTests.Ctor_InvalidMode - failing on OSX
* Disable Server_ReadWriteCancelledToken_Throws_OperationCanceledException
Commit migrated from https://github.com/dotnet/coreclr/commit/
e3ccef1c21978fa682bc76fd7626dd7ae9871cc0
Fei Peng [Wed, 11 Jul 2018 22:55:37 +0000 (15:55 -0700)]
Fix VEX.vvvv encoding for AVX.BlendVariable
Commit migrated from https://github.com/dotnet/coreclr/commit/
a03b08ab38186db8bb30a412bc73165810140119
Stephen Toub [Thu, 12 Jul 2018 02:30:56 +0000 (22:30 -0400)]
Remove TODO comment from CancellationTokenRegistration.Unregister (dotnet/coreclr#18880)
Commit migrated from https://github.com/dotnet/coreclr/commit/
dd32971158d5309179df93adfce62140bdc79fbd
Bruce Forstall [Thu, 12 Jul 2018 00:17:50 +0000 (17:17 -0700)]
Merge pull request dotnet/coreclr#18862 from BruceForstall/DisableLongRunningGCStress3Tests
Disable tests for Windows/arm64 with GCStress=3 that take too long
Commit migrated from https://github.com/dotnet/coreclr/commit/
af2bddef830d858160d19dc2aab6fb790f4c5020
Juan Hoyos [Wed, 11 Jul 2018 22:36:41 +0000 (15:36 -0700)]
Merge pull request dotnet/coreclr#18859 from hoyosjs/fix-debug-gscookie-check
GS cookie check fix for debugger stackwalks port
Commit migrated from https://github.com/dotnet/coreclr/commit/
c82bd22d4bab4369c0989a1c2ca2758d29a0da36
Jan Kotas [Wed, 11 Jul 2018 06:46:39 +0000 (23:46 -0700)]
Optimize Double/Single.IsNegative
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
874b694fa31c1ce92491f2191ed4a006c51ae2d4
Egor Bogatov [Wed, 11 Jul 2018 06:04:06 +0000 (09:04 +0300)]
Make Number.Parsing.cs BigEndian friendly (dotnet/coreclr#18853)
* Make Number.Parsing.cs BigEndian friendly
* Get rid of DoubleHelper
Commit migrated from https://github.com/dotnet/coreclr/commit/
b3c98d54b3aba980c4ed38e87fd3f7a13e2598ee
Bruce Forstall [Wed, 11 Jul 2018 03:55:39 +0000 (20:55 -0700)]
Merge pull request dotnet/coreclr#18861 from BruceForstall/FixShowLocalloc
Fix ShowLocallocAlignment test for x86
Commit migrated from https://github.com/dotnet/coreclr/commit/
9cd6e82f210aadbc4335f00263dd80fa8dcb44b3
Bruce Forstall [Wed, 11 Jul 2018 03:55:02 +0000 (20:55 -0700)]
Merge pull request dotnet/coreclr#18860 from BruceForstall/ReEnable13731Tests
Re-enable tests for dotnet/coreclr#13731 which was closed long ago
Commit migrated from https://github.com/dotnet/coreclr/commit/
b2abf26c41d1c56a6f86a4241713333e6fd8dd69
Noah Falk [Wed, 11 Jul 2018 01:33:57 +0000 (18:33 -0700)]
Adjust JIT automated testing for tiered compilation (dotnet/coreclr#18828)
Make it explicit that most JIT testing does not use tiered compilation regardless of the runtime default
Clone jitstress1/2 and r2r_jitstress1/2 test modes both with and without tiering.
Move the existing tieredcompilation test modes to have the same periodic scheduling as other jit test runs.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d5db5acff13e973bbe1764ba4cbaff5912df6fba
Bruce Forstall [Wed, 11 Jul 2018 00:39:37 +0000 (17:39 -0700)]
Disable tests for Windows/arm64 with GCStress=3 that take too long
Fixes dotnet/coreclr#15381
Commit migrated from https://github.com/dotnet/coreclr/commit/
08cc9e0805bca1bff1e3b81e53eb3da971299398
Bruce Forstall [Tue, 10 Jul 2018 23:50:54 +0000 (16:50 -0700)]
Fix ShowLocallocAlignment test for x86
The required localloc alignment differs by platform. Teach the test
what the per-platform alignment requirement is.
Fixes dotnet/coreclr#7163
Commit migrated from https://github.com/dotnet/coreclr/commit/
164f9c55ce4fec7b8236ee5c7c1d87de708f394b
Bruce Forstall [Tue, 10 Jul 2018 23:22:48 +0000 (16:22 -0700)]
Re-enable tests for dotnet/coreclr#13731 which was closed long ago
Commit migrated from https://github.com/dotnet/coreclr/commit/
5635ab60e1b8c2cf582e549f6ee336ea6afafd3d
Egor Chesakov [Tue, 10 Jul 2018 23:15:15 +0000 (16:15 -0700)]
Remove random.NextDouble() from JIT/HardwareIntrinsics tests (dotnet/coreclr#18838)
* Add ProjectReference to CoreCLRTestLibrary.csproj in the corresponding C# project files
* Replace usages of random.NextDouble() from GenerateTests.csx with CoreCLRTestLibrary.Generator.GetSingle()/GetDouble()
* Regenerate test files
Commit migrated from https://github.com/dotnet/coreclr/commit/
a211090331c5e4830bb037fb078d199e2234b865
Tomáš Rylek [Tue, 10 Jul 2018 21:48:25 +0000 (23:48 +0200)]
Initial implementation of method fixup parser (dotnet/coreclr#18749)
* Initial implementation of method fixup parser
I'm working on this right now in the CoreRT R2R compiler so I'm
adding the relevant structures and algorithms to the dumper
to let me analyze various R2R files and their method fixups.
I have locally verified that this shows reasonable fixup info
for my Hello World repro compiled both using the CoreRT R2R
compiled and using crossgen.
Thanks
Tomas
* Improvements in signature dumping
Signature dumping was slightly imprecise - the signature field
was named "Section" in the dump and it was displaying a dword,
however signatures are logically arbitrary byte streams.
Sadly I'm aware of no easy way to detect the length of an
arbitrary signature without adding a multitude of dedicated
parsers for the different signature types used by different
fixup / helper types so for now I'm displaying an 8-byte sample.
I have also made the formatting of the import section entries
more compact to make the list easier to read in the presence
of a larger number of fixups and I added support for displaying
the entry offset (as this is what the method fixups indirectly
refer to via the fixup indices).
Thanks
Tomas
* Move NibbleReader into a separate source file
Based on Amy's PR feedback I'm moving NibbleReader into a separate
source file. After all, I have a counterpart NibbleWriter.cs
in the R2R compiler codebase.
Thanks
Tomas
* Remove unnecessary usings from the new NibbleReader.cs file
As an additional bit of cleanup I used the VS refactoring tool
to remove unnecessary usings from the new NibbleReader source file.
Thanks
Tomas
Commit migrated from https://github.com/dotnet/coreclr/commit/
f39809b6e560450daa299d7566ca6d861cb2c270
Tanner Gooding [Tue, 10 Jul 2018 04:46:41 +0000 (21:46 -0700)]
Fixing encodeXmmRegAsIval to ensure the result meets the "fits in imm8" check
Commit migrated from https://github.com/dotnet/coreclr/commit/
52d8382f819cdc66e01c2e2fdd6dd3c6c6cd4fee
Carol Eidt [Tue, 10 Jul 2018 20:33:02 +0000 (13:33 -0700)]
Merge pull request dotnet/coreclr#18805 from CarolEidt/Fix18746
Don't change PUTARG_REG spill type on arm64
Commit migrated from https://github.com/dotnet/coreclr/commit/
eb405392acacf6f5b72601521ec4ac5106d1e2ba
Stephen Toub [Tue, 10 Jul 2018 20:02:06 +0000 (16:02 -0400)]
Fix two issues in Marshal.SecureStringToBSTR (dotnet/coreclr#18851)
1. It wasn't synchronized, even though other operations on SecureString are in order to avoid concurrency problems leading to memory corruption issues (and it's synchronized on netfx).
2. It wasn't throwing an ObjectDisposedException if the instance was disposed.
Commit migrated from https://github.com/dotnet/coreclr/commit/
cb005bd771122d919587c646aaebfce7176b36db
Brian Sullivan [Tue, 10 Jul 2018 20:01:41 +0000 (13:01 -0700)]
Merge pull request dotnet/coreclr#18812 from briansull/fix_610014
Fix 610014
Commit migrated from https://github.com/dotnet/coreclr/commit/
75c64dc83879c87ff0a170eced907f7ed2b8fbd5
Amy [Tue, 10 Jul 2018 18:10:08 +0000 (11:10 -0700)]
Merge pull request dotnet/coreclr#18653 from acmyu/build
R2RDump - Build integration
Commit migrated from https://github.com/dotnet/coreclr/commit/
7920cf173d88bc5c56c7f8ab856dd91627dd0832
Juan Sebastian Hoyos Ayala [Mon, 9 Jul 2018 21:28:57 +0000 (14:28 -0700)]
GS cookie check fix for debugger stackwalks port
This bug fix is a port from the equivalent fix in framework. The
debugger tried performing a stackwalk in the epilog due to the JIT
incorrectly reporting epilogue information. This caused an invalid
GS cookie to be checked and caused the debugger to crash. A flag was
added to allow debug stackwalks to skip the cookie check.
Commit migrated from https://github.com/dotnet/coreclr/commit/
32741b9e97f901242394dfc682c228a5d810f454
Tanner Gooding [Tue, 10 Jul 2018 01:42:01 +0000 (18:42 -0700)]
Regenerating the x86 HWIntrinsic tests to cover struct field scenarios
Commit migrated from https://github.com/dotnet/coreclr/commit/
6de41e2f4ffd8971d767e2aadb195f8c51286479
Tanner Gooding [Tue, 10 Jul 2018 01:41:28 +0000 (18:41 -0700)]
Updating the x86 HWIntrinsic test templates to test struct field scenarios
Commit migrated from https://github.com/dotnet/coreclr/commit/
2d7baf26bcb149610f261b7eeee5d59c19cfc1be
Jan Kotas [Tue, 10 Jul 2018 11:13:04 +0000 (04:13 -0700)]
Move BinaryReader to shared CoreLib partition (dotnet/coreclr#18845)
Commit migrated from https://github.com/dotnet/coreclr/commit/
dab0d7108e8b0091e1d7f526cab7dc9bcb71710a
Amy [Tue, 10 Jul 2018 08:49:54 +0000 (01:49 -0700)]
Exclude failing CoreFx test (dotnet/coreclr#18844)
Commit migrated from https://github.com/dotnet/coreclr/commit/
39229d58944ce415108e1f6e59a4ab5c77e93226
Brian Sullivan [Fri, 6 Jul 2018 21:33:36 +0000 (14:33 -0700)]
Updated fix for VSO 610014
Commit migrated from https://github.com/dotnet/coreclr/commit/
295e24c01618ff3196e7bd7df60c21099ef28872
Tanner Gooding [Sat, 7 Jul 2018 20:02:32 +0000 (13:02 -0700)]
Fixing a call to emitIns_SIMD_R_R_AR_R to pass arguments in the correct order
Commit migrated from https://github.com/dotnet/coreclr/commit/
23f7cb061460fc238992845e5757b1516f64c5cb
Amy Yu [Mon, 9 Jul 2018 23:36:39 +0000 (16:36 -0700)]
Exclude failing CoreFx test
Commit migrated from https://github.com/dotnet/coreclr/commit/
0cde2fb55bf7a809b207dbf04612bc9db808df62
Tanner Gooding [Sat, 7 Jul 2018 14:11:51 +0000 (07:11 -0700)]
Updating InstructionSet_BMI1/2 to be controlled by the COMPlus_EnableAVX flag and fixing formatting issues
Commit migrated from https://github.com/dotnet/coreclr/commit/
52f9c8a5258267168c97ebb54bce729b26ea3c30
Tanner Gooding [Fri, 6 Jul 2018 16:29:33 +0000 (09:29 -0700)]
Adding tests for the ParallelBitDeposit and ParallelBitExtract Bmi2 HWIntrinsics
Commit migrated from https://github.com/dotnet/coreclr/commit/
d5901fb25c06cfbf01961486f736f90ad254a06d
Tanner Gooding [Fri, 6 Jul 2018 15:31:10 +0000 (08:31 -0700)]
Implementing the ParallelBitDeposit and ParallelBitExtract Bmi2 HWIntrinsics
Commit migrated from https://github.com/dotnet/coreclr/commit/
5ec86ef02448839f02bd94dad8ef662e55770a19
Tanner Gooding [Fri, 6 Jul 2018 06:36:30 +0000 (23:36 -0700)]
Adding tests for the AndNot, ExtractLowestSetBit, GetMaskUpToLowestSetBit, and ResetLowestSetBit x86 HWIntrinsics
Commit migrated from https://github.com/dotnet/coreclr/commit/
a1a58001acecb3779f06087d93470bcf515c2cf6
Tanner Gooding [Fri, 6 Jul 2018 06:34:58 +0000 (23:34 -0700)]
Implementing the AndNot, ExtractLowestSetBit, GetMaskUpToLowestSetBit, and ResetLowestSetBit x86 HWIntrinsics
Commit migrated from https://github.com/dotnet/coreclr/commit/
a27def0c523fab5468bd25d9f72b069b07fc3317
Tanner Gooding [Wed, 4 Jul 2018 23:32:55 +0000 (16:32 -0700)]
Adding tests for the x86 TrailingZeroCount HWintrinsic
Commit migrated from https://github.com/dotnet/coreclr/commit/
e60ad4d0db2a899fc52c30382deac063cef0a942
Tanner Gooding [Wed, 4 Jul 2018 23:32:27 +0000 (16:32 -0700)]
Implementing the x86 TrailingZeroCount HWIntrinsic
Commit migrated from https://github.com/dotnet/coreclr/commit/
a58184ff85db3c60014dbc5d05831131c2355fb0
Tanner Gooding [Wed, 4 Jul 2018 14:55:28 +0000 (07:55 -0700)]
Renaming ScalarUnOpTest to ScalarSimdUnOpTest
Commit migrated from https://github.com/dotnet/coreclr/commit/
7bec88e95e9836e37cc62fb7797e2addf507fc23
Viktor Hofer [Mon, 9 Jul 2018 21:41:07 +0000 (23:41 +0200)]
Fix serialization type in NotFiniteNumberException (dotnet/coreclr#18833)
Commit migrated from https://github.com/dotnet/coreclr/commit/
fca544faf6e89b934ef7db71659968c459d0b5ed
Amy Yu [Tue, 3 Jul 2018 19:59:22 +0000 (12:59 -0700)]
Fix test errors
Commit migrated from https://github.com/dotnet/coreclr/commit/
98dd60aa14d4f52cc88b7f47379b1f90948ca26f
Amy Yu [Tue, 3 Jul 2018 19:13:51 +0000 (12:13 -0700)]
Use BuildManagedTools argument instead of environment variable, removed unneeded flags
Commit migrated from https://github.com/dotnet/coreclr/commit/
a7358133ec2544de4c4ddce5a1f75a8f449cb2ef
Amy Yu [Tue, 3 Jul 2018 00:45:00 +0000 (17:45 -0700)]
Add R2RDump to build.proj, running dotnet restore before target build
Commit migrated from https://github.com/dotnet/coreclr/commit/
a5fbfa57fe7c9dc83d7f7bd4b464b97ffeed35d4
Andon Andonov [Mon, 9 Jul 2018 17:45:24 +0000 (10:45 -0700)]
CoreFX CI Unix Staging commit (dotnet/coreclr#18750)
* Modify netci.groovy
* Add script exit codes
* Ad PR Triggers for Ubuntu and OSX10.12
* Remove release PR triggers
* Rename arch
Remove IsJitStressTestScenario assert
* Add correct asserts
* Reformat conditions and add triggers for Release/Checked/Debug
* Change %WORKSPACE% to \${WORKSPACE}
Commit migrated from https://github.com/dotnet/coreclr/commit/
7baedfdafb6979f48026ed7e01de4b6cc14b3bba
HumanEquivalentUnit [Mon, 9 Jul 2018 15:22:38 +0000 (16:22 +0100)]
Fix a comment in the string.ToLower() method (dotnet/coreclr#18832)
Line 307 is lowercasing the current character, but the comment says "store the current character, upper-cased", fixed comment to say "store the current character, lower-cased".
(Equivalent and correct "upper-cased" comment is on line 252)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4349690ec1c81a28c14ba2801240c94f3f79dec4
Jan Kotas [Mon, 9 Jul 2018 13:50:13 +0000 (06:50 -0700)]
Undo unnecessary BinaryReader::ReadOneChar/InternalReadOneChar split (dotnet/coreclr#18830)
This method had misleading comment that this split is required for performance. It was the case when
InternalReadOneChar was called from other places in CoreLib. These calls do not exist anymore.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4aac6883e54d53b41567b6b999559901d7efd4ec
Anirudh Agnihotry [Mon, 9 Jul 2018 09:21:55 +0000 (02:21 -0700)]
Moved ManualResetEventSlim to shared (dotnet/coreclr#18799)
* Moved ManualResetEventSlim to shared
* covert System.int to System.Int32
Commit migrated from https://github.com/dotnet/coreclr/commit/
82828f73b8fb3dbfb578c7206606a465f2cfeeb1
Rich Lander [Sun, 8 Jul 2018 21:56:41 +0000 (14:56 -0700)]
Correct AssemblyLoadContext comment (dotnet/coreclr#18809)
Commit migrated from https://github.com/dotnet/coreclr/commit/
13a7e7044b475caac8219f9eb6d34f6fd892e970
Viktor Hofer [Sun, 8 Jul 2018 17:41:40 +0000 (19:41 +0200)]
LastIndexOf corner case fix when span is empty (dotnet/coreclr#18826)
Commit migrated from https://github.com/dotnet/coreclr/commit/
018dc20cc8f5815867c30b22a4973702ce4716c4
Viktor Hofer [Sun, 8 Jul 2018 13:41:26 +0000 (15:41 +0200)]
Fix Span LastIndexOf empty value handling
Commit migrated from https://github.com/dotnet/coreclr/commit/
3f4e0c7d2a281c2232fde6421b4a9fc18e889eac
Anirudh Agnihotry [Sat, 7 Jul 2018 01:47:46 +0000 (18:47 -0700)]
TargetFrameworkName property initialized (dotnet/coreclr#18814)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2dd9ba545f9bca84bae2d1181d6327f4e8d470a7
Stephen Toub [Fri, 6 Jul 2018 16:12:54 +0000 (12:12 -0400)]
Improve DateTime{Offset}.ParseExact performance for "O"/"o" roundtrip format (dotnet/coreclr#18800)
Ports the code used by Utf8Parser, modified to support things Utf8Parser doesn't but DateTime{Offset{.ParseExact do, such as single-digit offset hours.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e650d42d14f0b701fbbe7fb8f4eb05616c0cf53d
Bruce Forstall [Fri, 6 Jul 2018 16:00:49 +0000 (09:00 -0700)]
Merge pull request dotnet/coreclr#18795 from BruceForstall/RemoveArmemJobs
Remove Ubuntu/Ubuntu16.04 emulator CI jobs
Commit migrated from https://github.com/dotnet/coreclr/commit/
a0ad19ec7305542fd5d1cc63a3a5d791bde63ae8
Carol Eidt [Fri, 6 Jul 2018 14:00:03 +0000 (07:00 -0700)]
Don't change PUTARG_REG type on arm64
Fix dotnet/coreclr#18746
Commit migrated from https://github.com/dotnet/coreclr/commit/
025a975e67b9069c62a62803ed5e51588db128bf
nkaretnikov2 [Fri, 6 Jul 2018 12:54:28 +0000 (15:54 +0300)]
[ARM] Mention a clang-5.0 issue in the documentation (dotnet/coreclr#18803)
Commit migrated from https://github.com/dotnet/coreclr/commit/
777618952db7e68e6b8e867f087f62d24b1b6fe1
Brian Sullivan [Thu, 5 Jul 2018 23:03:18 +0000 (16:03 -0700)]
Merge pull request dotnet/coreclr#18775 from briansull/add-noway-assert
Add noway asserts in gtNewZeroConNode and gtNewOneConNode
Commit migrated from https://github.com/dotnet/coreclr/commit/
5922cd345fe5de97efaccf426381db4ac74bc53c
Bruce Forstall [Thu, 5 Jul 2018 22:07:14 +0000 (15:07 -0700)]
Remove Ubuntu/Ubuntu16.04 emulator CI jobs
Now that we have Ubuntu arm hardware in the lab, these are unnecessary.
The jobs have also been failing for months.
Commit migrated from https://github.com/dotnet/coreclr/commit/
591a710cf43f96346570c73745cf58dd739e3713
Aaron Robinson [Thu, 5 Jul 2018 21:29:27 +0000 (14:29 -0700)]
Update certain Marshal APIs to match exception thrown on .NET Framework (dotnet/coreclr#18791)
Update certain Marshal APIs to match exception thrown on Desktop
Commit migrated from https://github.com/dotnet/coreclr/commit/
c32eff71383529355f85c83c3caee1953501e2e1
Brian Sullivan [Wed, 20 Jun 2018 23:51:15 +0000 (16:51 -0700)]
Added noway asserts in gtNewZeroConNode and gtNewOneConNode
Added source code change that was needed to service 4.7.2 in fgMorphRecursiveFastTailCallIntoLoop
Set zero/one to null after noway_assert
Commit migrated from https://github.com/dotnet/coreclr/commit/
47c744ebc48cb6c0654f8c11a09870efe16984a3
Bruce Forstall [Thu, 5 Jul 2018 17:51:42 +0000 (10:51 -0700)]
Merge pull request dotnet/coreclr#18793 from BruceForstall/UpdateLibUnwindIssue
Update Linux ARM libunwind instructions
Commit migrated from https://github.com/dotnet/coreclr/commit/
d9d56cccf7b972ee3986e1b8e5113c41df4323de
Bruce Forstall [Thu, 5 Jul 2018 17:50:06 +0000 (10:50 -0700)]
Update Linux ARM libunwind instructions
Commit migrated from https://github.com/dotnet/coreclr/commit/
5c2fbeda7afd01613c193ac65ecbf7605b7a6462
Jarret Shook [Thu, 5 Jul 2018 16:46:51 +0000 (09:46 -0700)]
Enable genFnCalleeRegArgs for Arm64 Varargs (dotnet/coreclr#18714)
* Enable genFnCalleeRegArgs for Arm64 Varargs
Before the method would early out and incorrectly expect the usage
of all incoming arguments to be their homed stack slots. It is
instead possible for incoming arguments to be homed to different
integer registers.
The change will mangle the float types for vararg cases in the same
way that is done during lvaInitUserArgs and fgMorphArgs.
* Apply format patch
* Account for softfp case
* Address feedback
* Apply format patch
* Use standard function header for mangleVarArgsType
* Remove confusing comment
Commit migrated from https://github.com/dotnet/coreclr/commit/
b1bda1bbc9a5fe9954938b4b627660d3acbe7504
Jan Kotas [Thu, 5 Jul 2018 06:04:02 +0000 (08:04 +0200)]
Delete dead code (dotnet/coreclr#18783)
- Leftover from unobserved exception desktop quirk
- Unnecessary calls to AppDomain.IsFinalizingForUnload(). They were actually never required even with AppDomain support because of Environment.HasShutdownStarted returns true during AppDomain unload.
Commit migrated from https://github.com/dotnet/coreclr/commit/
cd1232d47cc028ebf6d22621ce63903a7e5c0e94
Stephen Toub [Thu, 5 Jul 2018 01:38:05 +0000 (21:38 -0400)]
Improve DateTime{Offset}.ParseExact{Multiple} performance for RFC1123 ("r") (dotnet/coreclr#18771)
* Improve DateTime{Offset}.ParseExact{Multiple} performance for RFC1123 ("r")
Significantly improves the performance by porting and adapting the Utf8Parser code from corefx. This optimizes for the (default) case of a DateTimeStyles.None; specifying any other style falls back to the normal parsing support, as that requires handling things such as arbitrary whitespace anywhere in the string.
* Address PR feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
9f9a37d04460559c3f91927f1297c8195411a0a3
Andy Ayers [Wed, 4 Jul 2018 20:33:36 +0000 (13:33 -0700)]
Re-enable jit regression test DevDiv_590771 (dotnet/coreclr#18724)
The issue the test was hitting was worked around in dotnet/coreclr#18292.
Fixes dotnet/coreclr#17967.
Also add GitHub_18522_8 to the arm/arm64 lists (from dotnet/coreclr#18708).
Commit migrated from https://github.com/dotnet/coreclr/commit/
2946fdf5c8d66b8fb9ce7c44cef86ba7f81c65db
Viktor Hofer [Wed, 4 Jul 2018 18:56:25 +0000 (20:56 +0200)]
Add LastIndexOf compareoptions overload (dotnet/coreclr#18652)
* Add LastIndexOf compareoptions overload
Commit migrated from https://github.com/dotnet/coreclr/commit/
4e645b1a24a9a6eeb5c9944ebbe1dd07ef6228e0
Tanner Gooding [Sun, 1 Jul 2018 15:06:46 +0000 (08:06 -0700)]
Adding tests for the byte overload of Ssse3.Shuffle
Commit migrated from https://github.com/dotnet/coreclr/commit/
8aee85b0313d51cb5b5faaa320ee24d22e515912
Tanner Gooding [Sun, 1 Jul 2018 15:01:49 +0000 (08:01 -0700)]
Adding support for the `byte` overload of `Ssse3.Shuffle`
Commit migrated from https://github.com/dotnet/coreclr/commit/
d78b519676b88b4e5ae54224f5efa6866d000624
Jan Kotas [Wed, 4 Jul 2018 09:19:38 +0000 (11:19 +0200)]
Remove mention of security transparency from message and comment (dotnet/coreclr#18776)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4da00cf6cbe7d013af525d4c526f00c2f8edc7fe
Andrew Au [Wed, 4 Jul 2018 06:12:54 +0000 (23:12 -0700)]
compGSReorderStackLayout is not supported when EnC is on (dotnet/coreclr#18713)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2ce3f25984f5110b1821d895dc99119501e19f52
dotnet-maestro-bot [Wed, 4 Jul 2018 03:36:31 +0000 (20:36 -0700)]
Update CoreClr, CoreFx to preview1-26704-01, preview1-26704-01, respectively (dotnet/coreclr#18773)
Commit migrated from https://github.com/dotnet/coreclr/commit/
78cdaf104dc5e92640f82e26f4ccde009f71ee0e
Luqun Lou [Wed, 4 Jul 2018 01:30:33 +0000 (18:30 -0700)]
Delete InternalsVisibleTo attributes from S.P.CoreLib (dotnet/coreclr#18697)
Commit migrated from https://github.com/dotnet/coreclr/commit/
c5dce0a3c0c5046aacde93c7ee2e35371d15ad6f
Bruce Forstall [Tue, 3 Jul 2018 22:53:28 +0000 (15:53 -0700)]
Merge pull request dotnet/coreclr#18504 from mikedn/comp-small
Make Compiler and CodeGen objects smaller
Commit migrated from https://github.com/dotnet/coreclr/commit/
7d048c01f8eb4b7591f71556dff5cb4ae9a79d9a
Tomas Weinfurt [Tue, 3 Jul 2018 21:00:40 +0000 (14:00 -0700)]
add missing files to package properly on FreeBSD (dotnet/coreclr#18764)
Commit migrated from https://github.com/dotnet/coreclr/commit/
8d32f87b74b90f7da03574f3d44a370319886681
Carol Eidt [Tue, 3 Jul 2018 20:02:07 +0000 (13:02 -0700)]
Merge pull request dotnet/coreclr#18768 from CarolEidt/RemoveIsMultiReg
Remove Interval::isMultiReg
Commit migrated from https://github.com/dotnet/coreclr/commit/
dc8ee8c84cf51a474fbfc164f7efe825a7a7aece
Carol Eidt [Tue, 3 Jul 2018 19:21:11 +0000 (12:21 -0700)]
Merge pull request dotnet/coreclr#18766 from CarolEidt/Fix18765
Build uses for atomic ops
Commit migrated from https://github.com/dotnet/coreclr/commit/
49e69bc67c26c2431653646af61d8bccb342a356
Bruce Forstall [Tue, 3 Jul 2018 17:27:00 +0000 (10:27 -0700)]
Merge pull request dotnet/coreclr#18716 from BruceForstall/RemoveTstJobsFromViews
Remove build-only and TST jobs from the Jenkins views
Commit migrated from https://github.com/dotnet/coreclr/commit/
13f2f8ce261db0771f6b602e90f0a408cdd33142
dotnet-maestro-bot [Tue, 3 Jul 2018 17:20:00 +0000 (10:20 -0700)]
Update CoreClr, PgoData to preview1-26703-04, master-
20180703-0030, respectively (dotnet/coreclr#18761)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4a4cbc56e5d402e1a43a106c28aed2ec4a745e7b
Carol Eidt [Tue, 3 Jul 2018 16:46:04 +0000 (09:46 -0700)]
Remove Interval::isMultiReg
This is no longer used after dotnet/coreclr#16517
Commit migrated from https://github.com/dotnet/coreclr/commit/
5d01d2d16f4a4c9592002d7c76c19f01f2529140
Carol Eidt [Tue, 3 Jul 2018 14:42:12 +0000 (07:42 -0700)]
Build uses for atomic ops
Fix dotnet/coreclr#18765
Commit migrated from https://github.com/dotnet/coreclr/commit/
f780ddabeb75b2416723bd96f38b361c682c3038
Egor Chesakov [Tue, 3 Jul 2018 02:37:15 +0000 (19:37 -0700)]
Use generic win-x86/win-x64 RIDs in stress_dependencies
Commit migrated from https://github.com/dotnet/coreclr/commit/
87120600c574caf37b4304c2d0725bd90856ab37
Marco Rossignoli [Tue, 3 Jul 2018 04:38:33 +0000 (06:38 +0200)]
Add back most CreateInstance APIs to AppDomain and Activator (dotnet/coreclr#18751)
* add ObjectHandle.cs
* add signature placeholder
* move CreateInstance from netfx
* move CreateInstanceFrom from netfx
* nit: visibility, text formatting
Commit migrated from https://github.com/dotnet/coreclr/commit/
c7c50c5cd54b91c1f982fda8e5c8b21aead3f352
Andon Andonov [Tue, 3 Jul 2018 03:20:38 +0000 (20:20 -0700)]
Update CoreFX CI packages to NetcoreApp3 (dotnet/coreclr#18760)
* Update to FX CI packages to NetcoreApp3
* Add Extra Dependencies
* Enable all tests fixed by change
Commit migrated from https://github.com/dotnet/coreclr/commit/
f32c75e697e77340d581d577789cc530993abbc4
Tanner Gooding [Sat, 30 Jun 2018 05:21:22 +0000 (22:21 -0700)]
Updating SSE_StaticCast and AVX_StaticCast to set the correct type on the returned node.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e3292deddb16defb8d431ec456cf351dd95102c1
Tanner Gooding [Sun, 17 Jun 2018 15:58:20 +0000 (08:58 -0700)]
Fold away Sse.StaticCast and Avx.StaticCast in the importer
Commit migrated from https://github.com/dotnet/coreclr/commit/
94edffc61a1cd7bf61fad5a4910d7cfb786b6f24