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

Clean up and improve documentation of x86_64 registers #1630

Merged
merged 39 commits into from
Nov 21, 2023

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    7916d62 View commit details
    Browse the repository at this point in the history
  2. Separate MMX/3DNow! and x87 register lengths

    The MMX* registers are only the lower 64 bits of the st* ones.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    a35960d View commit details
    Browse the repository at this point in the history
  3. Fix x86_64 subrange mappings in MachRegister::getROSERegister

    The values in the two namespaces are not the same.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    9e77c02 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    254e3e7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8d4dc9 View commit details
    Browse the repository at this point in the history
  6. Reorder the length flags

    This puts them in more of a chronological order.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    452e95f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bf5d43a View commit details
    Browse the repository at this point in the history
  8. Reorder register categories

    This puts them in more of a chronological order.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    1460cc1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    35d0fe1 View commit details
    Browse the repository at this point in the history
  10. Add comments for aliased GPRs

    No real comments here. Just added a separator.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    7a6f22a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    82578c3 View commit details
    Browse the repository at this point in the history
  12. Move FLAGS ID

    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    e79d18f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    734a3f4 View commit details
    Browse the repository at this point in the history
  14. Add missing flag1 from RFLAGS

    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    56d2075 View commit details
    Browse the repository at this point in the history
  15. Add missing flag3 from RFLAGS

    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    23d3450 View commit details
    Browse the repository at this point in the history
  16. Add missing flag5 from RFLAGS

    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    fdd2d76 View commit details
    Browse the repository at this point in the history
  17. Add missing flagc from RFLAGS

    FLAGC is the lower bit of the I/O Permission Level field.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    53625db View commit details
    Browse the repository at this point in the history
  18. Add missing flagd from RFLAGS

    FLAGC is the upper bit of the I/O Permission Level field.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    140cae0 View commit details
    Browse the repository at this point in the history
  19. Add missing flagf from RFLAGS

    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    9d845fa View commit details
    Browse the repository at this point in the history
  20. Improve comments about RFLAGS

    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    d8944e2 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ff96bdc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    cfa0e70 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d7f9b6a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7cd74c9 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    a83e3d2 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4152d26 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    06fb3cb View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    05c2d65 View commit details
    Browse the repository at this point in the history
  29. Fix avx-512 opmask size.

    It's 64 bits, not 128.
    
    From Intel(R) 64 and IA-32 Architectures Software Developer’s Manual
    June 2021
    
    15.6.1 OPMASK Register to Predicate Vector Data Processing
      The opmask is a set of eight architectural registers of size
      MAX_KL (64-bit).
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    a6c698f View commit details
    Browse the repository at this point in the history
  30. Rename OCT to XMMS

    This makes it consistent with the names used for the other vector
    extensions.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    7338402 View commit details
    Browse the repository at this point in the history
  31. Reorder register declarations

    It makes it easier to read.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    235cf25 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    d25ee77 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    f0532f3 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    bfa3039 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    906c442 View commit details
    Browse the repository at this point in the history
  36. Fix comment on XMM, YMM, ZMM register numbers

    Assume AMD64 extensions are in place so that XMM8-XMM15 are
    present.
    hainest committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    2faac59 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    398ad04 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    78305c9 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    18d78f4 View commit details
    Browse the repository at this point in the history