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

Bug fixes for PSHU and PULU #88

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Bug fixes for PSHU and PULU #88

merged 1 commit into from
Jun 19, 2023

Conversation

craigthomas
Copy link
Owner

@craigthomas craigthomas commented Jun 19, 2023

This PR fixes a bug in the PSHU and PULU instructions. Both instructions were not marked as being is_special, nor were they handled in the SpecialOperand class during translation. This PR puts a fix in so that both statements are now correctly handled. Regression tests added to catch conditions.

In addition to those fixes, this PR also updates the Github Actions workflow file to bump versions for Python checkout and OS dependencies to their latest versions.

This PR closes issue #87

@craigthomas craigthomas self-assigned this Jun 19, 2023
@codecov
Copy link

codecov bot commented Jun 19, 2023

Codecov Report

Merging #88 (65212d9) into main (6f58550) will increase coverage by 0.05%.
The diff coverage is 100.00%.

❗ Current head 65212d9 differs from pull request most recent head f1d6833. Consider uploading reports for the commit f1d6833 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   94.78%   94.84%   +0.05%     
==========================================
  Files          15       15              
  Lines        1900     1919      +19     
==========================================
+ Hits         1801     1820      +19     
  Misses         99       99              
Impacted Files Coverage Δ
cocoasm/instruction.py 100.00% <ø> (ø)
cocoasm/operands.py 98.30% <100.00%> (+<0.01%) ⬆️

... and 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f58550...f1d6833. Read the comment docs.

Update the workflow to use latest Python version.

Update actions to latest versions.

Try to get version names correct.
@craigthomas craigthomas merged commit 61e5641 into main Jun 19, 2023
4 checks passed
@craigthomas craigthomas deleted the pshu-pulu-bugfix branch July 4, 2023 23:04
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.

None yet

1 participant