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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# cr16 testcase for ashud $sr,$dr
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global ashud
9
ashud:
10
 
11
        movd  $0xf1234567, (r4,r3)
12
        movw  $20,r5
13
        ashud r5, (r4,r3)
14
 
15
        cmpd $0x56700000, (r4,r3)
16
        beq ok
17
not_ok:
18
        fail
19
ok:
20
        movd  $0xf1234567, (r4,r3)
21
        movw  $-20,r5
22
        ashud r5, (r4,r3)
23
 
24
        test_h_grp "(r4,r3)", -238
25
 
26
        pass

powered by: WebSVN 2.1.0

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