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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [cmvne.cgs] - Blame information for rev 827

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for cmvne $rm, $rn, $rd -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
 
6
        .include "media/testutils.inc"
7
 
8
        start
9
init:
10
        pta wrong, tr0
11
 
12
        movi 0, r0
13
        movi 1, r1
14
        movi 2, r2
15
        movi 21, r3
16
 
17
cmvne:
18
        # Zap r7.
19
        movi 0, r7
20
 
21
        cmvne r1, r2, r7
22
        bne r2, r7, tr0
23
 
24
        cmvne r0, r3, r7
25
        # Make sure r7 is still equal to r2.
26
        bne r2, r7, tr0
27
 
28
okay:
29
        pass
30
 
31
wrong:
32
        fail

powered by: WebSVN 2.1.0

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