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

Bugfix/trac10510 #5

Merged
merged 2 commits into from
Apr 2, 2015
Merged

Bugfix/trac10510 #5

merged 2 commits into from
Apr 2, 2015

Conversation

VemundH
Copy link
Contributor

@VemundH VemundH commented Sep 30, 2014

See https://svn.boost.org/trac/boost/ticket/10510

This fixes a bug in the SIMD optimization of operator<.
According to the documentation on https://software.intel.com/sites/landingpage/IntrinsicsGuide/ it is safe to assume that _mm_movemask_epi8 will set the 16 most significant bits of the return value to 0: dst[MAX:16] := 0

uint32_t is required in the final compare to handle 0x0000FFFF < 0xFFFFFFFF (the results of the (x - 1) ^ x trick)

mclow added a commit that referenced this pull request Apr 2, 2015
Bugfix/trac10510.
@VemundH  ; please remind me tomorrow to merge to master (assuming the tests cycle successfully) - and update the Trac report.
@mclow mclow merged commit dbb72a3 into boostorg:develop Apr 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants