Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Interlocked for small types. #92974

Merged
merged 67 commits into from
Jan 25, 2024

Commits on Oct 3, 2023

  1. Implement Interlocked for small types.

    Implements Interlocked.CompareExchange/Exchange for
    byte/sbyte/short/ushort.
    
    Uses an intrinsic on CoreCLR x64 and ARM64 and fallbacks
    for other platforms.
    
    Fixes dotnet#64658.
    MichalPetryka committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    4344057 View commit details
    Browse the repository at this point in the history
  2. Fix xarch assert

    MichalPetryka committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d282722 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4079320 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    dae9d66 View commit details
    Browse the repository at this point in the history
  2. Update threads.c

    MichalPetryka committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    4b74dba View commit details
    Browse the repository at this point in the history
  3. Simplify NAOT handling

    MichalPetryka committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c6935de View commit details
    Browse the repository at this point in the history
  4. Fix build

    MichalPetryka committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    095567c View commit details
    Browse the repository at this point in the history
  5. Update atomic.h

    MichalPetryka committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    35a812f View commit details
    Browse the repository at this point in the history
  6. Update atomic.h

    MichalPetryka committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    f55fb45 View commit details
    Browse the repository at this point in the history
  7. Update atomic.h

    MichalPetryka committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    b1c6dde View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Fix windows intrinsics

    MichalPetryka committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    8e80946 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a25a4a3 View commit details
    Browse the repository at this point in the history
  3. Fix Windows builds

    MichalPetryka committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    da399ca View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Update icall-def.h

    MichalPetryka committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    79c07ff View commit details
    Browse the repository at this point in the history
  2. Fix icall-def.h

    akoeplinger committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    7da080b View commit details
    Browse the repository at this point in the history
  3. Improve tests

    MichalPetryka committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    37fdee1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    358c11b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0f85fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f406c21 View commit details
    Browse the repository at this point in the history
  7. Fix ARM64 build

    MichalPetryka committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    59dbd5e View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    42f1c80 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    MichalPetryka committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    70174d7 View commit details
    Browse the repository at this point in the history
  3. Fix assert

    MichalPetryka committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    f108f6d View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Code cleanup

    MichalPetryka committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    6d09d88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3fbf3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92b7497 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0394523 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Add RISC-V asserts

    MichalPetryka committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    1ee1c3e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    064b7b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25a5194 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22407e4 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Merge upstream

    MichalPetryka committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    50893e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0cc7d92 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Merge upstream

    MichalPetryka committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    868efdf View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. Add more tests

    MichalPetryka committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    d8efc0d View commit details
    Browse the repository at this point in the history
  2. Format

    MichalPetryka committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    6c101a4 View commit details
    Browse the repository at this point in the history
  3. Update Interlocked.cs

    MichalPetryka committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    25e3ab4 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Merge upstream

    MichalPetryka committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    3a3e60e View commit details
    Browse the repository at this point in the history
  2. Fix tests and comment

    MichalPetryka committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    4ca06ff View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    1879669 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    5536554 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed90e8b View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Merge

    MichalPetryka committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    1c2a4cc View commit details
    Browse the repository at this point in the history
  2. Fix extension

    MichalPetryka committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    fca6d47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca73b06 View commit details
    Browse the repository at this point in the history
  4. More complete fix

    MichalPetryka committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    d067d7f View commit details
    Browse the repository at this point in the history
  5. Fix the fix

    MichalPetryka committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    bbbadc0 View commit details
    Browse the repository at this point in the history
  6. Fix more places

    MichalPetryka committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    1b8767b View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. CR feedback

    jkotas committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    d357407 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    724f66c View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. Configuration menu
    Copy the full SHA
    499ea14 View commit details
    Browse the repository at this point in the history
  2. Fix corelib

    MichalPetryka committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    55f7cc1 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    MichalPetryka committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    00cdcb7 View commit details
    Browse the repository at this point in the history
  4. Add using

    MichalPetryka committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    382d8ea View commit details
    Browse the repository at this point in the history
  5. Match NativeAOT #ifs

    MichalPetryka committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    1099743 View commit details
    Browse the repository at this point in the history
  6. Update Interlocked.cs

    MichalPetryka committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    82f6fbe View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. Fix test projects

    MichalPetryka committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    1a7c4a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f97233 View commit details
    Browse the repository at this point in the history
  3. Improve build test

    MichalPetryka committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    ce412f9 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Fix tests

    MichalPetryka committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    ec2c380 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b8869a View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Configuration menu
    Copy the full SHA
    2acc845 View commit details
    Browse the repository at this point in the history
  2. Fix tests again

    MichalPetryka committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    ea35c1e View commit details
    Browse the repository at this point in the history
  3. Remove libatomic

    Co-authored-by: Jan Kotas <jkotas@microsoft.com>
    MichalPetryka and jkotas committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    35f840d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de8f617 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7af81b3 View commit details
    Browse the repository at this point in the history
  6. Fix test corelib

    MichalPetryka committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    72e5bf8 View commit details
    Browse the repository at this point in the history