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

Implement Floating Point Math #8

Open
cas-mls opened this issue Jan 9, 2024 · 1 comment
Open

Implement Floating Point Math #8

cas-mls opened this issue Jan 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cas-mls
Copy link
Owner

cas-mls commented Jan 9, 2024

Implement Floating Point Math using the Floating Point IP.

@cas-mls cas-mls added the enhancement New feature or request label Jan 9, 2024
@cas-mls cas-mls self-assigned this Jan 9, 2024
@cas-mls
Copy link
Owner Author

cas-mls commented Jul 30, 2024

Analysis

Three items:

  1. Create 16 32-bit registers to hold floating point numbers.
  2. Create new instructions for addition, subtraction, multiply, and divide operations.
    2.1 Immediate parameters are considered unsigned integers.
    2.2 The Floating Point IP will be used.
  3. Create new instructions for loading, storing, and converting to/from integer and floating point.

New operation instructions opcodes as integer add, subtract, multiply, and divide but with the flag set to 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant