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

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cmpba $GRi,$GRj,$ICCi_1
2
# mach: fr400 fr550
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmpba
9
cmpba:
10
        set_gr_limmed   0xdead,0xbeef,gr7
11
        set_gr_limmed   0xdead,0xbeef,gr8
12
        set_icc         0x0e,0          ; Set mask opposite of expected
13
        cmpba           gr7,gr8,icc0
14
        test_icc        0 0 0 1 icc0
15
 
16
        set_gr_limmed   0x21ad,0xbeef,gr8
17
        set_icc         0x0e,0          ; Set mask opposite of expected
18
        cmpba           gr7,gr8,icc0
19
        test_icc        0 0 0 1 icc0
20
 
21
        set_gr_limmed   0xde52,0xbeef,gr8
22
        set_icc         0x0e,0          ; Set mask opposite of expected
23
        cmpba           gr7,gr8,icc0
24
        test_icc        0 0 0 1 icc0
25
 
26
        set_gr_limmed   0xdead,0x41ef,gr8
27
        set_icc         0x0e,0          ; Set mask opposite of expected
28
        cmpba           gr7,gr8,icc0
29
        test_icc        0 0 0 1 icc0
30
 
31
        set_gr_limmed   0xdead,0xbe10,gr8
32
        set_icc         0x03,0          ; Set mask opposite of expected
33
        cmpba           gr7,gr8,icc0
34
        test_icc        0 0 0 1 icc0
35
 
36
        set_gr_limmed   0xbeef,0xdead,gr8
37
        set_icc         0x0f,0          ; Set mask opposite of expected
38
        cmpba           gr7,gr8,icc0
39
        test_icc        0 0 0 0 icc0
40
 
41
        pass

powered by: WebSVN 2.1.0

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