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

Complete Mauke's work on __builtin_*_overflow for faster overflow checks? #17779

Open
richardleach opened this issue May 10, 2020 · 0 comments
Open

Comments

@richardleach
Copy link
Contributor

Description
Lukas Mai worked on adding support for using compiler intrinsics (e.g. __builtin*overflow) for overflow checks where available, but this hasn't yet been completed. As suggested on IRC, this issue is a placeholder/reminder, in case anyone fancies picking this up in the future.

Correspondence is at https://www.nntp.perl.org/group/perl.perl5.porters/2017/10/msg246823.html
A smoke-me branch is at smoke-me/mauke/overflow

Summarizing the apparent last status:

  • Dave Mitchell reported that (on his hardware at the time) that patches resulted in a modest improvement where intrinsics could be used, with no slowdowns where intrinsics could not be used.
  • There were problems with number conversion (e.g. failures in t/op/numconvert.t) to investigate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant