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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [s390x/] [lib/] [strcmp.S] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *  arch/s390/lib/strcmp.S
3
 *    S390 strcmp routine
4
 *
5
 *  S390 version
6
 *    Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
7
 *    Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
8
 */
9
 
10
/*
11
 * R2 = address of compare string
12
 * R3 = address of test string
13
 */
14
        .globl   strcmp
15
strcmp:
16
        SGR     0,0
17
        SGR     1,1
18
        CLST    2,3
19
        JO      .-4
20
        JE      strcmp_equal
21
        IC      0,0(3)
22
        IC      1,0(2)
23
        SGR     1,0
24
strcmp_equal:
25
        LGR     2,1
26
        BR      14
27
 

powered by: WebSVN 2.1.0

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