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

Disable hardware supported popcount on MSVC #35

Merged
merged 1 commit into from
Feb 22, 2019

Conversation

jeking3
Copy link
Contributor

@jeking3 jeking3 commented Feb 21, 2019

  • the new implementation failed to check for hardware support
  • the behavior was undefined on platforms without SSE4

This fixes #33

I will open another issue regarding proper implementation for MSVC.

@jeking3 jeking3 added the bug label Feb 21, 2019
@jeking3 jeking3 self-assigned this Feb 21, 2019
@jeking3 jeking3 added this to the v1.70.0 milestone Feb 21, 2019
/*
per https://github.com/boostorg/dynamic_bitset/issues/33
this code does not support older cpus properly...
it needs to check for cpuid support
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tabs?

Copy link
Contributor Author

@jeking3 jeking3 Feb 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ick. My windows editor was MSVC... see what it did? I bet there's a GitHub PR hook that checks for stuff like that... perhaps "mergeable" can do that...

- the new implementation failed to check for hardware support
- the behavior was undefined on platforms without SSE4
@codecov
Copy link

codecov bot commented Feb 21, 2019

Codecov Report

Merging #35 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #35   +/-   ##
========================================
  Coverage    77.15%   77.15%           
========================================
  Files            5        5           
  Lines          604      604           
  Branches       211      211           
========================================
  Hits           466      466           
  Misses          24       24           
  Partials       114      114
Impacted Files Coverage Δ
...ude/boost/dynamic_bitset/detail/dynamic_bitset.hpp 93.54% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a580c49...8b87ff2. Read the comment docs.

@jeking3 jeking3 merged commit 91625ce into boostorg:develop Feb 22, 2019
@jeking3 jeking3 deleted the issue-33 branch February 22, 2019 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hardware supported popcount breaks on Windows with CPUs that don't support SSE4
3 participants