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: do not wipe EX on FP-induced WAW stalls #649

Merged
merged 4 commits into from
Mar 5, 2022
Merged

Conversation

lupino3
Copy link
Member

@lupino3 lupino3 commented Mar 2, 2022

Similar to #305 (which originally fixed #304), add a check on whether
EX is empty before inserting a BUBBLE instruction.

Also add some more verbose logging to help reason about the flow
without having to use a debugger.

Fixes #304.

Similar to #305 (which originally fixed #304), add a check on whether
EX is empty before inserting a BUBBLE instruction.

Also add some more verbose logging to help reason about the flow
without having to use a debugger.
@codecov-commenter
Copy link

Codecov Report

Merging #649 (ab04ecf) into master (8fe31db) will increase coverage by 0.02%.
The diff coverage is 70.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #649      +/-   ##
============================================
+ Coverage     51.07%   51.09%   +0.02%     
- Complexity     1442     1443       +1     
============================================
  Files           249      249              
  Lines          9870     9879       +9     
  Branches       1092     1092              
============================================
+ Hits           5041     5048       +7     
- Misses         4510     4512       +2     
  Partials        319      319              
Impacted Files Coverage Δ
src/main/java/org/edumips64/core/CPU.java 87.53% <70.00%> (-0.27%) ⬇️

Continue to review full report at Codecov.

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

@github-actions github-actions bot temporarily deployed to 649 March 2, 2022 21:29 Inactive
@github-actions github-actions bot temporarily deployed to 649 March 2, 2022 21:46 Inactive
lupino3 added 2 commits March 5, 2022 08:52
This test would have exposed the second reoccurrence of issue #304.

Thanks to @hugmanrique for this code.
@github-actions github-actions bot temporarily deployed to 649 March 5, 2022 07:56 Inactive
@github-actions github-actions bot temporarily deployed to 649 March 5, 2022 08:01 Inactive
@lupino3 lupino3 merged commit 799bfd9 into master Mar 5, 2022
@lupino3 lupino3 deleted the fix/issue-304-again branch March 5, 2022 08:07
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.

Infinite RAW stall in floating-point code
2 participants