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

Bitfield syntax updates #373

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Commits on Dec 12, 2023

  1. Update bitfield syntax

    Use newer bitfield syntax, which has been part of Sail for
    a while now. Should in theory be more efficient as it removes
    a level of indirection for bitfield accesses.
    
    It's also much more friendly to `sail -fmt`, which has no idea
    how to handle the old bitfield syntax.
    Alasdair committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    33d35d3 View commit details
    Browse the repository at this point in the history
  2. Update bitfield update syntax

    Bitfields allow [<bitfield> with field = value], like bitvectors,
    so use that instead of the old-style `update_field` overloads.
    Alasdair committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e3fd9bb View commit details
    Browse the repository at this point in the history