chunseoklee [Fri, 1 Jul 2016 08:41:20 +0000 (17:41 +0900)]
FIX dotnet/coreclr#6074 : cannot find exception handler on arm (dotnet/coreclr#6088)
Commit migrated from https://github.com/dotnet/coreclr/commit/
597e160564c2d4ce26efff1450b0d96647071638
Kyungwoo Lee [Fri, 1 Jul 2016 01:49:05 +0000 (18:49 -0700)]
Merge pull request dotnet/coreclr#6082 from kyulee1/gc3
ARM64: Enable GCStress0x3 Private Job
Commit migrated from https://github.com/dotnet/coreclr/commit/
a9ab292d74caf5e0e412f4cd6e4e2127aa8eb6a6
Andy Ayers [Fri, 1 Jul 2016 00:47:24 +0000 (17:47 -0700)]
Merge pull request dotnet/coreclr#6078 from AndyAyersMS/ModelPolicyAvailability
Inliner: make ModelPolicy available in release builds
Commit migrated from https://github.com/dotnet/coreclr/commit/
0dad06cfc57e53123a8e861f5949ceaf889fb78d
Pat Gavlin [Thu, 30 Jun 2016 23:36:19 +0000 (16:36 -0700)]
Merge pull request dotnet/coreclr#6077 from pgavlin/RemoveGtfDead
Remove GTF_DEAD.
Commit migrated from https://github.com/dotnet/coreclr/commit/
8e8f0499f6245c5e3d678675e3b9ecd1fb6fbd58
Mike McLaughlin [Thu, 30 Jun 2016 22:49:46 +0000 (15:49 -0700)]
Fix the hang in the debugger tests repo on OS X. (dotnet/coreclr#6079)
The transport pipe closes during shudown where blocked/deadlocked with the pending read on the transport thread.
Commit migrated from https://github.com/dotnet/coreclr/commit/
7487889945fff12556f10c72ea9dc7732f7f0528
Kyungwoo Lee [Thu, 30 Jun 2016 22:00:07 +0000 (15:00 -0700)]
ARM64: Enable GCStress0x3 Private Job
Commit migrated from https://github.com/dotnet/coreclr/commit/
1e142344d7b67c7cce3d1d1346223b630f84496f
William Godbe [Thu, 30 Jun 2016 21:40:53 +0000 (14:40 -0700)]
Merge pull request dotnet/coreclr#6080 from wtgodbe/artifacts
Use HTML publisher for code coverage reports in CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
9ceb6b6c4f1fd9d76a3d986750049bbed5bd0af8
wtgodbe [Thu, 30 Jun 2016 21:32:44 +0000 (14:32 -0700)]
Use HTML publisher for code coverage reports in CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
b6199d247b619ebe62e733b62fb4cec998faee27
Andy Ayers [Tue, 28 Jun 2016 22:07:01 +0000 (15:07 -0700)]
Inliner: make ModelPolicy available in release builds
Make the ModelPolicy available in release builds of the jit. Enable this
policy by setting:
COMPLUS_JitInlinePolicyModel=1
This works for either jitting or prejitting.
Update the ModelPolicy so callee never inline decisions are always
propagated back to the runtime.
Commit migrated from https://github.com/dotnet/coreclr/commit/
73ec3f5e0a240d3c9bd56f4159c94ca06d3c5392
Pat Gavlin [Thu, 30 Jun 2016 17:26:05 +0000 (10:26 -0700)]
Remove GTF_DEAD.
This flag was only used by CSE to mark dead trees s.t. these trees
were not considered during CSE replacement. The same information,
however, can be provided by the gtCSEnum field: a tree with this
field set to NO_CSE is treated identically to a tree marked with
GTF_DEAD. The GTF_DEAD flag is therefore redundant and can be
eliminated.
This is part of dotnet/coreclr#5999.
Commit migrated from https://github.com/dotnet/coreclr/commit/
a26d86b7d1562982b70776cffaeea8a633709dd0
Evgeny Pavlov [Thu, 30 Jun 2016 17:40:25 +0000 (21:40 +0400)]
[SOS] [Linux] Initial support of reading source and line number by native offset (dotnet/coreclr#6010)
* Initial support of reading source and line number by native offset
using portable PDB reader
Commit migrated from https://github.com/dotnet/coreclr/commit/
60dcd3b757532863803c302c750de79c266d651d
Jarret Shook [Thu, 30 Jun 2016 15:41:41 +0000 (08:41 -0700)]
Merge pull request dotnet/coreclr#5958 from jashook/disable_timeouts_under_gcstress
Disable tests that timeout under gcstress
Commit migrated from https://github.com/dotnet/coreclr/commit/
84aadf1d52f720379eb58bbbda061d0c704b2910
Mike McLaughlin [Thu, 30 Jun 2016 05:06:06 +0000 (22:06 -0700)]
Fix undefined locals in desktop test builds. (dotnet/coreclr#6073)
When for desktop out of the ProjectK branch, the previous change left unassigned member variables. Moved the pragma to include them.
Commit migrated from https://github.com/dotnet/coreclr/commit/
24a53c5bd05c4ee9dd496af296b5a7aef18bce82
Kyungwoo Lee [Thu, 30 Jun 2016 03:20:53 +0000 (20:20 -0700)]
Merge pull request dotnet/coreclr#6075 from kyulee1/settime
ARM64: Set timeout per scenario
Commit migrated from https://github.com/dotnet/coreclr/commit/
e2c429bf0ecfe71dd9c1e4b2639644b21d7fddda
Kyungwoo Lee [Thu, 30 Jun 2016 01:26:41 +0000 (18:26 -0700)]
ARM64: Set timeout per scenario
Commit migrated from https://github.com/dotnet/coreclr/commit/
b49523e6a92a68d1dbe616a17a667c8771a46001
William Godbe [Wed, 29 Jun 2016 21:44:42 +0000 (14:44 -0700)]
Merge pull request dotnet/coreclr#6072 from wtgodbe/archive2
Archive the right artifacts in coverage build
Commit migrated from https://github.com/dotnet/coreclr/commit/
d07be565fce4461a2cca805f7e26e2284a9c274d
wtgodbe [Wed, 29 Jun 2016 21:36:01 +0000 (14:36 -0700)]
Archive the right artifacts in coverage build
Commit migrated from https://github.com/dotnet/coreclr/commit/
0806922ac827ccb60c2c99627b7a51bbff0ba50d
Brian Sullivan [Wed, 29 Jun 2016 20:46:55 +0000 (13:46 -0700)]
Merge pull request dotnet/coreclr#6044 from briansull/split-lvIsMultiRegArgOrRet
Split the lvIsMultiiRegArgOrRet into two bits
Commit migrated from https://github.com/dotnet/coreclr/commit/
a9bb1eff52c7a1a7a1a9083ce7bac5bfbedb9191
Aditya Mandaleeka [Wed, 29 Jun 2016 19:50:06 +0000 (12:50 -0700)]
Merge pull request dotnet/coreclr#6041 from adityamandaleeka/fix_strip_logic
Fix platform logic in symbol stripping code
Commit migrated from https://github.com/dotnet/coreclr/commit/
2f9e1c1e7271cee1ce126473534dabd3520aa67f
William Godbe [Wed, 29 Jun 2016 19:20:16 +0000 (12:20 -0700)]
Merge pull request dotnet/coreclr#6070 from wtgodbe/sign
Only sign non-arm64 binaries
Commit migrated from https://github.com/dotnet/coreclr/commit/
7a2c097b4bc53a67dce34559100658fe5cf177d9
Andy Ayers [Wed, 29 Jun 2016 19:12:07 +0000 (12:12 -0700)]
Merge pull request dotnet/coreclr#6069 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
eb89f68a22c471fac194561dc285027f8aa970bb
wtgodbe [Wed, 29 Jun 2016 18:14:53 +0000 (11:14 -0700)]
Only sign non-arm64 binaries
Commit migrated from https://github.com/dotnet/coreclr/commit/
fc8205c202b4309f4007bc53d0287095e7663f8f
Brian Sullivan [Wed, 29 Jun 2016 00:32:33 +0000 (17:32 -0700)]
Split the lvIsMultiRegArgOrRet into two bits
Currently for all targets that have MultiReg return LclVars we require that they not be struct promoted.
But on ARM64 we do allow for MultiReg #argument LclVars to be struct promoted.
Thus we have to disentagle this value into two distinct bool values to implement MultiReg returns for Arm64.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1472efcd7d07a5238a8ed091a628df843d7ad437
jashoo [Wed, 29 Jun 2016 17:32:41 +0000 (10:32 -0700)]
Disable tests that timeout under gcstress
After increasing the timeout time for gcstress, these tests continue to fail
due to timeouts. To get the gcstress legs green and keep them within a manageable
amount of time they will be disabled.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b624185b05169aac2b6e60ab0e4b01e4e82e9d86
Andy Ayers [Wed, 29 Jun 2016 17:22:43 +0000 (10:22 -0700)]
Have the jit capture the SuperPMI method index for use in correlating outputs from different runs.
Useful for matching SPMI outputs in cases where jit changes cause differential replay failures so lining up results side-by-side doesn't work.
If the jit is not hosted under SPMI, the index will report as zero.
[tfs-changeset: 1615278]
Commit migrated from https://github.com/dotnet/coreclr/commit/
6410ab910e61cda29914a6a760c312b4434426a9
Mike McLaughlin [Wed, 29 Jun 2016 15:52:57 +0000 (08:52 -0700)]
Fix building on desktop bug dotnet/coreclr#234633. (dotnet/coreclr#6045)
ifdef the references to System.Diagnostic.StackFrame.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6c417022545b9f1e134100962909795a5958ca1f
Kyungwoo Lee [Wed, 29 Jun 2016 15:51:07 +0000 (08:51 -0700)]
Merge pull request dotnet/coreclr#6054 from kyulee1/gcjob
ARM64: Enable a gcstress private job
Commit migrated from https://github.com/dotnet/coreclr/commit/
f339d85ac572b5e21dbb5e5118bea0820758c9ac
Kyungwoo Lee [Wed, 29 Jun 2016 15:30:27 +0000 (08:30 -0700)]
Merge pull request dotnet/coreclr#6040 from rahku/arm64retbuf
ARM64: update tests.lst
Commit migrated from https://github.com/dotnet/coreclr/commit/
ce479d6a4818e8a30114cd84a8e9e34fcd2b8720
Gaurav Khanna [Wed, 29 Jun 2016 15:25:26 +0000 (08:25 -0700)]
Merge pull request dotnet/coreclr#6000 from gkhanna79/Arm64Nuget
Generate nuget packages for Arm64 build
Commit migrated from https://github.com/dotnet/coreclr/commit/
d72f9368647e7ed64edd9ba5717284d2d0486830
Kyungwoo Lee [Wed, 29 Jun 2016 15:20:10 +0000 (08:20 -0700)]
ARM64: Enable a gcstress private job
Commit migrated from https://github.com/dotnet/coreclr/commit/
07e9b4dd6330f90198a7fe8ed4f4293291ce9f89
Gaurav Khanna [Wed, 29 Jun 2016 15:16:48 +0000 (08:16 -0700)]
Merge pull request dotnet/coreclr#6049 from dotnet-bot/UpdateDependencies20160629051946
Updating External dependencies to beta-24229-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
c29207935c690ef639fa00b51af3b2e43892a59f
Kyungwoo Lee [Wed, 29 Jun 2016 14:52:37 +0000 (07:52 -0700)]
Merge pull request dotnet/coreclr#6053 from kyulee1/ilrtrel
Relase build only for ilasm round trip tests in CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
5bbd586e9aadde24f019f9f5b9f6c929c54a3a61
Kyungwoo Lee [Wed, 29 Jun 2016 14:41:41 +0000 (07:41 -0700)]
Relase build only for ilasm round trip tests in CI
This eliminates spurious job display in Jenkins web which is unnecessary.
Commit migrated from https://github.com/dotnet/coreclr/commit/
899e9ef43b625920dd224e02ad534ad5334d9fbd
Kyungwoo Lee [Wed, 29 Jun 2016 13:43:15 +0000 (06:43 -0700)]
Merge pull request dotnet/coreclr#5950 from wateret/fix-5949
[ARM/Linux] Disable unittest `_il_reltypeEqualOp`
Commit migrated from https://github.com/dotnet/coreclr/commit/
9516128e4151504009962750c300a9265fab378e
Hanjoung Lee [Wed, 29 Jun 2016 05:55:37 +0000 (14:55 +0900)]
Remove unittests that contain undefined behaviour
Following tests contain undefined behaviour.
(Casting double to an integer type for a value that cannot be represent as the integer type.)
- JIT.Methodical.casts.ilseq._il_reltypeEqualOp._il_reltypeEqualOp
- JIT.Regression.CLR-x86-JIT.V1-M10.b08107
Commit migrated from https://github.com/dotnet/coreclr/commit/
13e41af728d14f517cf61cf0eb0ba981e3f823e3
dotnet-bot [Wed, 29 Jun 2016 05:19:46 +0000 (05:19 +0000)]
Updating External dependencies to beta-24229-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
52aa4f7ba5ec7ff37f7cbed5d2c93ac335ef8034
Bruce Forstall [Wed, 29 Jun 2016 03:24:53 +0000 (20:24 -0700)]
Merge pull request dotnet/coreclr#6043 from BruceForstall/DisplayPlatformInJitDump
Display the build platform and architecture in the JitDump
Commit migrated from https://github.com/dotnet/coreclr/commit/
b8be92257a96a5fe62ca7282eaa502835e87f95b
Bruce Forstall [Tue, 28 Jun 2016 23:55:25 +0000 (16:55 -0700)]
Display the build platform and architecture in the JitDump
Commit migrated from https://github.com/dotnet/coreclr/commit/
2ef00fae43a7c1917d5860459f4686b3e1049d14
Bruce Forstall [Tue, 28 Jun 2016 23:54:08 +0000 (16:54 -0700)]
Merge pull request dotnet/coreclr#6038 from BruceForstall/PinvokeFeedbackCleanup
Address P/Invoke inlining code review feedback and cleanup
Commit migrated from https://github.com/dotnet/coreclr/commit/
652f1f081416c1ecbc06a29e5448f4fef7e0a4f4
William Godbe [Tue, 28 Jun 2016 23:34:19 +0000 (16:34 -0700)]
Merge pull request dotnet/coreclr#6042 from wtgodbe/archive
Archive coverage reports from the right place
Commit migrated from https://github.com/dotnet/coreclr/commit/
e0a0ee5ac9e3dabdd394d98292ab940dd0051de8
wtgodbe [Tue, 28 Jun 2016 23:30:28 +0000 (16:30 -0700)]
Archive coverage reports from the right place
Commit migrated from https://github.com/dotnet/coreclr/commit/
3887b98f5a14defb53c479ddf5205425593d230f
Brian Sullivan [Tue, 28 Jun 2016 22:51:05 +0000 (15:51 -0700)]
Merge pull request dotnet/coreclr#6035 from briansull/fix-5642
Fix issue dotnet/coreclr#5642
Commit migrated from https://github.com/dotnet/coreclr/commit/
2d2f439cfc05e01a8a22c8d6d1d61ecc41dbb334
Brian Sullivan [Tue, 28 Jun 2016 22:41:47 +0000 (15:41 -0700)]
Merge pull request dotnet/coreclr#6036 from briansull/dump-fix-inlining
Do not enable the verbose Jit Dump during the inlining decision phase.
Commit migrated from https://github.com/dotnet/coreclr/commit/
f08a5b48896a7ead87c510ebbfe9c20a7ed2009d
Aditya Mandaleeka [Tue, 28 Jun 2016 22:37:25 +0000 (15:37 -0700)]
Fix path to BOTR GC section in gc.cpp (dotnet/coreclr#6039)
Commit migrated from https://github.com/dotnet/coreclr/commit/
bbb24f97ea4ab91b731363276d2401d62f3da7cf
Aditya Mandaleeka [Tue, 28 Jun 2016 22:25:11 +0000 (15:25 -0700)]
Fix platform logic in symbol stripping code.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ff5bebf77744910b7db1c3f590b178c95314acf3
Rahul Kumar [Tue, 28 Jun 2016 22:14:31 +0000 (15:14 -0700)]
update arm64 tests.lst
Commit migrated from https://github.com/dotnet/coreclr/commit/
bbb2189e6e0623403de0a6576f195db8a59dfe23
Bruce Forstall [Tue, 28 Jun 2016 21:56:50 +0000 (14:56 -0700)]
Address P/Invoke inlining code review feedback and cleanup
Address some code review feedback from dotnet/coreclr#5939. Also, do a little cleanup.
Specifically:
1. Make many GenTreeCall accessors 'const'.
2. HasNonStandardArgs() and GetNonStandardArgCount() are used for a specific purpose in the fast
tailcall implementation. However, the fgMorphArgs() "non-standard args" mechanism is now used for
other purposes, so the names of these didn't match their intent. Also, the logic had decayed compared
to the fgMorphArgs logic it was mimicing. I renamed them to add the word "Added", and wrote some
comments to be more explicit about their use, as well as indicate in fgMorphArgs() that they need
to be kept in sync.
3. Added several GenTreeCall::IsHelperCall() accessors, and replace some code with them.
4. Added RBM_INIT_PINVOKE_FRAME_TRASH define to remove an `#ifdef`.
5. Removed an assert loop in LowerFastTailCall() since it's no longer accurate given the new users of `isNonStandard`.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d415a00bd954f7f9306c38c4e4fbfe34ccfa7242
Rahul Kumar [Tue, 28 Jun 2016 22:04:33 +0000 (15:04 -0700)]
Merge pull request dotnet/coreclr#5978 from rahku/arm64retbuf
Fix Pinvoke IL Stubs to emit correct return type in signature of call…
Commit migrated from https://github.com/dotnet/coreclr/commit/
2364d603e7d1357ccc4da6b0761a5a2575511297
Rahul Kumar [Wed, 22 Jun 2016 21:48:37 +0000 (14:48 -0700)]
Fix Pinvoke IL Stubs to emit correct return type in signature of calli instruction
Commit migrated from https://github.com/dotnet/coreclr/commit/
6d5ef671e0eb35c813955a4532f95e7a03843d35
Brian Sullivan [Tue, 28 Jun 2016 20:35:46 +0000 (13:35 -0700)]
Do not enable the verbose Jit Dump during the inlining decision phase.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ad4a5835789f9dfbf82b8d9bdf2dd6b0bccd14ca
Kyungwoo Lee [Tue, 28 Jun 2016 20:30:38 +0000 (13:30 -0700)]
Merge pull request dotnet/coreclr#6030 from kyulee1/config
Fix default optimization setting for System.Private.CoreLib
Commit migrated from https://github.com/dotnet/coreclr/commit/
f33074e520942fe511dc0a7b6e347f1106ae313e
Brian Sullivan [Tue, 28 Jun 2016 20:22:11 +0000 (13:22 -0700)]
Fix issue dotnet/coreclr#5642
Only consider hfa types when multireg return is enabled for the target
Update Test.Lst with new passing test
Commit migrated from https://github.com/dotnet/coreclr/commit/
d27ce13013ee4e2da47956880f9e5037bf8c5ef6
Jan Vorlicek [Tue, 28 Jun 2016 19:34:04 +0000 (21:34 +0200)]
Fix Windows context to Unix context translation on AMD64 (dotnet/coreclr#6027)
There was a bug in the context translation between the Windows context
and Unix context on AMD64 caused by the fact that the Unix context
gregs array contains CS, GS and FS in a single field (REG_CSGSFS) and
the MCREG_SegCs accessor macro was incorrectly written to use the
whole field as CS. So writing the CS into the Unix context also
cleared the GS, FS and the topmost 16 bits described as padding.
This issue was exposed on the Linux kernel >= 4.6.0 where the padding
for some reason was not zero, probably used by the kernel for some
internal purposes.
I have fixed it by changing the accessor to modify only the 16 bits
corresponding to the CS.
I have also changed the code in the inject_activation_handler to
save cycles and not to copy the Windows context back to the Unix one
in case the activation function was not called and so the context
was not possibly changed.
Commit migrated from https://github.com/dotnet/coreclr/commit/
56ab756b0e9afef24cf9151a4a43f23e8d78de29
William Godbe [Tue, 28 Jun 2016 19:08:35 +0000 (12:08 -0700)]
Merge pull request dotnet/coreclr#6032 from wtgodbe/coverFix
Build coreclr as part of flow job in coverage jobs
Commit migrated from https://github.com/dotnet/coreclr/commit/
795211956bc52ed2687288c20562bea31c459ede
wtgodbe [Tue, 28 Jun 2016 18:58:41 +0000 (11:58 -0700)]
Build coreclr as part of flow job in coverage jobs
Commit migrated from https://github.com/dotnet/coreclr/commit/
d46d4228e91b6a2b87574ed9db14b7a0c473adcc
Kyungwoo Lee [Tue, 28 Jun 2016 16:42:59 +0000 (09:42 -0700)]
Fix default optimization setting for System.Private.CoreLib
This disable optimization for System.Private.CoreLib under debug build.
Commit migrated from https://github.com/dotnet/coreclr/commit/
32e8325ddcb9675a9dfa5ae2611f53a48f1d95be
Gaurav Khanna [Tue, 28 Jun 2016 14:27:19 +0000 (07:27 -0700)]
Package native Arm64 crossgen as well.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6983352807ad9cc249186a62d8772691a578cc79
Gaurav Khanna [Tue, 28 Jun 2016 13:40:29 +0000 (06:40 -0700)]
Merge pull request dotnet/coreclr#6025 from dotnet-bot/UpdateDependencies20160628051939
Updating External dependencies to beta-24228-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
9265318cd11423d011f8ab50b7a505913b848c65
Manu [Tue, 28 Jun 2016 10:08:51 +0000 (19:08 +0900)]
Fix 'unicode/uchar.h' file not found (dotnet/coreclr#6009)
The latest version of Homebrew does not set up the include path for `icu4c` so we have to force the creation of symbolic links like this is done for OpenSSL.
Commit migrated from https://github.com/dotnet/coreclr/commit/
95a54252ac963447328e1718a66cce5ef20effa4
MyungJoo Ham [Tue, 28 Jun 2016 07:44:09 +0000 (16:44 +0900)]
Move intermediate file into intermediate dir (dotnet/coreclr#5981)
The intermediate file, cmake.definitions, is moved into
the intermediate directory: bin/obj/OS.Arch.Conf/
The script won't emit error for not having the cmake
results because some systems (Windows) do not use Cmake
and users might use "skipnative".
Fixes dotnet/coreclr#5976
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
5acbced129024a38aec530f1bb9cd85b7568e05a
dotnet-bot [Tue, 28 Jun 2016 05:19:39 +0000 (05:19 +0000)]
Updating External dependencies to beta-24228-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
6cedd351e25f69184f21bfa50b5efc53eca393cc
Sean Gillespie [Tue, 28 Jun 2016 04:55:20 +0000 (21:55 -0700)]
Merge pull request dotnet/coreclr#6019 from swgillespie/gcsimulator-timeout
Remove one GCSimulator tests that takes way too long
Commit migrated from https://github.com/dotnet/coreclr/commit/
4f134e6e5faecfb184ac4859970b556149357e2d
Pat Gavlin [Mon, 27 Jun 2016 23:13:14 +0000 (16:13 -0700)]
Merge pull request dotnet/coreclr#6017 from pgavlin/SIMDBugFixes
Fix three SIMD-related bugs.
Commit migrated from https://github.com/dotnet/coreclr/commit/
53f6348e63f1034344bf60ed26ea5d52abd92601
Jarret Shook [Mon, 27 Jun 2016 23:09:47 +0000 (16:09 -0700)]
Merge pull request dotnet/coreclr#5992 from prajwal-aithal/devel/arm-ci-script-improv
ARM-CI: Improve readability of the ARM CI script
Commit migrated from https://github.com/dotnet/coreclr/commit/
1a0da08687151c0f4812439baaf6025db56277c6
Sean Gillespie [Mon, 27 Jun 2016 22:42:06 +0000 (15:42 -0700)]
Remove one GCSimulator tests that takes way too long
Commit migrated from https://github.com/dotnet/coreclr/commit/
2a6be7ef7e69a93178bc4967dd0b35522b561836
Pat Gavlin [Mon, 27 Jun 2016 21:31:13 +0000 (14:31 -0700)]
Address PR feedback.
- Add comments regarding the legality of a null type handle in
`gtNewCpObjNode`
- Fix a CC issue in `gtNewTempAssign`
Commit migrated from https://github.com/dotnet/coreclr/commit/
e73cb106f9043a48ac59b7dbc61495efeeb929ed
Pat Gavlin [Mon, 27 Jun 2016 19:46:06 +0000 (12:46 -0700)]
Fix three SIMD-related bugs.
The first two bugs involve SIMD nodes that are created by the JIT
for intermediate SIMD operations. These interediate operations
are not directly represented in metadata) and may therefore use
SIMD types that are not present in metadata. For example, metadata
may only use Vector<T>, but the IR may represent some intermediate
operations using the natural vector type for the target machine.
In these cases, the JIT will not be able to derive a type handle
for the SIMD type, which was causing a couple of issues:
- `gtNewTempAssign` was generating a `GT_ASG` node instead of a
`GT_COPYBLK` when given trees involving these operations and
types
- `gtGetStructHandleIfPresent` was returning an invalid type handle
when dealing with SIMD-typed `GT_IND` nodes
The fix for the former is to check for SIMD-typed trees in
`gtNewTempAssign` and `gtNewCpObjNode`; the fix for the latter is
to check for SIMD-typed trees before checking for the array index
flag on a `GT_IND` in `gtGetStructHandleIfPresent`.
The third bug is that `gtNewTempAssign` was not setting the
`lvSIMDType` flag on local vars after changing their type to a SIMD
type.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1b35c0a24c08657dfa0c1217f362eec794c0286b
Pat Gavlin [Mon, 27 Jun 2016 18:00:43 +0000 (11:00 -0700)]
Merge pull request dotnet/coreclr#6002 from pgavlin/GenTreeDebugFlags
Refactor debug-only GenTree flags.
Commit migrated from https://github.com/dotnet/coreclr/commit/
7081a2b5ecab517d5e9cbe49267682c520468404
Bruce Forstall [Mon, 27 Jun 2016 16:57:34 +0000 (09:57 -0700)]
Merge pull request dotnet/coreclr#5971 from BruceForstall/RefactorTreeNodeInit
Refactor TreeNodeInfoInit(): extract lots of functions
Commit migrated from https://github.com/dotnet/coreclr/commit/
8e9b84f0f4511673e039e21624b79faaecbfa9e3
Pat Gavlin [Mon, 27 Jun 2016 16:21:16 +0000 (09:21 -0700)]
Add `GTF_DEBUG_NONE`.
This is a marker that is used to indicate the absence of debug GenTree
flags.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4f847a849f1dbeeb6c4e3e5c267ded5773675981
Stephen Toub [Mon, 27 Jun 2016 11:12:04 +0000 (07:12 -0400)]
Merge pull request dotnet/coreclr#6007 from dotnet-bot/UpdateDependencies20160627051740
Updating External dependencies to beta-24227-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
aadeaf412b19e258cfd4622278cdbbb28396650c
dotnet-bot [Mon, 27 Jun 2016 05:17:40 +0000 (05:17 +0000)]
Updating External dependencies to beta-24227-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
580e3a18daca8f4609f9cc7aa42019f669644a29
Jan Kotas [Mon, 27 Jun 2016 05:09:11 +0000 (22:09 -0700)]
Rename files under src/mscorlib/corefx/System/Globalization to match CoreRT (dotnet/coreclr#6005)
corefx/System/Globalization was forked from CoreRT originally. Rename the files to match the current CoreRT names.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0f43161b85a6d43b39231532b45106a90c3421b8
Prajwal A N [Fri, 24 Jun 2016 13:46:44 +0000 (22:46 +0900)]
ARM-CI: Improve readability of the ARM CI script
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
1a6fc452956c1cdbfaaa8d78e9ac0848a63f58ea
Tarek Mahmoud Sayed [Sun, 26 Jun 2016 18:34:00 +0000 (11:34 -0700)]
Merge pull request dotnet/coreclr#6003 from Clockwork-Muse/master
Add missing parameter names to BitArray.CopyTo exceptions
Commit migrated from https://github.com/dotnet/coreclr/commit/
52570683489377e50bef1edacb80b8f647223daf
Pat Gavlin [Sun, 26 Jun 2016 15:02:04 +0000 (08:02 -0700)]
Copy gtDebugFlags where necessary.
This also renames `GTF_DEBUG_MORPHED` to `GTF_DEBUG_NODE_MORPHED` for
consitency with the other node-specific debug flags.
Commit migrated from https://github.com/dotnet/coreclr/commit/
46de96c6ea23a96272176829ae284b2912620485
Stephen A. Imhoff [Sun, 26 Jun 2016 05:35:29 +0000 (14:35 +0900)]
Add parameter names to exception.
Commit migrated from https://github.com/dotnet/coreclr/commit/
db472c4ffad271a2816ec2641b6a8b9aa2ace8d0
Stephen A. Imhoff [Sun, 26 Jun 2016 05:23:54 +0000 (14:23 +0900)]
Switch from literal parameter names to nameof
Commit migrated from https://github.com/dotnet/coreclr/commit/
da1cfa31d7d9e5ebcd6dd40cd340c73dcd3cf84f
Pat Gavlin [Sun, 26 Jun 2016 04:07:31 +0000 (21:07 -0700)]
Refactor debug-only GenTree flags.
Move the four debug-only GenTree flags into their own field. This frees
up two bits across both the RyuJIT and the legacy backend.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6ed517a7e5912f34787cab70f2f74082ecfdbba1
Gaurav Khanna [Fri, 24 Jun 2016 23:43:19 +0000 (16:43 -0700)]
Change to Generate nuget packages for Windows Arm64 builds.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9ff3d839483266e5c173b77d3df1c82fa0cf1ab4
Brian Sullivan [Sat, 25 Jun 2016 06:18:36 +0000 (23:18 -0700)]
Merge pull request dotnet/coreclr#5993 from briansull/fix-5639
Fix for issue 5639
Commit migrated from https://github.com/dotnet/coreclr/commit/
8e958879ebadab7760c8368e070d34f3b7cf6950
Brian Sullivan [Sat, 25 Jun 2016 06:18:03 +0000 (23:18 -0700)]
Merge pull request dotnet/coreclr#5998 from briansull/Update-ReturnTypeDesc
Incremental work on ReturnTypeDesc for multiReg return support
Commit migrated from https://github.com/dotnet/coreclr/commit/
8c93f49cbc5c0055b6ac63470e21332129e7842a
Eric StJohn [Fri, 24 Jun 2016 23:28:35 +0000 (16:28 -0700)]
Merge pull request dotnet/coreclr#5985 from ericstj/incrementCoreCLR+Jit
Update CoreCLR & JIT package versions
Commit migrated from https://github.com/dotnet/coreclr/commit/
255985165bad4a9c7ffd5cac493a22f7bae46c9e
Kyungwoo Lee [Fri, 24 Jun 2016 22:06:10 +0000 (15:06 -0700)]
Merge pull request dotnet/coreclr#5979 from kyulee1/boolfold
ARM64: Fix Fold Type For optOptimizeBools
Commit migrated from https://github.com/dotnet/coreclr/commit/
58a45c26ea2065fc9fb35bd7c10087a26fd9448e
Peter Jas [Fri, 24 Jun 2016 22:01:11 +0000 (01:01 +0300)]
Use libc.so as default libc name (dotnet/coreclr#5990)
Based on https://github.com/dotnet/coreclr/pull/5727#discussion_r68369439,
it turned out `/lib/libc.musl-x86_64.so.1` was just a symlink in
Alpine Linux to actual lib `/lib/ld-musl-x86_64.so.1`.
This delta makes libc.so as default name for libc and removes all the
detection for musl and FreeBSD from cmake etc.
Commit migrated from https://github.com/dotnet/coreclr/commit/
66f12f84f1d7a764adf715591fe3283f20f034d8
Brian Sullivan [Thu, 23 Jun 2016 02:37:59 +0000 (19:37 -0700)]
Changes to ReturnTypeDesc support more than two return registers
Changed m_regType into an array
Renamed the Initialize method to InitializeReturnType
Commit migrated from https://github.com/dotnet/coreclr/commit/
7f24c64895638fc22530da8f5fae878433e14465
Brian Sullivan [Fri, 24 Jun 2016 18:24:46 +0000 (11:24 -0700)]
Fix for issue 5639
Added check for hfa type
Update Test.lst removing the appropriate R2R_FAIL tags
Commit migrated from https://github.com/dotnet/coreclr/commit/
81b2abba239fad281ede4e715beac3856477e61c
noahfalk [Fri, 24 Jun 2016 20:25:11 +0000 (13:25 -0700)]
Update supported profiler APIs
Commit migrated from https://github.com/dotnet/coreclr/commit/
78ea6cd595e96cee9c54d6f4090fbc894c3e1c04
Kyungwoo Lee [Thu, 23 Jun 2016 22:30:08 +0000 (15:30 -0700)]
ARM64: Fix Small Operation For optOptimizeBools
Fixes https://github.com/dotnet/coreclr/issues/5955
When merging two boolean operations (cmp/jmp) in optOptimizeBools, JIT
creates type based on operand type.
There is a case the operand type is bool (1 byte) so JIT creates a tree
that does 1 byte operation which arm64 cannot encode.
The fix is to bail out such case for arm in general.
This passes all 1375 tests in System.Net.Http.Unit.Tests.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1ba04a0d6deaae6152c816bbde33430fd73b088a
Kyungwoo Lee [Fri, 24 Jun 2016 20:03:23 +0000 (13:03 -0700)]
Merge pull request dotnet/coreclr#5991 from kyulee1/stacklimit
ARM64: Fix StackLimit
Commit migrated from https://github.com/dotnet/coreclr/commit/
dd28137183076265cc1779515ab48c8460301dda
Chris McKinsey [Fri, 24 Jun 2016 19:05:47 +0000 (12:05 -0700)]
Merge pull request dotnet/coreclr#5973 from cmckinsey/DevDiv_216571
Fix SBCG in value-numbering constant assertprop
Commit migrated from https://github.com/dotnet/coreclr/commit/
72c186f35a5410b8cb7ba711213b7ab2d444e69a
Brian Sullivan [Fri, 24 Jun 2016 18:18:07 +0000 (11:18 -0700)]
Merge pull request dotnet/coreclr#5940 from briansull/retbuf-nonstandard
ARM64: Change the fixed return buffer argument to be handled as a non-standard argument
Commit migrated from https://github.com/dotnet/coreclr/commit/
4fb89705e1ad6d6e6fc91c7a9b0cb833a29dbc46
Chris McKinsey [Tue, 21 Jun 2016 17:59:32 +0000 (10:59 -0700)]
Fix SBCG in value-numbering constant assertprop
Value-numbering can assign the same value number to nodes
of different type as long as they have the same bit-representation.
However when substituting a constant into a tree node of different
type, we want the bit-exact representation and not the same value.
Assertion prop should reinterpret int/float value changes rather
than coercing them.
Add an il test that exposes a bug in assertionprop when doing
value-numbering based constant propagation. A cpblk can be used
to copy a scalar value between differing types but for which there
is no change in bit representation.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9a6a40d9edcc3ea85a005afc3727d4fc0cc2ae7c
Kyungwoo Lee [Fri, 24 Jun 2016 13:31:21 +0000 (06:31 -0700)]
ARM64: Fix StackLimit
Fixes https://github.com/dotnet/coreclr/issues/5640
We often got AV for tests that do a large stack allocations.
The fix is to match stack limt setup same as x64.
Commit migrated from https://github.com/dotnet/coreclr/commit/
496615cb51e70c28d0632acd877ad86c5d8e263a
Gaurav Khanna [Fri, 24 Jun 2016 13:55:32 +0000 (06:55 -0700)]
Merge pull request dotnet/coreclr#5986 from dotnet-bot/UpdateDependencies20160624051958
Updating External dependencies to beta-24224-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
20c8d0d8ba3a637fa3d5da39897956041bf5676a
Ivan Baravy [Fri, 24 Jun 2016 12:59:51 +0000 (16:59 +0400)]
Fix typo to apply mac build workaround only on OSX (dotnet/coreclr#5988)
/init-tools.sh:72 tries to compare strings like this:
if [ "$OS"=="OSX" ]; then
What it actually does is different to what it looks like:
$ echo $OS
$ if [ "$OS"=="OSX" ]; then echo EQUAL; fi
EQUAL
$ if [ "$OS" == "OSX" ]; then echo EQUAL; fi
$
This commit fixes the typo and makes OSX workaround run on macs only.
Commit migrated from https://github.com/dotnet/coreclr/commit/
422f37e2ee9eb7a8c5237811c12151072312cf12
chunseoklee [Fri, 24 Jun 2016 12:56:55 +0000 (21:56 +0900)]
Fix Issue dotnet/coreclr#5542 (dotnet/coreclr#5827)
On arm32, NullReference exception for interface call is not handled
properly. Especially, when callsite is a virtualstub(dispatch/resolve), AV exception
occurs on indirect cell. Since this stub is not a part of
managed or markedjithelper, exception handler considers this is a native
seg fault.
I added :
(1) FaultingExceptionFrame construction routine for virtualstub
(2) Checking and IP-adjusting routine for VirtualStub
Commit migrated from https://github.com/dotnet/coreclr/commit/
27e0e1414b7405fa6bb49eecbf97fa1df57fb0b5
MyungJoo Ham [Fri, 24 Jun 2016 12:51:53 +0000 (21:51 +0900)]
Use BIT64 define for 64-bit specific code. (dotnet/coreclr#5987)
Using WIN32/WIN64 for 32/64-bit architecture dependent code confuses
developers especially those who develop coreclr for non-Windows
systems. Therefore, such definitions are modified to BIT64.
Fixes dotnet/coreclr#4737
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
99c0410601955552920079a7465c64e725814c2c
dotnet-bot [Fri, 24 Jun 2016 05:19:58 +0000 (05:19 +0000)]
Updating External dependencies to beta-24224-00
Commit migrated from https://github.com/dotnet/coreclr/commit/
258adaded5651d84d712757cb6b14d89502586ec
Eric St. John [Fri, 24 Jun 2016 04:42:15 +0000 (21:42 -0700)]
Update CoreCLR & JIT package versions
Increment these versions to facilitate stable repack of 1.0.2.
Commit migrated from https://github.com/dotnet/coreclr/commit/
83931058afb1600034e1aeed1e600cbec9adf2bf