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

Allow optimization and use fesetround(), fegetround() #642

Merged
merged 2 commits into from
Oct 8, 2024

Commits on Oct 6, 2024

  1. feat: Allow optimization option in sse2neon.h

    Revert the previous restriction that some of the functions are forced
    to not be optimized when compiling-time optimization options were
    given.
    
    Now it is users' responsibility to ensure the behavior after
    optimization.
    
    Shifting the responsibility to the users enables sse2neon the run in
    the optimized state in general, but not restricted by some specific
    scenarios.
    howjmay committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    a59bd2c View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. feat: Use fesetround() and fegetround()

    Setting/getting rounding mode directly through fpcr with volatile
    keyword could be unstable.
    Therefore we use the C99 fesetround()/fegetround() here to ensure
    the behavior.
    howjmay committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    03f1e3c View commit details
    Browse the repository at this point in the history