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/] [frv/] [sub.cgs] - Blame information for rev 373

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

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for sub $GRi,$GRj,$GRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global sub
9
sub:
10
        set_gr_immed    1,gr7
11
        set_gr_immed    2,gr8
12
        sub             gr8,gr7,gr8
13
        test_gr_immed   1,gr8
14
 
15
        set_gr_immed    1,gr7
16
        set_gr_limmed   0x8000,0x0000,gr8
17
        sub             gr8,gr7,gr8
18
        test_gr_limmed  0x7fff,0xffff,gr8
19
 
20
        sub             gr8,gr8,gr8
21
        test_gr_immed   0,gr8
22
 
23
        sub             gr8,gr7,gr8
24
        test_gr_immed   -1,gr8
25
 
26
        pass

powered by: WebSVN 2.1.0

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