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

i#6698 instr_t ISA mode: move from flags to its own field #6699

Merged
merged 22 commits into from
Mar 12, 2024

Conversation

edeiana
Copy link
Contributor

@edeiana edeiana commented Mar 8, 2024

Moves instruction-related ISA mode from instr_t flags field to a new dr_isa_mode_t field in instr_t and updates setter and getter functions for instr_t ISA mode.

Fixes #6698

Moves instruction-related ISA mode from instr_t flags field
to a new dr_isa_mode_t field in instr_t and updates setter
and getter functions for instr_t ISA mode.

Fixes #6698
core/ir/instr.h Show resolved Hide resolved
core/ir/instr_api.h Outdated Show resolved Hide resolved
@edeiana
Copy link
Contributor Author

edeiana commented Mar 8, 2024

Lots of tests are currently failing.
Probably due to the change in instr_t size.

@edeiana edeiana self-assigned this Mar 8, 2024
core/ir/arm/instr.c Outdated Show resolved Hide resolved
@edeiana
Copy link
Contributor Author

edeiana commented Mar 10, 2024

Thank you for the early review Derek!
I went with your suggestion, making isa_mode a 1 byte field in instr_t.
I also had to change instr_get_isa_mode() (see #6699 (comment)) so they don't look the same anymore.

core/ir/instr_api.h Outdated Show resolved Hide resolved
core/ir/aarch64/instr.c Show resolved Hide resolved
core/ir/arm/instr.c Outdated Show resolved Hide resolved
core/ir/aarch64/instr.c Outdated Show resolved Hide resolved
core/ir/arm/instr.c Outdated Show resolved Hide resolved
core/ir/x86/instr.c Outdated Show resolved Hide resolved
core/ir/instr_api.h Show resolved Hide resolved
core/ir/x86/instr.c Outdated Show resolved Hide resolved
core/ir/x86/instr.c Outdated Show resolved Hide resolved
core/ir/x86/instr.c Outdated Show resolved Hide resolved
core/ir/aarch64/instr.c Show resolved Hide resolved
core/ir/arm/instr.c Outdated Show resolved Hide resolved
core/ir/arm/instr.c Outdated Show resolved Hide resolved
core/ir/instr_api.h Outdated Show resolved Hide resolved
core/ir/instr_api.h Outdated Show resolved Hide resolved
core/ir/instr_shared.c Outdated Show resolved Hide resolved
core/ir/instr_shared.c Outdated Show resolved Hide resolved
core/ir/x86/instr.c Show resolved Hide resolved
core/ir/aarch64/instr.c Outdated Show resolved Hide resolved
@edeiana
Copy link
Contributor Author

edeiana commented Mar 12, 2024

code_api|tool.drcacheoff.windows-timestamps failed once (#6081) now passing.

@edeiana edeiana merged commit 2d2cd90 into master Mar 12, 2024
16 checks passed
@edeiana edeiana deleted the i6698-instr-isa-mode branch March 12, 2024 20:56
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.

Move ISA mode from instr_t flags to its own dr_isa_mode_t field in instr_t
2 participants