Skip to content

Fix PSHUFW instruction semantics#763

Merged
kyle-elliott-tob merged 1 commit intolifting-bits:masterfrom
momo5502:master
Mar 11, 2026
Merged

Fix PSHUFW instruction semantics#763
kyle-elliott-tob merged 1 commit intolifting-bits:masterfrom
momo5502:master

Conversation

@momo5502
Copy link
Copy Markdown
Contributor

PSHUFW reorders 16 bit values within 64 bit MMX registers.
That means two bits of the mask make up one selection index (log2(64 / 16) == 2).

Copy link
Copy Markdown
Collaborator

@kyle-elliott-tob kyle-elliott-tob left a comment

Choose a reason for hiding this comment

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

TY!

@kyle-elliott-tob kyle-elliott-tob merged commit 27b3857 into lifting-bits:master Mar 11, 2026
17 checks passed
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.

2 participants