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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [ashuw_i.cgs] - Blame information for rev 285

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# cr16 testcase for ashuw $sr,$dr
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global ashuw
9
ashuw:
10
 
11
        movw  $0x1ff1, r4
12
        ashuw $12, r4
13
 
14
        cmpw $0x1000, r4
15
        beq ok
16
not_ok:
17
        fail
18
ok:
19
        movw  $0x1ff1, r4
20
        ashuw $-12, r4
21
 
22
        test_h_gr r4, 0x1
23
 
24
        pass

powered by: WebSVN 2.1.0

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