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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for movfgq $FRk,$GRj
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
 
9
        .global movfgq
10
movfgq:
11
        set_fr_iimmed   0xdead,0xbeef,fr8
12
        set_fr_iimmed   0xbeef,0xdead,fr9
13
        set_fr_iimmed   0x1234,0x5678,fr10
14
        set_fr_iimmed   0x9abc,0xdef0,fr11
15
        set_gr_limmed   0,0,gr8
16
        set_gr_limmed   0,0,gr9
17
        set_gr_limmed   0,0,gr10
18
        set_gr_limmed   0,0,gr11
19
        movfgq fr8,gr8
20
        test_gr_limmed  0xdead,0xbeef,gr8
21
        test_gr_limmed  0xbeef,0xdead,gr9
22
        test_gr_limmed  0x1234,0x5678,gr10
23
        test_gr_limmed  0x9abc,0xdef0,gr11
24
        test_fr_limmed  0xdead,0xbeef,fr8
25
        test_fr_limmed  0xbeef,0xdead,fr9
26
        test_fr_limmed  0x1234,0x5678,fr10
27
        test_fr_limmed  0x9abc,0xdef0,fr11
28
 
29
        pass

powered by: WebSVN 2.1.0

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