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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [extsb.cgs] - Blame information for rev 280

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for exts.b $rm, $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global extsb
11
extsb:
12
        mov #42, r1
13
        exts.b r1, r2
14
        assert r2, #42
15
signed:
16
        mov #0, r0
17
        or #255, r0
18
        exts.b r0, r1
19
        mov #0, r7
20
        not r7, r7
21
        cmp/eq r1, r7
22
        bf wrong
23
 
24
okay:
25
        pass
26
 
27
wrong:
28
        fail
29
 

powered by: WebSVN 2.1.0

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