Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/arm-optimized-routines/string/aarch64/memmove-mops.S
39485 views
1
/*
2
* memmove using MOPS extension.
3
*
4
* Copyright (c) 2023, Arm Limited.
5
* SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6
*/
7
8
#include "asmdefs.h"
9
10
ENTRY (__memmove_aarch64_mops)
11
mov x3, x0
12
.inst 0x1d010443 /* cpyp [x3]!, [x1]!, x2! */
13
.inst 0x1d410443 /* cpym [x3]!, [x1]!, x2! */
14
.inst 0x1d810443 /* cpye [x3]!, [x1]!, x2! */
15
ret
16
17
END (__memmove_aarch64_mops)
18
19