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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [orccr.cgs] - Blame information for rev 816

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

Line No. Rev Author Line
1 227 jeremybenn
# fr30 testcase for orccr $u8
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global orccr
10
orccr:
11
        orccr           0xff
12
        test_cc         1 1 1 1
13
        test_i          1
14
        test_s_user
15
 
16
        set_cc  0x0f
17
        orccr           0x00
18
        test_cc         1 1 1 1
19
        test_i          1
20
        test_s_user
21
 
22
        set_cc          0x00
23
        set_i                   0
24
        set_s_system
25
        orccr           0xaa
26
        test_cc         1 0 1 0
27
        test_i          0
28
        test_s_user
29
 
30
        set_cc          0x00
31
        set_i                   0
32
        set_s_system
33
        orccr           0xc0
34
        test_cc         0 0 0 0
35
        test_i          0
36
        test_s_system
37
 
38
        pass

powered by: WebSVN 2.1.0

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