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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [s390x/] [lib/] [strcmp.S] - Rev 1781

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

/*
 *  arch/s390/lib/strcmp.S
 *    S390 strcmp routine
 *
 *  S390 version
 *    Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
 *    Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
 */

/*
 * R2 = address of compare string
 * R3 = address of test string
 */
        .globl   strcmp
strcmp:
        SGR     0,0
        SGR     1,1
        CLST    2,3
        JO      .-4
        JE      strcmp_equal
        IC      0,0(3)
        IC      1,0(2)
        SGR     1,0
strcmp_equal:
        LGR     2,1
        BR      14
        

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

powered by: WebSVN 2.1.0

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