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 10ENTRY (__memmove_aarch64_mops) 11 PTR_ARG (0) 12 PTR_ARG (1) 13 SIZE_ARG (2) 14 15 mov x3, x0 16 .inst 0x1d010443 /* cpyp [x3]!, [x1]!, x2! */ 17 .inst 0x1d410443 /* cpym [x3]!, [x1]!, x2! */ 18 .inst 0x1d810443 /* cpye [x3]!, [x1]!, x2! */ 19 ret 20 21END (__memmove_aarch64_mops) 22