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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for mqlmths $FRi,$FRj,$FRj
2
# mach: fr450
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global mqlmths
9
mqlmths:
10
        set_fr_iimmed   0x1000,0x2000,fr4
11
        set_fr_iimmed   0xe800,0xd800,fr5
12
        set_fr_iimmed   0x0800,0x0800,fr6
13
        set_fr_iimmed   0x0800,0x0800,fr7
14
        mqlmths         fr4,fr6,fr8
15
        test_fr_limmed  0x0800,0x0800,fr8
16
        test_fr_limmed  0xf800,0xf800,fr9
17
 
18
        set_fr_iimmed   0x1000,0x2000,fr4
19
        set_fr_iimmed   0xe800,0xd800,fr5
20
        set_fr_iimmed   0xf800,0xf800,fr6
21
        set_fr_iimmed   0xf800,0xf800,fr7
22
        mqlmths         fr4,fr6,fr8
23
        test_fr_limmed  0xf800,0xf800,fr8
24
        test_fr_limmed  0x0800,0x0800,fr9
25
 
26
        set_fr_iimmed   0x1000,0x1000,fr4
27
        set_fr_iimmed   0x1000,0x1000,fr5
28
        set_fr_iimmed   0xe800,0xf800,fr6
29
        set_fr_iimmed   0x0800,0x1800,fr7
30
        mqlmths         fr4,fr6,fr8
31
        test_fr_limmed  0x1000,0xf800,fr8
32
        test_fr_limmed  0x0800,0x1000,fr9
33
 
34
        set_fr_iimmed   0xf000,0xf000,fr4
35
        set_fr_iimmed   0xf000,0xf000,fr5
36
        set_fr_iimmed   0xe800,0xf800,fr6
37
        set_fr_iimmed   0x0800,0x1800,fr7
38
        mqlmths         fr4,fr6,fr8
39
        test_fr_limmed  0xf000,0x0800,fr8
40
        test_fr_limmed  0xf800,0xf000,fr9
41
 
42
        set_fr_iimmed   0x8000,0x8000,fr4
43
        set_fr_iimmed   0x8000,0x8000,fr5
44
        set_fr_iimmed   0x8000,0x7fff,fr6
45
        set_fr_iimmed   0x8001,0x0000,fr7
46
        mqlmths         fr4,fr6,fr8
47
        test_fr_limmed  0x7fff,0x8001,fr8
48
        test_fr_limmed  0x7fff,0x0000,fr9
49
 
50
        set_fr_iimmed   0x7fff,0x7fff,fr4
51
        set_fr_iimmed   0x7fff,0x7fff,fr5
52
        set_fr_iimmed   0x8000,0x7fff,fr6
53
        set_fr_iimmed   0x8001,0x0000,fr7
54
        mqlmths         fr4,fr6,fr8
55
        test_fr_limmed  0x7fff,0x7fff,fr8
56
        test_fr_limmed  0x8001,0x0000,fr9
57
 
58
        set_fr_iimmed   0x8001,0x8001,fr4
59
        set_fr_iimmed   0x8001,0x8001,fr5
60
        set_fr_iimmed   0x8000,0x7fff,fr6
61
        set_fr_iimmed   0x8001,0x0000,fr7
62
        mqlmths         fr4,fr6,fr8
63
        test_fr_limmed  0x8001,0x8001,fr8
64
        test_fr_limmed  0x7fff,0x0000,fr9
65
 
66
        set_fr_iimmed   0x8000,0x8000,fr4
67
        set_fr_iimmed   0x0001,0xffff,fr5
68
        set_fr_iimmed   0x0001,0xffff,fr6
69
        set_fr_iimmed   0x8000,0x8000,fr7
70
        mqlmths         fr4,fr6,fr8
71
        test_fr_limmed  0xffff,0x0001,fr8
72
        test_fr_limmed  0x0001,0xffff,fr9
73
 
74
        pass

powered by: WebSVN 2.1.0

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