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

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

Line No. Rev Author Line
1 24 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.