Skip to main content

Crate archmage_macros

Crate archmage_macros 

Source
Expand description

Proc-macros for archmage SIMD capability tokens.

Provides #[arcane], #[rite], #[autoversion], incant!, and #[magetypes].

Macros§

dispatch_variant
Descriptive alias for incant!.
incant
Dispatch to platform-specific SIMD variants.
simd_route
Legacy alias for incant!.

Attribute Macros§

arcane
Mark a function as an arcane SIMD function.
autoversion
Let the compiler auto-vectorize scalar code for each architecture.
magetypes
Generate platform-specific variants from a function by replacing Token.
rite
Annotate inner SIMD helpers called from #[arcane] functions.
token_target_features
Descriptive alias for [rite].
token_target_features_boundary
Descriptive alias for [arcane].