Update src/attributes/codegen.md

Co-authored-by: Eric Huss <eric@huss.org>
This commit is contained in:
Lokathor 2023-05-27 20:30:35 -06:00 committed by GitHub
parent df9643a33c
commit 236e01489c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -355,8 +355,8 @@ trait object whose methods are attributed.
## The `instruction_set` attribute
On some CPU architectures it is possible to mix more than one instruction set into a single program.
The `instruction_set` attribute lets you control which instruction set a particular function will be generated for.
The *`instruction_set` [attribute]* may be applied to a function to control which instruction set the function will be generated for.
This allows mixing more than one instruction set in a single program on CPU architectures that support it.
It uses the [_MetaListPath_] syntax, and a path comprised of the architecture family name and instruction set name.
[_MetaListPath_]: ../attributes.md#meta-item-attribute-syntax