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/] [mulw.cgs] - Blame information for rev 330

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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