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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [cr16/] [cmpi.cgs] - Blame information for rev 330

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# cr16 testcase for cmpi $imm16, reg
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmpi
9
cmpi:
10
        mvi_h_condbit 0
11
        movw $1, r4
12
        cmpw $1, r4
13
        beq ok
14
not_ok:
15
        fail
16
ok:
17
        mvi_h_condbit 1
18
        movw $2, r4
19
        cmpw $2, r4
20
        bne not_ok
21
 
22
 
23
        pass

powered by: WebSVN 2.1.0

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