-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
clearing bit utils #2301
clearing bit utils #2301
Conversation
This pull request was exported from Phabricator. Differential Revision: D63329499 |
This pull request was exported from Phabricator. Differential Revision: D63329499 |
Summary: Pull Request resolved: facebook#2301 make_maskl make_maskr set_lzero set_lone set_rzero set_lone Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Differential Revision: D63329499
d469875
to
b3e03e1
Compare
This pull request was exported from Phabricator. Differential Revision: D63329499 |
b3e03e1
to
bef767c
Compare
Summary: Pull Request resolved: facebook#2301 make_maskl make_maskr set_lzero set_lone set_rzero set_lone Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Differential Revision: D63329499
bef767c
to
411d484
Compare
Summary: Pull Request resolved: facebook#2301 n_least_significant_bits n_most_significant_bits clear_n_least_significant_bits set_n_least_significant_bits clear_n_most_significant_bits set_n_most_significant_bits Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Differential Revision: D63329499
This pull request was exported from Phabricator. Differential Revision: D63329499 |
Summary: previous version of simd contains was rolled back because of no c++17 support. This should hopefully rectify that. Differential Revision: D63635013
This pull request was exported from Phabricator. Differential Revision: D63329499 |
411d484
to
989b068
Compare
Summary: Pull Request resolved: facebook#2301 n_least_significant_bits n_most_significant_bits clear_n_least_significant_bits set_n_least_significant_bits clear_n_most_significant_bits set_n_most_significant_bits Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Reviewed By: Gownta Differential Revision: D63329499
Summary: Pull Request resolved: facebook#2301 n_least_significant_bits n_most_significant_bits clear_n_least_significant_bits set_n_least_significant_bits clear_n_most_significant_bits set_n_most_significant_bits Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Reviewed By: Gownta Differential Revision: D63329499
989b068
to
6c48261
Compare
This pull request was exported from Phabricator. Differential Revision: D63329499 |
Summary: Pull Request resolved: facebook#2301 n_least_significant_bits n_most_significant_bits clear_n_least_significant_bits set_n_least_significant_bits clear_n_most_significant_bits set_n_most_significant_bits Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Differential Revision: D63329499 Reviewed By: Gownta
This pull request has been merged in c669175. |
Summary: X-link: facebook/folly#2301 n_least_significant_bits n_most_significant_bits clear_n_least_significant_bits set_n_least_significant_bits clear_n_most_significant_bits set_n_most_significant_bits Simple utils that correctly handle corner cases, such as shift == 64. I looked at the assembly a bit, probably that's ok. For x86 I used bmi2 where was appropriate. Reviewed By: Gownta Differential Revision: D63329499 fbshipit-source-id: 920d3fe597c63e8ef6e0319ba81c8fc5f3aa5c0e
Summary:
make_maskl
make_maskr
set_lzero
set_lone
set_rzero
set_lone
Simple utils that correctly handle corner cases, such as shift == 64.
I looked at the assembly a bit, probably that's ok.
For x86 I used bmi2 where was appropriate.
Differential Revision: D63329499