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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [fr30/] [andccr.cgs] - Blame information for rev 205

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

Line No. Rev Author Line
1 24 jeremybenn
# fr30 testcase for andccr $u8
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global andccr
10
andccr:
11
        set_cc          0x00
12
        set_i                   0
13
        set_s_system
14
        andccr          0xff
15
        test_cc         0 0 0 0
16
        test_i          0
17
        test_s_system
18
 
19
        set_cc          0x0f
20
        set_i                   1
21
        set_s_user
22
        andccr          0xff
23
        test_cc         1 1 1 1
24
        test_i          1
25
        test_s_user
26
 
27
        set_cc          0x0f
28
        set_i                   1
29
        set_s_user
30
        andccr          0xaa
31
        test_cc         1 0 1 0
32
        test_i          0
33
        test_s_user
34
 
35
        set_cc          0x0f
36
        set_i                   1
37
        set_s_user
38
        andccr          0xc0
39
        test_cc         0 0 0 0
40
        test_i          0
41
        test_s_system
42
 
43
        set_cc          0x0f
44
        set_i                   1
45
        set_s_user
46
        andccr          0x3f            ; no effect
47
        test_cc         1 1 1 1
48
        test_i          1
49
        test_s_user
50
 
51
        pass

powered by: WebSVN 2.1.0

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