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/] [fr30/] [stres.cgs] - Blame information for rev 373

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

Line No. Rev Author Line
1 330 jeremybenn
# fr30 testcase for stres $@Ri+,$u4
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global stres
10
stres:
11
        ; Test stres $@Ri+,$u4
12
        ; The current implementation simply increments Ri
13
        mvi_h_gr        0x1000,r7
14
        set_cc          0x0f            ; Condition codes are irrelevent
15
        stres           0,@r7+
16
        test_cc         1 1 1 1
17
        test_h_gr       0x1004,r7
18
 
19
        mvi_h_gr        0x1000,r7
20
        set_cc          0x0f            ; Condition codes are irrelevent
21
        stres           0xf,@r7+
22
        test_cc         1 1 1 1
23
        test_h_gr       0x1004,r7
24
 
25
        pass

powered by: WebSVN 2.1.0

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