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

Use more floating point intrinsics #5697

Closed
wants to merge 3 commits into from

Commits on Apr 3, 2013

  1. Configuration menu
    Copy the full SHA
    2d52c0a View commit details
    Browse the repository at this point in the history
  2. librustc: use LLVM intrinsics for several floating point operations.

    Achieves up to 5x speed up! However, the intrinsics seem to do bad
    things to the stack, especially sin, cos and exp (rust-lang#5686 has
    discussion).
    
    Also, add f{32,64,loat}::powi, and reorganise the delegation code so
    that functions have the #[inline(always)] annotation, and reduce the
    repetition of delegate!(..).
    huonw committed Apr 3, 2013
    Configuration menu
    Copy the full SHA
    05bb618 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e656de5 View commit details
    Browse the repository at this point in the history