about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTimothée Delabrouille <timothee.delabrouille@musicworldmedia.com>2021-04-09 14:08:49 +0200
committerTimothée Delabrouille <timothee.delabrouille@musicworldmedia.com>2021-04-09 14:08:49 +0200
commit4f8dbf66de1c66b4e61e2f2b9a6c22f9b70a30d5 (patch)
tree128e92fa1ef436f7abef8b3a777f985ac53739de
parentd58a0de505a008af1998f1c5abbeb3fd75c6f76c (diff)
downloadrust-4f8dbf66de1c66b4e61e2f2b9a6c22f9b70a30d5.tar.gz
rust-4f8dbf66de1c66b4e61e2f2b9a6c22f9b70a30d5.zip
fix misspelling of register xmm23 which made xmm13 being clobbered twice
-rw-r--r--src/doc/unstable-book/src/library-features/asm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/library-features/asm.md b/src/doc/unstable-book/src/library-features/asm.md
index 6895c323c29..31082b64b27 100644
--- a/src/doc/unstable-book/src/library-features/asm.md
+++ b/src/doc/unstable-book/src/library-features/asm.md
@@ -316,7 +316,7 @@ fn call_foo(arg: i32) {
             // Also mark AVX-512 registers as clobbered. This is accepted by the
             // compiler even if AVX-512 is not enabled on the current target.
             out("xmm16") _, out("xmm17") _, out("xmm18") _, out("xmm19") _,
-            out("xmm20") _, out("xmm21") _, out("xmm22") _, out("xmm13") _,
+            out("xmm20") _, out("xmm21") _, out("xmm22") _, out("xmm23") _,
             out("xmm24") _, out("xmm25") _, out("xmm26") _, out("xmm27") _,
             out("xmm28") _, out("xmm29") _, out("xmm30") _, out("xmm31") _,
         )