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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [fr30/] [bne.cgs] - Diff between revs 827 and 840

Only display areas with differences | Details | Blame | View Log

Rev 827 Rev 840
# fr30 testcase for bne $label9
# fr30 testcase for bne $label9
# mach(): fr30
# mach(): fr30
        .include "testutils.inc"
        .include "testutils.inc"
        START
        START
        .text
        .text
        .global bne
        .global bne
bne:
bne:
        ; Test bne $label9
        ; Test bne $label9
        set_cc          0x0f            ; condition codes are irrelevent
        set_cc          0x0f            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x0e            ; condition codes are irrelevent
        set_cc          0x0e            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x0d            ; condition codes are irrelevent
        set_cc          0x0d            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x0c            ; condition codes are irrelevent
        set_cc          0x0c            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x0b            ; condition codes are irrelevent
        set_cc          0x0b            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x0a            ; condition codes are irrelevent
        set_cc          0x0a            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x09            ; condition codes are irrelevent
        set_cc          0x09            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x08            ; condition codes are irrelevent
        set_cc          0x08            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x07            ; condition codes are irrelevent
        set_cc          0x07            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x06            ; condition codes are irrelevent
        set_cc          0x06            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x05            ; condition codes are irrelevent
        set_cc          0x05            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x04            ; condition codes are irrelevent
        set_cc          0x04            ; condition codes are irrelevent
        no_branch       bne
        no_branch       bne
        set_cc          0x03            ; condition codes are irrelevent
        set_cc          0x03            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x02            ; condition codes are irrelevent
        set_cc          0x02            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x01            ; condition codes are irrelevent
        set_cc          0x01            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        set_cc          0x00            ; condition codes are irrelevent
        set_cc          0x00            ; condition codes are irrelevent
        take_branch     bne
        take_branch     bne
        ; Test bne:d label9
        ; Test bne:d label9
        set_cc          0x0f            ; condition codes are irrelevent
        set_cc          0x0f            ; condition codes are irrelevent
        no_branch_d     bne:d 0xf
        no_branch_d     bne:d 0xf
        set_cc          0x0e            ; condition codes are irrelevent
        set_cc          0x0e            ; condition codes are irrelevent
        no_branch_d     bne:d 0xe
        no_branch_d     bne:d 0xe
        set_cc          0x0d            ; condition codes are irrelevent
        set_cc          0x0d            ; condition codes are irrelevent
        no_branch_d     bne:d 0xd
        no_branch_d     bne:d 0xd
        set_cc          0x0c            ; condition codes are irrelevent
        set_cc          0x0c            ; condition codes are irrelevent
        no_branch_d     bne:d 0xc
        no_branch_d     bne:d 0xc
        set_cc          0x0b            ; condition codes are irrelevent
        set_cc          0x0b            ; condition codes are irrelevent
        take_branch_d   bne:d 0xb
        take_branch_d   bne:d 0xb
        set_cc          0x0a            ; condition codes are irrelevent
        set_cc          0x0a            ; condition codes are irrelevent
        take_branch_d   bne:d 0xa
        take_branch_d   bne:d 0xa
        set_cc          0x09            ; condition codes are irrelevent
        set_cc          0x09            ; condition codes are irrelevent
        take_branch_d   bne:d 0x9
        take_branch_d   bne:d 0x9
        set_cc          0x08            ; condition codes are irrelevent
        set_cc          0x08            ; condition codes are irrelevent
        take_branch_d   bne:d 0x8
        take_branch_d   bne:d 0x8
        set_cc          0x07            ; condition codes are irrelevent
        set_cc          0x07            ; condition codes are irrelevent
        no_branch_d     bne:d 0x7
        no_branch_d     bne:d 0x7
        set_cc          0x06            ; condition codes are irrelevent
        set_cc          0x06            ; condition codes are irrelevent
        no_branch_d     bne:d 0x6
        no_branch_d     bne:d 0x6
        set_cc          0x05            ; condition codes are irrelevent
        set_cc          0x05            ; condition codes are irrelevent
        no_branch_d     bne:d 0x5
        no_branch_d     bne:d 0x5
        set_cc          0x04            ; condition codes are irrelevent
        set_cc          0x04            ; condition codes are irrelevent
        no_branch_d     bne:d 0x4
        no_branch_d     bne:d 0x4
        set_cc          0x03            ; condition codes are irrelevent
        set_cc          0x03            ; condition codes are irrelevent
        take_branch_d   bne:d 0x3
        take_branch_d   bne:d 0x3
        set_cc          0x02            ; condition codes are irrelevent
        set_cc          0x02            ; condition codes are irrelevent
        take_branch_d   bne:d 0x2
        take_branch_d   bne:d 0x2
        set_cc          0x01            ; condition codes are irrelevent
        set_cc          0x01            ; condition codes are irrelevent
        take_branch_d   bne:d 0x1
        take_branch_d   bne:d 0x1
        set_cc          0x00            ; condition codes are irrelevent
        set_cc          0x00            ; condition codes are irrelevent
        take_branch_d   bne:d 0x0
        take_branch_d   bne:d 0x0
        pass
        pass
 
 

powered by: WebSVN 2.1.0

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