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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [bctrlr.cgs] - Blame information for rev 834

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

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for bctrlr $ccond,$hint
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global bctrlr
9
bctrlr:
10
        set_spr_addr    bad,lr
11
        set_spr_immed   1,lcr
12
        bctrlr          0,0
13
 
14
        set_spr_addr    ok1,lr
15
        set_spr_immed   2,lcr
16
        bctrlr          0,0
17
        fail
18
ok1:
19
        set_spr_addr    bad,lr
20
        set_spr_immed   2,lcr
21
        bctrlr          1,0
22
 
23
        set_spr_addr    ok2,lr
24
        bctrlr          1,0
25
        fail
26
ok2:
27
        pass
28
bad:
29
        fail

powered by: WebSVN 2.1.0

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