Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Remove hardcoded registers from the pass #3

@OleksiiOleksenko

Description

@OleksiiOleksenko

Some of the registers used in the instrumentation are hardcoded (e.g., R15 in X86SpecFuzzPass::visitWrite). This approach works, but it does not produce an optimal assembly because we have to push/pop the register value every time we use it.

A better approach would be to look for non-live registers and, if available, use them.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions