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/] [tsti.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for tst #$imm8, r0 -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global tsti
11
tsti:
12
        mov #0, r0
13
        tst #0, r0
14
 
15
tsti2:
16
        mov #0, r0
17
        tst #1, r0
18
 
19
tsti3:
20
        mov #1, r0
21
        tst #0, r0
22
 
23
tsti4:
24
        mov #1, r0
25
        tst #1, r0
26
 
27
tsti5:
28
        mov #255, r0
29
        tst #255, r0
30
 
31
okay:
32
        pass

powered by: WebSVN 2.1.0

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