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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [cmpd.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# cr16 testcase for cmpd (regp), (regp)
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmpd
9
cmpd:
10
        mvi_h_condbit 0
11
        movd $0x12345678, (r4,r3)
12
        movd $0x12345678, (r6,r5)
13
        cmpd (r4,r3), (r6,r5)
14
        beq ok
15
not_ok:
16
        fail
17
ok:
18
        mvi_h_condbit 1
19
        movd $0x12341234, (r6,r5)
20
        cmpd (r4,r3), (r6,r5)
21
        beq not_ok
22
 
23
        pass

powered by: WebSVN 2.1.0

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