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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [cr16/] [push2.cgs] - Blame information for rev 835

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

Line No. Rev Author Line
1 330 jeremybenn
# cr16 testcase for push count reg insns.
2
# mach:  cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global push2
9
push2:
10
        movd $0x1006, (sp)
11
        movw $0x2f50, r5
12
        movw $0x107e, r6
13
        movw $0x35ed, r7
14
        push $3,r5
15
 
16
        loadw 0x1000, r3
17
        cmpw r3,r5
18
        beq ok1
19
        br not_ok
20
not_ok:
21
        fail
22
ok1:
23
        loadw 0x1002, r3
24
        cmpw r3,r6
25
        beq ok2
26
        br not_ok
27
ok2:
28
        loadw 0x1004, r3
29
        cmpw r3,r7
30
        beq ok3
31
        br not_ok
32
 
33
ok3:
34
        pass
35
 
36
 

powered by: WebSVN 2.1.0

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