Skip to content

iss: Add strategy analysis infrastructure #957

Open
Jozott00 wants to merge 1 commit into
masterfrom
wip/iss-vec-prep
Open

iss: Add strategy analysis infrastructure #957
Jozott00 wants to merge 1 commit into
masterfrom
wip/iss-vec-prep

Conversation

@Jozott00
Copy link
Copy Markdown
Contributor

@Jozott00 Jozott00 commented May 13, 2026

Adds the infrastructure for instruction analysis. It obtains facts about an instruction, and strategy evaluators use them to decide whether its strategy is viable for the given instruction.

This PR does not yet change the vector emission behavior, but adds the analysis foundation. Raw, fixed vector operations like VADD in RISC-V are now classified as gvec viable instruction.

While this implementation tries to be future proof and extendable for more complex vector patterns, odds are high that this will be heavily refactored in the near future.

@github-actions github-actions Bot added the iss This is ISS related label May 13, 2026
@Jozott00 Jozott00 force-pushed the wip/iss-vec-prep branch 4 times, most recently from c06e661 to d1e3a98 Compare May 13, 2026 17:21
@Jozott00 Jozott00 marked this pull request as ready for review May 13, 2026 17:22
@Jozott00 Jozott00 requested a review from BadGraphixD May 13, 2026 17:46
@Jozott00 Jozott00 changed the title iss: Add vector TCG analysis pass and integration tests iss: Add strategy analysis infrastructure May 13, 2026
Adds the infrastructure for instruction analysis. It obtains facts about an instruction, and strategy evaluators use them to decide whether its strategy is viable for the given instruction.
@Jozott00 Jozott00 force-pushed the wip/iss-vec-prep branch from d1e3a98 to fe07e66 Compare May 14, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

iss This is ISS related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant