1. 21 2月, 2022 6 次提交
  2. 20 2月, 2022 2 次提交
  3. 19 2月, 2022 21 次提交
    • T
      Propagate native references to merged project wrapper outputs (#65592) · 79d478ae
      Tomáš Rylek 提交于
      When building tests in merged mode, we need to copy the native
      references along with the component test dlls to the output folder
      to make them discoverable by the OS loader.
      
      Thanks
      
      Tomas
      79d478ae
    • T
      Don't mark prefldinit4 as requiring process isolation (#65596) · ba72febc
      Tomáš Rylek 提交于
      Turns out this particular test doesn't actually need process
      isolation, I overzealously marked it as such in a previous wave
      just because it's a static initialization test. This lets us
      postpone dealing with out-of-process ilproj tests to a later
      phase.
      
      Thanks
      
      Tomas
      ba72febc
    • J
      Fix HelperMethodFrame::UpdateRegDisplay on x86 (#65589) · 0419950e
      Jan Vorlicek 提交于
      While running managed debugger tests with x86 runtime debug build, I was
      hiting an assert in MachineState::pRetAddress() method in a couple of
      tests.
      It turns out there was a bug in the HelperMethodFrame::UpdateRegDisplay
      introduced about 5 years ago that only happens in DAC. The m_MachState
      can be uninitialized when we enter the method and we were calling
      m_MachState.pRetAddr() before performing the initialization.
      
      This change fixes it.
      0419950e
    • J
      Remove ExactSpelling from GeneratedDllImport (#65343) · ca6f4206
      Jeremy Koritzinsky 提交于
      * Update conversion code fix to offer multiple fixes for appending each previously probed entry-point suffix when ExactSpelling is false.
      
      * Remove ExactSpelling property and move properties that were relying on ExactSpelling = false to use explicit entrypoint names.
      
      * Emit ExactSpelling = true for all of our emitted target DllImports.
      
      * Fix a few entry points
      
      * Add a comment around CharSet.Auto
      
      * Update compatibility doc.
      
      * Update docs/design/libraries/DllImportGenerator/Compatibility.md
      Co-authored-by: NElinor Fung <elfung@microsoft.com>
      Co-authored-by: NElinor Fung <elfung@microsoft.com>
      ca6f4206
    • A
      [wasm] Trigger all wasm jobs, if `eng/Version.Details.xml` has any chan… (#65451) · ee0b4607
      Ankit Jain 提交于
      * [wasm] Trigger all wasm jobs, if eng/Version.Details.xml has any changes, so we run a full check on emsdk updates
      
      * fix yml
      
      * Fix merge
      
      * [wasm] Pass isRollingBuild to runtime-extra-platforms-wasm template, to correctly trigger the EAT/AOT builds
      
      * .. and pass isWasmOnlyBuild also
      ee0b4607
    • T
    • L
      [wasm] Make the sanitize pass less aggressive (#65571) · 06228c10
      Larry Ewing 提交于
      * Make the sanitize pass less aggressive
      06228c10
    • E
    • M
      [wasm] Implicit NodeJS version on Helix (#65514) · 47259d19
      Marek Fišera 提交于
      - Read first directory name under node instead of hardcoded version.
      47259d19
    • B
      Improve SuperPMI script robustness (#65586) · cf6dbde9
      Bruce Forstall 提交于
      1. Be more robust to temp directory removal failure
      
      If we fail to remove a temporary directory, don't crash. Log the failure
      and the set of directories and files still remaining, and continue.
      
      We have seen this failure in at least one Linux x64 PMI coreclr_tests
      SuperPMI collection:
      ```
      [Errno 39] Directory not empty: '/datadisks/disk1/work/B18E0979/t/tmpov3b4_qa'
      ```
      
      2. Limit the length of file names created by `make_safe_filename`. We were creating
      file names out of full path names, where those paths contained long temporary directory
      paths, and thus we were exceeding the maximum allowed file name component.
      cf6dbde9
    • V
      Clean-up slngen related logic (#65507) · ac4ec9e2
      Viktor Hofer 提交于
      * Clean-up slngen related logic
      
      * Update dotnet-tools.json
      Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
      ac4ec9e2
    • S
      Skip RegexOptions.NonBacktracking phase 3 for some patterns (#65531) · 3bfe56ee
      Stephen Toub 提交于
      * Skip RegexOptions.NonBacktracking phase 3 for some patterns
      
      If a pattern doesn't have any captures and if any match of that pattern will always be the same length, we can skip the Phase 3 computation as, given the computed starting position of the match, we know exactly where it's going to end.
      
      * Add example to the phase comments
      3bfe56ee
    • W
      Allow constant propagation of Vector.Zero. (#65028) · bdfff40b
      Will Smith 提交于
      * Initial work
      
      * Added a comma to display
      
      * Cleanup
      
      * Fixing build
      
      * More cleanup
      
      * Update comment
      
      * Update comment
      
      * Added CompareEqual Vector64/128 with Zero tests
      
      * Do not contain op1 for now
      
      * Wrong intrinsic id used
      
      * Removing generated tests
      
      * Removing generated tests
      
      * Added CompareEqual tests
      
      * Supporting containment for first operand
      
      * Fix test build
      
      * Passing correct register
      
      * Check IsVectorZero before not allocing a register
      
      * Update comment
      
      * Fixing test
      
      * Minor format change
      
      * Fixed formatting
      
      * Renamed test
      
      * Adding AdvSimd_Arm64 tests:
      
      * Adding support for rest of 'cmeq' and 'fcmeq' instructions
      
      * Removing github csproj
      
      * Minor test fix
      
      * Fixed tests
      
      * Fix print
      
      * Minor format change
      
      * Fixing test
      
      * Initial commit for Vector.Create to Vector.Zero normalization
      
      * Added some emitter tests
      
      * Feedback
      
      * Update emitarm64.cpp
      
      * Feedback
      
      * Handling variations of Vector.Create
      
      * Use Operands iterator instead of edges
      
      * Fix condition
      
      * Simplify
      
      * format
      
      * Fixed IsFloatPositiveZero
      
      * Uncomment
      
      * Updated tests to include Vector64.Create/Vector128.Create for ARM64
      
      * Making implementation of IsFloatPositiveZero explicit
      
      * Update src/coreclr/jit/gentree.cpp
      Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
      
      * Feedback
      
      * Update comment
      
      * Update comment
      
      * Do not perform optimization when VN CSE phase
      
      * use ResetHWIntrinsicId
      
      * Assert !optValnumCSE_phase
      
      * Simplify IsVectorZero
      
      * Simplify IsVectorZero
      
      * Simplify some uses of Vector*_get_Zero
      
      * Added another test
      
      * Fixed formatting
      
      * Revert lowering removal
      
      * Initial work for optimizations on VectorZero value numbering
      
      * Allowing all Vector.Zero to be constant prop'ed. Added VNFuncSimdTypeInfo.
      
      * Update gentree.h
      
      * Quick rename
      
      * Removed extra variable
      
      * Added default case
      
      * Format
      
      * Fixed vnDumpSimdType to take into account CorInfoType
      
      * Fixed gtNewSimdZeroNode to produce the right Vector*_get_Zero based on simdSize
      
      * Formatting
      
      * Feedback and a loop test
      
      * Added another test. Formatting fixes
      
      * Added GetSimdBaseJitPreciseType
      
      * Feedback
      
      * Minor fix
      
      * Minor comment update
      
      * Added another comment
      
      * Added another comment
      
      * Added another comment
      
      * Update comment
      
      * Formatting
      
      * Feedback
      
      * Fixing build
      
      * Feedback
      
      * Update assertionprop.cpp
      
      * Formatting
      Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
      bdfff40b
    • D
      Fix Vector256.IsHardwareAccelerated in R2R binaries (#65351) · ee247323
      David Wrighton 提交于
      * Fix Vector256.IsHardwareAccelerated in R2R binaries
      - If a function had a dependency on Vector256<T> but not on any Avx2 functionality then we would fail to produce an R2R image using a debug version of the compiler, and would generate an incorrect function where the result of calling Vector256.IsHardwareAccelerated would produce the wrong result.
      - To fix this we now annotate the VectorXXX instruction sets so that if there is a negative depenedency on them during R2R generation, that the function is not available for use if the underlying actual instruction set is available to use at runtime.
      - Adjust test Runtime_34587 to test instruction set manner in a way that allows testing crossgen2 instruction set variation
        - Move instruction set issupported checks into standalone functions to isolate the tests in the JIT/Crossgen2 compiler to better see exactly what is happening
        - Add diagnostic output to test, for better diagnosis of future failures.
      ee247323
    • J
    • J
    • S
      Fix missing zero-offset sequences and add checking (#64805) · 1ea9cf4e
      SingleAccretion 提交于
      * Add checking for zero-offset FldSeq addition
      
      * Add a test
      
      * Fix ADDR(LCL_VAR) Zero [FldSeq]
      
      * Always add NotAField field sequences
      
      * NotAField printing improvements
      1ea9cf4e
    • S
      Fix assert (#65564) · 8b5e4cc6
      SingleAccretion 提交于
      We only require the "greater than" condition on x86.
      8b5e4cc6
    • N
    • M
      0293fa76
    • A
      [wasm] Rationalize wasm jobs run on CI (#65035) · 463bd758
      Ankit Jain 提交于
      * Rationalize wasm jobs run on CI
      
      Essentially:
      - For rolling builds, we want to run all the wasm jobs, unconditionally
         - And `runtime-extra-platforms` runs the tests that were not in `runtime`, and `runtime-staging`
      - For PRs, we use the various path checks
      
      Changes:
      - split wasm jobs into various templates
      - combine, and simplify some jobs
      
      * `runtime-extra-platforms`, and `runtime-wasm` run only when manually
        triggered with a comment - `/azp run <pipeline-name>`
      * `runtime`, and `runtime-staging`, run jobs only when relevant paths
        change. And for `EAT`, and `AOT`, only smoke tests are run.
      * And when `runtime-wasm` is triggered manually, it runs *all* the wasm
        jobs completely
      
      | .                 | runtime               | runtime-staging         | runtime-extra-platforms(manual only) | runtime-wasm (manual only) |
      | ----------------- | --------------------  | ---------------         | ------------------------------------ | -------                    |
      | libtests          | linux: all,   only-pc | windows: all,   only-pc | linux+windows: all, only-pc          | linux+windows: all, always |
      | libtests eat      | linux: smoke, only-pc | -                       | linux:         all, only-pc          | linux:         all, always |
      | libtests aot      | linux: smoke, only-pc | windows: smoke, only-pc | linux+windows: all, only-pc          | linux+windows: all, always |
      |                   |                       |                         |                                      |                            |
      | Wasm.Build.Tests  | linux:        only-pc | windows:        only-pc | linux+windows: only-pc               | linux+windows              |
      | Debugger tests    | -                     | linux+windows:  only-pc | linux+windows: only-pc               | linux+windows              |
      | Runtime tests     | linux:        only-pc | -                       | linux: only-pc                       | linux                      |
      
      * `runtime`, and `runtime-staging`, run all the wasm jobs unconditionally, but `EAT`, and `AOT` still run only smoke tests.
      * `runtime-extra-platforms` also runs by default. And it runs only the cases not covered by the above two pipelines.
      
      * jobs w/o `only-pc` are always run
      
      | .                 | runtime                   | runtime-staging       | runtime-extra-platforms (always run) | runtime-wasm (manual only) |
      | ----------------- | -------------             | ---------------       | ------------------------------------ | ------                     |
      | libtests          | linux: all(v8/chr/node)   | windows: all          | linux+windows: all with node         | N/A                        |
      | libtests eat      | linux: smoke              | -                     | linux: all                           |                            |
      | libtests aot      | linux: smoke              | windows: smoke        | linux+windows: all                   |                            |
      |                   |                           |                       |                                      |                            |
      | Wasm.Build.Tests  | linux: always             | windows: always       | none                                 |                            |
      | Debugger tests    | -                         | linux+windows: always | none                                 |                            |
      | Runtime tests     | linux: always             | -                     | none                                 |                            |
      
      * [wasm] Run tests with node only on runtime-wasm
      463bd758
  4. 18 2月, 2022 11 次提交