-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpcodeDispatcher: Fixes FEX's H0F3A table handling of REX.W
Most of this table ignores REX.W, but two encodings change behaviour based on REX.W. These two encodings are PEXTRD/PEXTRQ and PINSRD/PINSRQ. For every other instruction encoding, they will ignore REX.W, but FEX was requiring that they didn't have REX.W encoding. I had special cased this in the past by adding PALIGNR, but that didn't handle any of the other instructions. We can't just handle REX.W in the OpcodeDispatcher and remove the two special cased instructions because these vector operations also interact with instruction prefix 0x66 which changes the operating size to 16bit with regular instructions. So instead just generate all listings of instructions with REX.W being zero and one and install handlers in all cases.
- Loading branch information
1 parent
d66cd16
commit 92a8822
Showing
3 changed files
with
98 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters