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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [msathu.cgs] - Blame information for rev 841

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for msathu $FRi,$FRj,$FRj
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global msathu
9
msathu:
10
        set_fr_iimmed   0x0000,0x0000,fr10
11
        set_fr_iimmed   0x0000,0x0000,fr11
12
        msathu          fr10,fr11,fr12
13
        test_fr_limmed  0x0000,0x0000,fr12
14
 
15
        set_fr_iimmed   0x0001,0x7fff,fr10
16
        set_fr_iimmed   0x0000,0x0000,fr11
17
        msathu          fr10,fr11,fr12
18
        test_fr_limmed  0x0000,0x0000,fr12
19
 
20
        set_fr_iimmed   0xffff,0x8000,fr10
21
        set_fr_iimmed   0x0000,0x0000,fr11
22
        msathu          fr10,fr11,fr12
23
        test_fr_limmed  0x0000,0x0000,fr12
24
 
25
        set_fr_iimmed   0x0000,0x0000,fr10
26
        set_fr_iimmed   0x0040,0x0040,fr11
27
        msathu          fr10,fr11,fr12
28
        test_fr_limmed  0x0000,0x0000,fr12
29
 
30
        set_fr_iimmed   0x0001,0x7fff,fr10
31
        set_fr_iimmed   0x0040,0x0040,fr11
32
        msathu          fr10,fr11,fr12
33
        test_fr_limmed  0x0001,0x0040,fr12
34
 
35
        set_fr_iimmed   0xffff,0x8000,fr10
36
        set_fr_iimmed   0x0040,0x0040,fr11
37
        msathu          fr10,fr11,fr12
38
        test_fr_limmed  0x0040,0x0040,fr12
39
 
40
        set_fr_iimmed   0x0000,0x0000,fr10
41
        set_fr_iimmed   0x7fff,0x7fff,fr11
42
        msathu          fr10,fr11,fr12
43
        test_fr_limmed  0x0000,0x0000,fr12
44
 
45
        set_fr_iimmed   0x0001,0x7fff,fr10
46
        set_fr_iimmed   0x7fff,0x7fff,fr11
47
        msathu          fr10,fr11,fr12
48
        test_fr_limmed  0x0001,0x7fff,fr12
49
 
50
        set_fr_iimmed   0xffff,0xffff,fr10
51
        set_fr_iimmed   0x7fff,0xffff,fr11
52
        msathu          fr10,fr11,fr12
53
        test_fr_limmed  0x7fff,0xffff,fr12
54
 
55
        pass

powered by: WebSVN 2.1.0

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