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

Streamline rounding modes checks and settings in RV32F #410

Merged
merged 2 commits into from
Apr 8, 2024

Commits on Apr 8, 2024

  1. Remove unnecessary rounding mode checks and settings for RV32F

    It was observed that the instructions feqs, flts, and fles are not
    affected by rounding modes in any way. Therefore, remove the
    unnecessary rounding mode checks and settings associated with these
    instructions. This optimization aims to avoid potential performance
    impacts caused by redundant operations related to rounding modes.
    visitorckw committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f7ec3a2 View commit details
    Browse the repository at this point in the history
  2. Unify set_static_rounding_mode() and set_dynamic_rounding_mode()

    Following the removal of rounding mode checks and settings for the
    feqs, flts, and fles instructions, unify the set_static_rounding_mode()
    and set_dynamic_rounding_mode() functions into a single function. This
    consolidation improves code clarity and reduces redundancy in the
    rounding mode handling code.
    visitorckw committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    374daeb View commit details
    Browse the repository at this point in the history