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/] [frv/] [cmovfg.cgs] - Blame information for rev 438

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

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

powered by: WebSVN 2.1.0

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