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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [mn10300/] [strcmp.S] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
        .file   "strcmp.S"
2
 
3
        .section .text
4
        .global _strcmp
5
        .type    _strcmp,@function
6
_strcmp:
7
        movm [d2,d3,a2,a3],(sp)
8
.Lend_of_prologue:
9
        mov d0,a0
10
        mov d1,a1
11
#ifndef __OPTIMIZE_SIZE__
12
        or d1,d0
13
        btst 3,d0
14
        bne .L11
15
        mov (a0),d1
16
        mov (a1),d0
17
        cmp d0,d1
18
        bne .L11
19
        mov -16843009,d3
20
        setlb
21
        mov (a0),d0
22
        mov d3,d1
23
        add d0,d1
24
        not d0
25
        and d0,d1
26
        and -2139062144,d1
27
        beq .L6
28
        clr d0
29
        jmp .Lepilogue
30
.L6:
31
        inc4 a0
32
        inc4 a1
33
        mov (a0),d1
34
        mov (a1),d0
35
        cmp d0,d1
36
        leq
37
.L11:
38
#endif
39
        setlb
40
        movbu (a1),d2
41
        movbu (a0),d0
42
        cmp 0,d0
43
        beq .L9
44
        cmp d2,d0
45
        bne .L9
46
        inc a0
47
        inc a1
48
        lra
49
.L9:
50
        sub d2,d0
51
.Lepilogue:
52
        ret [d2,d3,a2,a3],16
53
.Lend_of_strcmp:
54
        .size    _strcmp, .Lend_of_strcmp - _strcmp
55
 
56
        .section        .debug_frame,"",@progbits
57
.Lstart_of_debug_frame:
58
        # Common Information Entry (CIE)
59
        .4byte  .Lend_of_CIE - .Lstart_of_CIE   # CIE Length
60
.Lstart_of_CIE:
61
        .4byte   0xffffffff                     # CIE Identifier Tag
62
        .byte    0x1                            # CIE Version
63
        .ascii   "\0"                           # CIE Augmentation
64
        .uleb128 0x1                            # CIE Code Alignment Factor
65
        .sleb128 -4                             # CIE Data Alignment Factor
66
        .byte    0x32                           # CIE RA Column
67
        .byte    0xc                            # DW_CFA_def_cfa
68
        .uleb128 0x9
69
        .uleb128 0x0
70
        .byte    0xb2                           # DW_CFA_offset, column 0x32
71
        .uleb128 0x0
72
        .align   2
73
.Lend_of_CIE:
74
 
75
        # Frame Description Entry (FDE)
76
        .4byte  .Lend_of_FDE - .Lstart_of_FDE   # FDE Length
77
.Lstart_of_FDE:
78
        .4byte   .Lstart_of_debug_frame         # FDE CIE offset
79
        .4byte   _strcmp                        # FDE initial location
80
        .4byte   .Lend_of_strcmp - _strcmp      # FDE address range
81
        .byte    0x4                            # DW_CFA_advance_loc4
82
        .4byte   .Lend_of_prologue - _strcmp
83
        .byte    0xe                            # DW_CFA_def_cfa_offset
84
        .uleb128 0x4
85
        .byte    0x87                           # DW_CFA_offset, column 0x7
86
        .uleb128 0x1
87
        .align 2
88
.Lend_of_FDE:

powered by: WebSVN 2.1.0

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