annotate target-utils/libc/memcpy16.S @ 775:6ec781e61e68

simagent: enable CHKPAR and CONV at the end of sim-up
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Mar 2021 22:08:07 +0000
parents 8dc062c6359b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 .text
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 .code 32
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 .globl memcpy16
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 memcpy16:
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 1: subs r2, r2, #2
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 ldrcsh r3, [r1], #2
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 strcsh r3, [r0], #2
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 bhi 1b
8dc062c6359b target-utils/libc: memcpy16 and memcpy32 optimized variants implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 bx lr