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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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