diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-07-29 13:22:21 +0200 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2021-08-12 12:42:58 +0100 |
| commit | 2f4612260d35ef162c088b6b1a87f1e75717acb6 (patch) | |
| tree | ef6f8c093b9e8107f31514cbcdb7a09630fbc1a8 /src/doc | |
| parent | e9fb7bada1dc2d288ef44852b0e1986dbcfaaab5 (diff) | |
| download | rust-2f4612260d35ef162c088b6b1a87f1e75717acb6.tar.gz rust-2f4612260d35ef162c088b6b1a87f1e75717acb6.zip | |
Mark RISC-V vector state as clobbered in inline assembly
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/library-features/asm.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/library-features/asm.md b/src/doc/unstable-book/src/library-features/asm.md index 8ff600d5334..539499cc568 100644 --- a/src/doc/unstable-book/src/library-features/asm.md +++ b/src/doc/unstable-book/src/library-features/asm.md @@ -842,6 +842,7 @@ The compiler performs some additional checks on options: - Floating-point status (`FPSR` register). - RISC-V - Floating-point exception flags in `fcsr` (`fflags`). + - Vector extension state (`vtype`, `vl`, `vcsr`). - On x86, the direction flag (DF in `EFLAGS`) is clear on entry to an asm block and must be clear on exit. - Behavior is undefined if the direction flag is set on exiting an asm block. - The requirement of restoring the stack pointer and non-output registers to their original value only applies when exiting an `asm!` block. |
