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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [jmp.cgs] - Blame information for rev 227

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

Line No. Rev Author Line
1 227 jeremybenn
# fr30 testcase for jmp @$Ri
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global jmp
10
 
11
        ; Test jmp $Ri
12
        mvi_h_gr        #func1,r0
13
        set_cc          0x0f            ; condition codes shouldn't change
14
jmp1:
15
        jmp             @r0
16
        fail
17
func1:
18
        test_cc         1 1 1 1
19
        mvi_h_gr        #func2,r0
20
        set_cc          0x0f            ; condition codes shouldn't change
21
jmp2:
22
        jmp:d           @r0
23
        ldi:8           1,r0            ; Must assume this works
24
        fail
25
func2:
26
        test_cc         1 1 1 1
27
        testr_h_gr      1,r0
28
 
29
        pass

powered by: WebSVN 2.1.0

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