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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [msaths.cgs] - Blame information for rev 373

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

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for msaths $FRi,$FRj,$FRj
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global msaths
9
msaths:
10
        set_fr_iimmed   0x0000,0x0000,fr10
11
        set_fr_iimmed   0x0000,0x0000,fr11
12
        msaths          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
        msaths          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
        msaths          fr10,fr11,fr12
23
        test_fr_limmed  0xffff,0xffff,fr12
24
 
25
        set_fr_iimmed   0x0000,0x0000,fr10
26
        set_fr_iimmed   0x0040,0x0040,fr11
27
        msaths          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
        msaths          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
        msaths          fr10,fr11,fr12
38
        test_fr_limmed  0xffff,0xffbf,fr12
39
 
40
        set_fr_iimmed   0x0000,0x0000,fr10
41
        set_fr_iimmed   0x7fff,0x7fff,fr11
42
        msaths          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
        msaths          fr10,fr11,fr12
48
        test_fr_limmed  0x0001,0x7fff,fr12
49
 
50
        set_fr_iimmed   0xffff,0x8000,fr10
51
        set_fr_iimmed   0x7fff,0x7fff,fr11
52
        msaths          fr10,fr11,fr12
53
        test_fr_limmed  0xffff,0x8000,fr12
54
 
55
        pass

powered by: WebSVN 2.1.0

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