changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / sys/src/libc/arm64/mkfile

changeset 7218: 0e07d7fce9f3
parent: fb00248097c0
author: cinap_lenrek@felloff.net
date: Thu, 09 May 2019 02:32:09 +0200
permissions: -rw-r--r--
description: libc: provide arm64 assembly versions for memmove() and memset()

just a first approximation, uses unaligned 8 byte loads and stores.
MOVP not yet implemented by the linker. no ZVA cache magic yet.
1 objtype=arm64
2 </$objtype/mkfile
3 OS=7
4 
5 LIB=/$objtype/lib/libc.a
6 SFILES=\
7  argv0.s\
8  atom.s\
9  cycles.s\
10  getcallerpc.s\
11  getfcr.s\
12  main9.s\
13  main9p.s\
14  memmove.s\
15  memset.s\
16  setjmp.s\
17  tas.s\
18 
19 CFILES=\
20  lock.c\
21  notejmp.c\
22  _seek.c\
23 
24 HFILES=/sys/include/libc.h
25 
26 OFILES=${CFILES:%.c=%.$O} ${SFILES:%.s=%.$O}
27 
28 UPDATE=mkfile\
29  $HFILES\
30  $CFILES\
31  $SFILES\
32 
33 </sys/src/cmd/mksyslib