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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for mhsethis $s12,$FRk
2
# mach: all
3
 
4
        .include "../testutils.inc"
5
 
6
        start
7
 
8
        .global mhsethis
9
mhsethis:
10
        set_fr_immed    0,fr1
11
        mhsethis        0,fr1
12
        test_fr_iimmed  0,fr1
13
        mhsethis        1,fr1
14
        test_fr_iimmed  0x00010000,fr1
15
        mhsethis        0x7ff,fr1
16
        test_fr_iimmed  0x07ff0000,fr1
17
        mhsethis        -2048,fr1
18
        test_fr_iimmed  0xf8000000,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.