Skip to content

Commit 4f8dbf6

Browse files
author
Timothée Delabrouille
committed
fix misspelling of register xmm23 which made xmm13 being clobbered twice
1 parent d58a0de commit 4f8dbf6

File tree

1 file changed

+1
-1
lines changed
  • src/doc/unstable-book/src/library-features

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/library-features/asm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ fn call_foo(arg: i32) {
316316
// Also mark AVX-512 registers as clobbered. This is accepted by the
317317
// compiler even if AVX-512 is not enabled on the current target.
318318
out("xmm16") _, out("xmm17") _, out("xmm18") _, out("xmm19") _,
319-
out("xmm20") _, out("xmm21") _, out("xmm22") _, out("xmm13") _,
319+
out("xmm20") _, out("xmm21") _, out("xmm22") _, out("xmm23") _,
320320
out("xmm24") _, out("xmm25") _, out("xmm26") _, out("xmm27") _,
321321
out("xmm28") _, out("xmm29") _, out("xmm30") _, out("xmm31") _,
322322
)

0 commit comments

Comments
 (0)