URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 818 |
#
|
#
|
# MAXQ10 tests
|
# MAXQ10 tests
|
#
|
#
|
proc gas_64_check { } {
|
proc gas_64_check { } {
|
global NM
|
global NM
|
global NMFLAGS
|
global NMFLAGS
|
|
|
set status [gas_host_run "$NM $NMFLAGS --help" ""]
|
set status [gas_host_run "$NM $NMFLAGS --help" ""]
|
return [regexp "targets:.*maxq" [lindex $status 1]]
|
return [regexp "targets:.*maxq" [lindex $status 1]]
|
}
|
}
|
|
|
proc gas_32_check { } {
|
proc gas_32_check { } {
|
global NM
|
global NM
|
global NMFLAGS
|
global NMFLAGS
|
global srcdir
|
global srcdir
|
|
|
set status [gas_host_run "$NM $NMFLAGS --help" ""]
|
set status [gas_host_run "$NM $NMFLAGS --help" ""]
|
return [regexp "targets:.*maxq" [lindex $status 1]]
|
return [regexp "targets:.*maxq" [lindex $status 1]]
|
}
|
}
|
|
|
if [expr ([istarget "maxq-*-*"] || [istarget "maxq-coff-*"]) && [gas_32_check]] then {
|
if [expr ([istarget "maxq-*-*"] || [istarget "maxq-coff-*"]) && [gas_32_check]] then {
|
|
|
global ASFLAGS
|
global ASFLAGS
|
set old_ASFLAGS "$ASFLAGS"
|
set old_ASFLAGS "$ASFLAGS"
|
set ASFLAGS "$ASFLAGS -MAXQ10"
|
set ASFLAGS "$ASFLAGS -MAXQ10"
|
|
|
run_dump_test "range"
|
run_dump_test "range"
|
run_dump_test "data3"
|
run_dump_test "data3"
|
run_dump_test "data2"
|
run_dump_test "data2"
|
run_dump_test "call"
|
run_dump_test "call"
|
run_dump_test "jump"
|
run_dump_test "jump"
|
run_dump_test "logical"
|
run_dump_test "logical"
|
run_dump_test "math"
|
run_dump_test "math"
|
run_dump_test "bits"
|
run_dump_test "bits"
|
|
|
set ASFLAGS "$old_ASFLAGS"
|
set ASFLAGS "$old_ASFLAGS"
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.