OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [machine/] [mn10300/] [strcpy.S] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1008 ivang
        .file "strcpy.S"
2
 
3
        .section .text
4
        .global _strcpy
5
        .type    _strcpy,@function
6
_strcpy:
7
        movm [d2,d3,a2,a3],(sp)
8
        mov d0,d3
9
        mov d1,a0
10
        mov d3,a1
11
        mov a0,d0
12
#ifndef __OPTIMIZE_SIZE__
13
        or d3,d0
14
        btst 3,d0
15
        bne .L2
16
        mov (a0),d0
17
        mov -16843009,a2
18
        mov a2,d1
19
        add d0,d1
20
        not d0
21
        and d0,d1
22
        mov -2139062144,d2
23
        btst -2139062144,d1
24
        bne .L2
25
.L5:
26
        setlb
27
        mov (a0),d0
28
        mov d0,(a1)
29
        inc4 a0
30
        inc4 a1
31
        mov (a0),d0
32
        mov a2,d1
33
        add d0,d1
34
        not d0
35
        and d0,d1
36
        and d2,d1
37
        leq
38
#endif
39
.L2:
40
.L7:
41
        setlb
42
        movbu (a0),d0
43
        movbu d0,(a1)
44
        inc a0
45
        inc a1
46
        cmp 0,d0
47
        lne
48
        mov d3,a0
49
        ret [d2,d3,a2,a3],16
50
.Lfe1:
51
        .size    _strcpy,.Lfe1-_strcpy

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.