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/] [mqsaths.cgs] - Blame information for rev 450

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

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

powered by: WebSVN 2.1.0

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