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

Cherry-pick stability fix from astcenc 4.1.0 release #623

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

solidpixel
Copy link
Contributor

@solidpixel solidpixel commented Aug 17, 2022

This PR is a cherry-pick of a fix for the astcenc compressor backend that we made in the astcenc 4.1.0 release.

Without the fix SSE2 and SSE4.1 builds that use the decompressor APIs can generate faults on masked stores, as _mm_maskmoveu_si128() doesn't suppress faults on any lanes that are disabled. AVX2 builds are not impacted by this - the AVX2 masked store does suppress faults on masked lanes.

@CLAassistant
Copy link

CLAassistant commented Aug 17, 2022

CLA assistant check
All committers have signed the CLA.

@MarkCallow MarkCallow merged commit f8dc35f into KhronosGroup:master Aug 18, 2022
@MarkCallow
Copy link
Collaborator

Thanks @solidpixel.

AnonN10 added a commit to AnonN10/KTX-Software that referenced this pull request Aug 19, 2022
Cherry-pick change from astcenc 4.1.0 (KhronosGroup#623)
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 21, 2024
Without the fix SSE2 and SSE4.1 builds that use the decompressor APIs can generate faults on masked stores, as _mm_maskmoveu_si128() doesn't suppress faults on any lanes that are disabled. AVX2 builds are not impacted by this - the AVX2 masked store does suppress faults on masked lanes.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
Without the fix SSE2 and SSE4.1 builds that use the decompressor APIs can generate faults on masked stores, as _mm_maskmoveu_si128() doesn't suppress faults on any lanes that are disabled. AVX2 builds are not impacted by this - the AVX2 masked store does suppress faults on masked lanes.
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.

3 participants