forked from OSchip/llvm-project
Revert "[libc] Add rep;movsb as an accelerator under x86"
This reverts commit 1c7160300d
.
This commit is contained in:
parent
1c7160300d
commit
d01ae990e1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue