We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceeda40 commit a0df7aaCopy full SHA for a0df7aa
compiler-builtins/src/mem/x86_64.rs
@@ -23,7 +23,7 @@ use core::{intrinsics, mem};
23
#[cfg(target_feature = "ermsb")]
24
pub unsafe fn copy_forward(dest: *mut u8, src: *const u8, count: usize) {
25
asm!(
26
- "repe movsb [rdi], rsi",
+ "repe movsb [rdi], [rsi]",
27
inout("rcx") count => _,
28
inout("rdi") dest => _,
29
inout("rsi") src => _,
0 commit comments