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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [m32r/] [cmpui.cgs] - Blame information for rev 841

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# m32r testcase for cmpui $src2,#$simm16
2
# mach(): m32r m32rx
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmpui
9
cmpui:
10
        mvi_h_condbit 0
11
        mvi_h_gr r4, 1
12
        cmpui r4, #2
13
        bc ok
14
not_ok:
15
        fail
16
ok:
17
        mvi_h_condbit 1
18
        mvi_h_gr r4, -1
19
        cmpui r4, #2
20
        bc not_ok
21
 
22
        pass

powered by: WebSVN 2.1.0

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