Skip to content

Cherry-pick stability fix from astcenc 4.1.0 release#623

Merged
MarkCallow merged 1 commit intoKhronosGroup:masterfrom
solidpixel:master
Aug 18, 2022
Merged

Cherry-pick stability fix from astcenc 4.1.0 release#623
MarkCallow merged 1 commit intoKhronosGroup:masterfrom
solidpixel:master

Conversation

@solidpixel
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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.
richgel999 pushed a commit to BinomialLLC/KTX-Software-Binomial-Fork that referenced this pull request Mar 9, 2026
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