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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [mulsb.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# cr16 testcase for mulsb $imm4/imm16/reg, reg
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global mulsb
9
mulsb:
10
        movw $-3,r4
11
        movw $7,r5
12
 
13
        mulsb r4, r5
14
        cmpw $-21, r5
15
        beq ok1
16
not_ok:
17
        fail
18
 
19
ok1:
20
        movw $3,r4
21
        mulw $7, r4
22
        test_h_gr r4, 21
23
 
24
        pass

powered by: WebSVN 2.1.0

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