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/] [frv/] [fsubd.cgs] - Rev 227

Compare with Previous | Blame | View Log

# frv testcase for fsubd $GRi,$GRj,$GRk
# mach: frv
# as(frv): -mcpu=frv

        .include "testutils.inc"

        double_constants
        start
        load_double_constants

        .global fsubd
fsubd:
        fsubd           fr0,fr16,fr2
        test_dfr_dfr    fr2,fr0
        fsubd           fr4,fr16,fr2
        test_dfr_dfr    fr2,fr4
        fsubd           fr8,fr16,fr2
        test_dfr_dfr    fr2,fr8
        fsubd           fr12,fr16,fr2
        test_dfr_dfr    fr2,fr12
        fsubd           fr16,fr16,fr2
        test_dfr_dfr    fr2,fr16
        test_dfr_dfr    fr2,fr20
        fsubd           fr20,fr16,fr2
        test_dfr_dfr    fr2,fr16
        test_dfr_dfr    fr2,fr20
        fsubd           fr24,fr16,fr2
        test_dfr_dfr    fr2,fr24
        fsubd           fr28,fr16,fr2
        test_dfr_dfr    fr2,fr28
        fsubd           fr32,fr16,fr2
        test_dfr_dfr    fr2,fr32
        fsubd           fr36,fr16,fr2
        test_dfr_dfr    fr2,fr36
        fsubd           fr40,fr16,fr2
        test_dfr_dfr    fr2,fr40
        fsubd           fr44,fr16,fr2
        test_dfr_dfr    fr2,fr44
        fsubd           fr48,fr16,fr2
        test_dfr_dfr    fr2,fr48
        fsubd           fr52,fr16,fr2
        test_dfr_dfr    fr2,fr52

        fsubd           fr0,fr20,fr2
        test_dfr_dfr    fr2,fr0
        fsubd           fr4,fr20,fr2
        test_dfr_dfr    fr2,fr4
        fsubd           fr8,fr20,fr2
        test_dfr_dfr    fr2,fr8
        fsubd           fr12,fr20,fr2
        test_dfr_dfr    fr2,fr12
        fsubd           fr16,fr20,fr2
        test_dfr_dfr    fr2,fr16
        test_dfr_dfr    fr2,fr20
        fsubd           fr20,fr20,fr2
        test_dfr_dfr    fr2,fr16
        test_dfr_dfr    fr2,fr20
        fsubd           fr24,fr20,fr2
        test_dfr_dfr    fr2,fr24
        fsubd           fr28,fr20,fr2
        test_dfr_dfr    fr2,fr28
        fsubd           fr32,fr20,fr2
        test_dfr_dfr    fr2,fr32
        fsubd           fr36,fr20,fr2
        test_dfr_dfr    fr2,fr36
        fsubd           fr40,fr20,fr2
        test_dfr_dfr    fr2,fr40
        fsubd           fr44,fr20,fr2
        test_dfr_dfr    fr2,fr44
        fsubd           fr48,fr20,fr2
        test_dfr_dfr    fr2,fr48
        fsubd           fr52,fr20,fr2
        test_dfr_dfr    fr2,fr52

        fsubd           fr32,fr36,fr2
        test_dfr_dfr    fr2,fr8

        fsubd           fr44,fr40,fr2
        test_dfr_dfr    fr2,fr36

        pass


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.