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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [maxq20/] [maxq20.exp] - Rev 438

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

#
# MAXQ20 tests
#
proc gas_64_check { } {
    global NM
    global NMFLAGS
    global srcdir

    set status [gas_host_run "$NM $NMFLAGS --help" ""]
    return [regexp "targets:.*maxq" [lindex $status 1]]
}

proc gas_32_check { } {
    global NM
    global NMFLAGS
    global srcdir

    set status [gas_host_run "$NM $NMFLAGS --help" ""]
    return [regexp "targets:.*maxq" [lindex $status 1]]
}


if [expr ([istarget "maxq-*-*"] ||  [istarget "maxq-coff-*-*"]) && [gas_32_check]]  then {

    global ASFLAGS
    set old_ASFLAGS "$ASFLAGS"
    set ASFLAGS "$ASFLAGS"

    run_dump_test "range"
    run_dump_test "data3"
    run_dump_test "data2"
    run_dump_test "call"
    run_dump_test "jump"
    run_dump_test "logical"
    run_dump_test "math"
    run_dump_test "bits"
    run_dump_test "data1"
    run_dump_test "jzimm"

    set ASFLAGS "$old_ASFLAGS"
}

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.