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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for mhsetlos $u12,$FRk
2
# mach: fr400 fr550
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global setlo
9
setlo:
10
        set_fr_iimmed   0xdead,0xbeef,fr1
11
        mhsetlos        0,fr1
12
        test_fr_limmed  0xdead,0x0000,fr1
13
 
14
        mhsetlos        1,fr1
15
        test_fr_limmed  0xdead,0x0001,fr1
16
 
17
        mhsetlos        0x07ff,fr1
18
        test_fr_limmed  0xdead,0x07ff,fr1
19
 
20
        mhsetlos        -2048,fr1
21
        test_fr_limmed  0xdead,0xf800,fr1
22
 
23
        mhsetlos        -1,fr1
24
        test_fr_limmed  0xdead,0xffff,fr1
25
 
26
        pass

powered by: WebSVN 2.1.0

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