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

Add APX ISA extension #450

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open

Add APX ISA extension #450

wants to merge 58 commits into from

Conversation

flobernd
Copy link
Member

@flobernd flobernd commented Sep 12, 2023

### Open Tasks
- [x] Rename ISA-set of some existing definitions to be able to distinguish between the new ones
- [x] Add APX mode
- [x] Support new registers in `ZydisRegisterGetLargestEnclosing`, etc.
- [ ] Report DFV flags in public struct

@flobernd flobernd changed the title Add AMX ISA extension Add APX ISA extension Sep 12, 2023
src/Segment.c Outdated Show resolved Hide resolved
tools/ZydisInfo.c Outdated Show resolved Hide resolved
src/Decoder.c Show resolved Hide resolved
src/Decoder.c Outdated Show resolved Hide resolved
src/Decoder.c Show resolved Hide resolved
src/Decoder.c Outdated Show resolved Hide resolved
src/Decoder.c Show resolved Hide resolved
src/Decoder.c Outdated Show resolved Hide resolved
@flobernd flobernd changed the base branch from master to ud0-compat January 22, 2024 14:01
src/Decoder.c Outdated Show resolved Hide resolved
Base automatically changed from ud0-compat to master January 26, 2024 19:34
@@ -202,7 +202,7 @@ ZydisRegister ZydisRegisterGetLargestEnclosing(ZydisMachineMode mode, ZydisRegis
return static_reg;
}

static const ZyanU8 GPR8_MAPPING[20] =
static const ZyanU8 GPR8_MAPPING[36] =
Copy link
Member Author

Choose a reason for hiding this comment

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

We should change semantics of all Register* APIs based on a ZyanBool apx parameter.

@flobernd flobernd marked this pull request as ready for review November 5, 2024 08:23
flobernd and others added 7 commits November 5, 2024 11:53
* Fixed `movdiri` (APX) and compressed disp8 handling

* Fixed VSIB encoding in 16-bit mode

* Workaround for `xsha1`/`xsha256`
* Removed `xsha1`/`xsha256` workaround

* Reworked `REX2` handling
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