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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [cmexpdhw.cgs] - Blame information for rev 816

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cmexpdhw $FRi,$s6,$FRj,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmexpdhw
9
cmexpdhw:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_fr_iimmed   0xdead,0xbeef,fr10
13
        cmexpdhw        fr10,0,fr12,cc0,1
14
        test_fr_limmed  0xdead,0xdead,fr12
15
 
16
        cmexpdhw        fr10,1,fr12,cc0,1
17
        test_fr_limmed  0xbeef,0xbeef,fr12
18
 
19
        cmexpdhw        fr10,62,fr12,cc4,1
20
        test_fr_limmed  0xdead,0xdead,fr12
21
 
22
        cmexpdhw        fr10,63,fr12,cc4,1
23
        test_fr_limmed  0xbeef,0xbeef,fr12
24
 
25
        set_fr_iimmed   0xdead,0xbeef,fr10
26
        cmexpdhw        fr10,0,fr12,cc1,0
27
        test_fr_limmed  0xdead,0xdead,fr12
28
 
29
        cmexpdhw        fr10,1,fr12,cc1,0
30
        test_fr_limmed  0xbeef,0xbeef,fr12
31
 
32
        cmexpdhw        fr10,62,fr12,cc5,0
33
        test_fr_limmed  0xdead,0xdead,fr12
34
 
35
        cmexpdhw        fr10,63,fr12,cc5,0
36
        test_fr_limmed  0xbeef,0xbeef,fr12
37
 
38
        set_fr_iimmed   0x1111,0x1111,fr12
39
        set_fr_iimmed   0xdead,0xbeef,fr10
40
        cmexpdhw        fr10,0,fr12,cc0,0
41
        test_fr_limmed  0x1111,0x1111,fr12
42
 
43
        cmexpdhw        fr10,1,fr12,cc0,0
44
        test_fr_limmed  0x1111,0x1111,fr12
45
 
46
        cmexpdhw        fr10,62,fr12,cc4,0
47
        test_fr_limmed  0x1111,0x1111,fr12
48
 
49
        cmexpdhw        fr10,63,fr12,cc4,0
50
        test_fr_limmed  0x1111,0x1111,fr12
51
 
52
        set_fr_iimmed   0xdead,0xbeef,fr10
53
        cmexpdhw        fr10,0,fr12,cc1,1
54
        test_fr_limmed  0x1111,0x1111,fr12
55
 
56
        cmexpdhw        fr10,1,fr12,cc1,1
57
        test_fr_limmed  0x1111,0x1111,fr12
58
 
59
        cmexpdhw        fr10,62,fr12,cc5,1
60
        test_fr_limmed  0x1111,0x1111,fr12
61
 
62
        cmexpdhw        fr10,63,fr12,cc5,1
63
        test_fr_limmed  0x1111,0x1111,fr12
64
 
65
        set_fr_iimmed   0xdead,0xbeef,fr10
66
        cmexpdhw        fr10,0,fr12,cc2,1
67
        test_fr_limmed  0x1111,0x1111,fr12
68
 
69
        cmexpdhw        fr10,1,fr12,cc2,0
70
        test_fr_limmed  0x1111,0x1111,fr12
71
 
72
        cmexpdhw        fr10,62,fr12,cc6,1
73
        test_fr_limmed  0x1111,0x1111,fr12
74
 
75
        cmexpdhw        fr10,63,fr12,cc6,0
76
        test_fr_limmed  0x1111,0x1111,fr12
77
 
78
        set_fr_iimmed   0xdead,0xbeef,fr10
79
        cmexpdhw        fr10,0,fr12,cc3,1
80
        test_fr_limmed  0x1111,0x1111,fr12
81
 
82
        cmexpdhw        fr10,1,fr12,cc3,0
83
        test_fr_limmed  0x1111,0x1111,fr12
84
 
85
        cmexpdhw        fr10,62,fr12,cc7,1
86
        test_fr_limmed  0x1111,0x1111,fr12
87
 
88
        cmexpdhw        fr10,63,fr12,cc7,0
89
        test_fr_limmed  0x1111,0x1111,fr12
90
 
91
        pass

powered by: WebSVN 2.1.0

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