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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [blt.cgs] - Rev 355

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

# fr30 testcase for blt $label9
# mach(): fr30

        .include "testutils.inc"

        START

        .text
        .global blt
blt:
        ; Test blt $label9
        set_cc          0x0f            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x0e            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x0d            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x0c            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x0b            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x0a            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x09            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x08            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x07            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x06            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x05            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x04            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x03            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x02            ; condition codes are irrelevent
        take_branch     blt

        set_cc          0x01            ; condition codes are irrelevent
        no_branch       blt

        set_cc          0x00            ; condition codes are irrelevent
        no_branch       blt

        ; Test blt:d label9
        set_cc          0x0f            ; condition codes are irrelevent
        no_branch_d     blt:d 0xf

        set_cc          0x0e            ; condition codes are irrelevent
        no_branch_d     blt:d 0xe

        set_cc          0x0d            ; condition codes are irrelevent
        take_branch_d   blt:d 0xd

        set_cc          0x0c            ; condition codes are irrelevent
        take_branch_d   blt:d 0xc

        set_cc          0x0b            ; condition codes are irrelevent
        no_branch_d     blt:d 0xb

        set_cc          0x0a            ; condition codes are irrelevent
        no_branch_d     blt:d 0xa

        set_cc          0x09            ; condition codes are irrelevent
        take_branch_d   blt:d 0x9

        set_cc          0x08            ; condition codes are irrelevent
        take_branch_d   blt:d 0x8

        set_cc          0x07            ; condition codes are irrelevent
        take_branch_d   blt:d 0x7

        set_cc          0x06            ; condition codes are irrelevent
        take_branch_d   blt:d 0x6

        set_cc          0x05            ; condition codes are irrelevent
        no_branch_d     blt:d 0x5

        set_cc          0x04            ; condition codes are irrelevent
        no_branch_d     blt:d 0x4

        set_cc          0x03            ; condition codes are irrelevent
        take_branch_d   blt:d 0x3

        set_cc          0x02            ; condition codes are irrelevent
        take_branch_d   blt:d 0x2

        set_cc          0x01            ; condition codes are irrelevent
        no_branch_d     blt:d 0x1

        set_cc          0x00            ; condition codes are irrelevent
        no_branch_d     blt:d 0x0

        pass

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

powered by: WebSVN 2.1.0

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