Skip to content

intrinsic-test: make types generic over SupportedArchitecture#2170

Open
davidtwco wants to merge 3 commits into
rust-lang:mainfrom
davidtwco:intrinsic-test-generic-over-arch
Open

intrinsic-test: make types generic over SupportedArchitecture#2170
davidtwco wants to merge 3 commits into
rust-lang:mainfrom
davidtwco:intrinsic-test-generic-over-arch

Conversation

@davidtwco

@davidtwco davidtwco commented Jun 19, 2026

Copy link
Copy Markdown
Member

Split out from #2160. This patch contains a refactor which makes the Argument and Intrinsic types generic over the SupportedArchitectureTest trait, rather than IntrinsicTypeDefinition. This makes it easier to add logic that is per-architecture but not necessarily per-type, which is required in the SVE support. It also renames some types to keep them relatively short after these changes.

r? @sayantn

This isn't strictly necessary but these type names were longer than they
needed to be.
Refactoring enabling accessing architecture-specific behaviour that isn't
associated with either of the return or argument types.
Refactoring enabling accessing architecture-specific behaviour that isn't
associated with the specific argument type.
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