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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [ptabs.cgs] - Blame information for rev 280

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for ptabs$likely $rn, $tra -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
 
6
        .include "media/testutils.inc"
7
 
8
        start
9
 
10
        .global ptabs
11
ptabs:
12
        movi 16, r0
13
        shlli r0, 8, r0
14
        # Add one to stay in SHmedia mode.
15
        addi r0, 29, r0
16
        ptabs r0, tr0
17
 
18
        # Now jump.
19
        beqi r63, 0, tr0
20
 
21
wrong:
22
        fail
23
 
24
okay:
25
        pass

powered by: WebSVN 2.1.0

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