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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [cmppl.cgs] - Blame information for rev 238

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

Line No. Rev Author Line
1 227 jeremybenn
# sh testcase for cmp/pl $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
zero:
11
        mov #0, r0
12
        cmp/pl r0
13
        bt wrong
14
 
15
plus:
16
        mov #10, r0
17
        cmp/pl r0
18
        bf wrong
19
 
20
minus:
21
        mov #10, r0
22
        neg r0, r0
23
        cmp/pl r0
24
        bt wrong
25
 
26
large:
27
        mov #10, r0
28
        shll8 r0
29
        add #123, r0
30
        cmp/pl r0
31
        bf wrong
32
 
33
okay:
34
        pass
35
 
36
wrong:
37
        fail

powered by: WebSVN 2.1.0

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