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

Fix negative shift left reported by UBSan #758

Merged
merged 1 commit into from
Apr 27, 2016

Commits on Apr 27, 2016

  1. Fix negative shift left reported by UBSan

    Follow-up of uclouvain#757
    
    This shall have no performance impact on 2’s complement machine where
    the compiler replaces the multiplication by power of two (constant) by
    a left shift.
    Verified at least on MacOS Xcode 7.3, same assembly generated after fix.
    mayeut committed Apr 27, 2016
    Configuration menu
    Copy the full SHA
    a37ec95 View commit details
    Browse the repository at this point in the history