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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [cr16/] [cmpd.cgs] - Blame information for rev 330

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 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.