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/] [cmveq.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 cmveq $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
cmveq:
18
        # Zap r7.
19
        movi 0, r7
20
 
21
        cmveq r0, r2, r7
22
        bne r2, r7, tr0
23
 
24
        cmveq r1, 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.