Revert "[libc] Add rep;movsb as an accelerator under x86"

This reverts commit 1c7160300d.
This commit is contained in:
Guillaume Chatelet 2021-10-08 13:44:37 +00:00
parent 1c7160300d
commit d01ae990e1
1 changed files with 0 additions and 6 deletions

View File

@ -160,12 +160,6 @@ using _64 = __llvm_libc::Repeated<_8, 8>;
using _128 = __llvm_libc::Repeated<_8, 16>;
#endif
struct Accelerator {
static void Copy(char *dst, const char *src, size_t count) {
asm volatile("rep movsb" : "+D"(dst), "+S"(src), "+c"(count) : : "memory");
}
};
} // namespace x86
} // namespace __llvm_libc