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/] [compact/] [tstb.cgs] - Blame information for rev 437

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for tst.b #$imm8, @(r0, gbr) -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global orb
11
init:
12
        # Init GBR and R0.
13
        mov #30, r0
14
        ldc r0, gbr
15
        mov #40, r0
16
 
17
orb:
18
        tst.b #0, @(r0, gbr)
19
        bf wrong
20
        tst.b #170, @(r0, gbr)
21
        bf wrong
22
        tst.b #0, @(r0, gbr)
23
        bf wrong
24
        tst.b #255, @(r0, gbr)
25
 
26
okay:
27
        pass
28
wrong:
29
        fail
30
 

powered by: WebSVN 2.1.0

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