xref: /freebsd/contrib/arm-optimized-routines/string/aarch64/memcpy-mops.S (revision dd21556857e8d40f66bf5ad54754d9d52669ebf7)
1/*
2 * memcpy 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
10ENTRY (__memcpy_aarch64_mops)
11	mov	x3, x0
12	.inst	0x19010443	/* cpyfp   [x3]!, [x1]!, x2!  */
13	.inst	0x19410443	/* cpyfm   [x3]!, [x1]!, x2!  */
14	.inst	0x19810443	/* cpyfe   [x3]!, [x1]!, x2!  */
15	ret
16
17END (__memcpy_aarch64_mops)
18