Skip to content

BUG, SIMD: Workaround broadcasting SIMD 64-bit integers on MSVC 32-bit#20298

Merged
charris merged 3 commits intonumpy:maintenance/1.21.xfrom
charris:backport-20219
Nov 4, 2021
Merged

BUG, SIMD: Workaround broadcasting SIMD 64-bit integers on MSVC 32-bit#20298
charris merged 3 commits intonumpy:maintenance/1.21.xfrom
charris:backport-20219

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Nov 3, 2021

Backport of #20219.

Avoid using any of intrinsics that related to broadcasting 64-bit integers
with MSVC 32-bit, even if they are apparently work on newer versions.
They had bad impact on the generated instructions, sometimes the
compiler deal with them without the respect of 32-bit mode which
lead to crush due to execute 64-bit instructions and other times
generate bad emulated instructions.

closes #20216

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs component: SIMD Issues in SIMD (fast instruction sets) code or machinery labels Nov 3, 2021
@charris charris added this to the 1.21.4 release milestone Nov 3, 2021
@charris charris merged commit 6b3d17e into numpy:maintenance/1.21.x Nov 4, 2021
@charris charris deleted the backport-20219 branch November 4, 2021 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants