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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [maxq20/] [maxq20.exp] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
#
2
# MAXQ20 tests
3
#
4
proc gas_64_check { } {
5
    global NM
6
    global NMFLAGS
7
    global srcdir
8
 
9
    set status [gas_host_run "$NM $NMFLAGS --help" ""]
10
    return [regexp "targets:.*maxq" [lindex $status 1]]
11
}
12
 
13
proc gas_32_check { } {
14
    global NM
15
    global NMFLAGS
16
    global srcdir
17
 
18
    set status [gas_host_run "$NM $NMFLAGS --help" ""]
19
    return [regexp "targets:.*maxq" [lindex $status 1]]
20
}
21
 
22
 
23
if [expr ([istarget "maxq-*-*"] ||  [istarget "maxq-coff-*-*"]) && [gas_32_check]]  then {
24
 
25
    global ASFLAGS
26
    set old_ASFLAGS "$ASFLAGS"
27
    set ASFLAGS "$ASFLAGS"
28
 
29
    run_dump_test "range"
30
    run_dump_test "data3"
31
    run_dump_test "data2"
32
    run_dump_test "call"
33
    run_dump_test "jump"
34
    run_dump_test "logical"
35
    run_dump_test "math"
36
    run_dump_test "bits"
37
    run_dump_test "data1"
38
    run_dump_test "jzimm"
39
 
40
    set ASFLAGS "$old_ASFLAGS"
41
}
42
 

powered by: WebSVN 2.1.0

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