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

[NO REVIEW] Update the CPUID and XSAVE logics for APX #103019

Closed
wants to merge 13 commits into from

Commits on Jun 3, 2024

  1. Adding an APX doc.

    anthonycanino authored and Ruihan-Yin committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    f27618f View commit details
    Browse the repository at this point in the history
  2. Update XSAVE logics in vm and GC to accomadate APX updates

    Update the asm code in context2.S
    hard coded the memory offset with an assumption that we are using standrad form
    
    Seems the logic in context2.S is for custom stack, we may not need to follow the standard XSAVE buffer layout. Directly adding the APX section after AVX512.
    
    Updates in threadsuspend.cpp
    
    script-gen changes
    
    Extending CPUID flag from int to long to hold more ISAs.
    
    Update the cpuid check logic, make sure CR4.OSXSAVE and XCR0.APX_F are checked.
    
    resolve comments
    
    improve the logics in isa_detection in gc.
    
    add missing method definitions under unix context.
    
    code clean up
    Ruihan-Yin committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    c7db95c View commit details
    Browse the repository at this point in the history
  3. 1. revert the int-to-long changes

    2. merge Avx512F, BW, CD, DQ to a converged ISA flag, Avx512.
    3. introduce APX cpuid detection.
    Ruihan-Yin committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    38c5366 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffb7a01 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. resolve merge conflict

    Ruihan-Yin committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    1923060 View commit details
    Browse the repository at this point in the history
  2. revert changes in GC

    Ruihan-Yin committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    a22937f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c7878d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ddfa139 View commit details
    Browse the repository at this point in the history
  5. Update comments

    Ruihan-Yin committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    8e2f79a View commit details
    Browse the repository at this point in the history
  6. comment clean up

    Ruihan-Yin committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    2eb6644 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9877981 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    37bc8a0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ff7bae6 View commit details
    Browse the repository at this point in the history