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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [fr400/] [mhsetlos.cgs] - Blame information for rev 330

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for mhsetlos $s12,$FRk
2
# mach: all
3
 
4
        .include "../testutils.inc"
5
 
6
        start
7
 
8
        .global mhsetlos
9
mhsetlos:
10
        set_fr_immed    0,fr1
11
        mhsetlos        0,fr1
12
        test_fr_iimmed  0,fr1
13
        mhsetlos        1,fr1
14
        test_fr_iimmed  0x00000001,fr1
15
        mhsetlos        0x7ff,fr1
16
        test_fr_iimmed  0x000007ff,fr1
17
        mhsetlos        -2048,fr1
18
        test_fr_iimmed  0x0000f800,fr1
19
 
20
        ; Try parallel set of hi and lo at the same time
21
        mhsethis.p      1,fr1
22
        mhsetlos        2,fr1
23
        test_fr_iimmed  0x00010002,fr1
24
 
25
        pass

powered by: WebSVN 2.1.0

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