Skip to content

UCM/BISTRO: Improve x86 parser to recognize some mov flavors - #6095

Merged
yosefe merged 2 commits into
openucx:masterfrom
yosefe:topic/ucm-bistro-improve-x86-parser-to-recognize
Jan 10, 2021
Merged

yosefe merged 2 commits into
openucx:masterfrom
yosefe:topic/ucm-bistro-improve-x86-parser-to-recognize

Conversation

@yosefe

@yosefe yosefe commented Jan 5, 2021 •

Copy link
Copy Markdown
Member

Why

Follow up on #6038

Add supports for the following instructions:
- mov $displ(%rsp), %reg64
- mov $imm32, $reg32

@hoopoepg hoopoepg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what about use C bitmaps for operations, like in struct ucs_x86_cpu_version, instead of shift/mask magic?

@yosefe

yosefe commented Jan 6, 2021

Copy link
Copy Markdown
Member Author

what about use C bitmaps for operations, like in struct ucs_x86_cpu_version, instead of shift/mask magic?

IMO, C bitmaps will make it harder to understand, and if we parse each byte (e.g modrm) it is closer to the x86 instruction format specification

@yosefe

yosefe commented Jan 9, 2021

Copy link
Copy Markdown
Member Author

bot:pipe:retest

@yosefe
yosefe merged commit cbf7708 into openucx:master Jan 10, 2021
@yosefe
yosefe deleted the topic/ucm-bistro-improve-x86-parser-to-recognize branch January 10, 2021 08:36
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