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

Bit Rotation & FPU Evaluation Fixes #626

Merged
merged 8 commits into from
Jun 24, 2024
Merged

Bit Rotation & FPU Evaluation Fixes #626

merged 8 commits into from
Jun 24, 2024

Conversation

enusbaum
Copy link
Member

@enusbaum enusbaum commented Jun 22, 2024

  • Fixed FILD to be signed (and updated Tests)

  • Add Error Handling in Exception Report for situations where a module throws an exception while not executing an instruction (loading, etc.)

  • Enhanced Debugging output to make CPU debugging easier

  • Add Overflow Logic to ROR, and RCL

  • image

  • Set FPU Flags properly for FCOM, FCOMP, FCOMPP handling double.(Positive/Negative)Infinity as an invalid value
    image

- We were only handling `NaN` as invalid, but `Infinity` is also invalid so we need to set flags properly in case of both.
- Updated Unit Tests
- Add Overflow Flag logic for RCR
- Add Additional Logging for FPU stack
- Unhandled exception would be thrown while generating a Crash Report if a module crashed without executing code (Loading, etc.)
- `FILD` was converting memory integer values to unsigned values before casting to double
- Added helper method to maintain signed value of memory/register values
- `FILD` updated to take signed value from memory/registers
- Updated Unit Tests for `FILD` to use signed types
@paladine paladine merged commit ea04395 into master Jun 24, 2024
2 checks passed
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.

2 participants