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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [mqsllhi.cgs] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for mqsllhi $FRi,#u6,$FRj
2
# mach: fr450
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global mqsllhi
9
mqsllhi:
10
        set_fr_iimmed   0x0001,0x0002,fr4
11
        set_fr_iimmed   0x0003,0x0004,fr5
12
        mqsllhi         fr4,#1,fr6
13
        test_fr_limmed  0x0002,0x0004,fr6
14
        test_fr_limmed  0x0006,0x0008,fr7
15
 
16
        set_fr_iimmed   0xffff,0xfffe,fr4
17
        set_fr_iimmed   0xfffc,0xfff8,fr5
18
        mqsllhi         fr4,#1,fr6
19
        test_fr_limmed  0xfffe,0xfffc,fr6
20
        test_fr_limmed  0xfff8,0xfff0,fr7
21
 
22
        set_fr_iimmed   0xffff,0xfffe,fr4
23
        set_fr_iimmed   0xfffc,0xfff8,fr5
24
        mqsllhi         fr4,#12,fr6
25
        test_fr_limmed  0xf000,0xe000,fr6
26
        test_fr_limmed  0xc000,0x8000,fr7
27
 
28
        set_fr_iimmed   0x1234,0x5678,fr4
29
        set_fr_iimmed   0x9abc,0xdef0,fr5
30
        mqsllhi         fr4,#12,fr6
31
        test_fr_limmed  0x4000,0x8000,fr6
32
        test_fr_limmed  0xc000,0x0000,fr7
33
 
34
        set_fr_iimmed   0x1234,0x5678,fr4
35
        set_fr_iimmed   0x9abc,0xdef0,fr5
36
        mqsllhi         fr4,#16,fr6
37
        test_fr_limmed  0x1234,0x5678,fr6
38
        test_fr_limmed  0x9abc,0xdef0,fr7
39
 
40
        pass

powered by: WebSVN 2.1.0

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