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

Fix various Sail compilation warnings #299

Merged
merged 5 commits into from
Sep 12, 2023

Conversation

Timmmm
Copy link
Collaborator

@Timmmm Timmmm commented Aug 30, 2023

Various minor Sail compilation warning fixes.

  • Fix warning about duplicated xor_vec
  • Fix warning about redundant _ case in match.
  • Fix warning about redundant type annotations on w_pte

Also some minor improvements

  • Add z3_problems to .gitignore.
  • Add explicit var to w_pte. That is good practice and will (hopefully) be required in a future Sail release.
  • Fix some accidental hard tabs.

This is already provided by Sail.
This file seems to be created on every build.
These are given on the previous line already. Sail does not let you change the type of a variable like Rust does. The `var` ensures this definitely refers to a local rather than global variable.
@github-actions
Copy link

Unit Test Results

712 tests  ±0   712 ✔️ ±0   0s ⏱️ ±0s
    6 suites ±0       0 💤 ±0 
    1 files   ±0       0 ±0 

Results for commit 14335e3. ± Comparison against base commit 861bd6f.

@billmcspadden-riscv billmcspadden-riscv added the tgmm-agenda Tagged for the next Golden Model meeting agenda. label Sep 12, 2023
@ptomsich ptomsich self-requested a review September 12, 2023 11:49
@ptomsich ptomsich merged commit a656e50 into riscv:master Sep 12, 2023
2 checks passed
@Timmmm Timmmm deleted the user/timh/fix_warnings branch September 16, 2023 12:45
@billmcspadden-riscv billmcspadden-riscv removed the tgmm-agenda Tagged for the next Golden Model meeting agenda. label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants