Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/arm-optimized-routines/string/aarch64/memset-mops.S
39486 views
1
/*
2
* memset 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 (__memset_aarch64_mops)
11
mov x3, x0
12
.inst 0x19c10443 /* setp [x3]!, x2!, x1 */
13
.inst 0x19c14443 /* setm [x3]!, x2!, x1 */
14
.inst 0x19c18443 /* sete [x3]!, x2!, x1 */
15
ret
16
17
END (__memset_aarch64_mops)
18
19