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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [movgs.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for movgs $GRj,$FRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global movgs
9
movgs:
10
        set_gr_limmed   0xdead,0xbeef,gr8
11
        and_spr_immed   0,lcr
12
        movgs gr8,lcr
13
        test_gr_limmed  0xdead,0xbeef,gr8
14
        test_spr_limmed 0xdead,0xbeef,lcr
15
 
16
        ; try alternate names for lcr
17
        and_spr_immed   0,273
18
        movgs gr8,spr[273]                      ; lcr is spr number 273
19
        test_gr_limmed  0xdead,0xbeef,gr8
20
        test_spr_limmed 0xdead,0xbeef,spr[273]
21
 
22
        pass

powered by: WebSVN 2.1.0

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