maxq10.exp

来自「GNU binutils是GNU交叉工具链中的一个源码包」· EXP 代码 · 共 53 行

EXP
53
字号
## MAXQ10 tests#proc run_list_test { name opts } {    global srcdir subdir    set testname "maxq10 $name"    set file $srcdir/$subdir/$name    gas_run ${name}.s $opts ">&dump.out"    if { [regexp_diff "dump.out" "${file}.l"] } then {	fail $testname	verbose "output is [file_contents "dump.out"]" 2	return    }    pass $testname}proc gas_64_check { } {    global NM    global NMFLAGS    global srcdir    catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help    return [regexp "targets:.*maxq" $nm_help];}proc gas_32_check { } {    global NM    global NMFLAGS    global srcdir    catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help    return [regexp "targets:.*maxq" $nm_help];}if [expr ([istarget "maxq-*-*"] ||  [istarget "maxq-coff-*"]) && [gas_32_check]]  then {    global ASFLAGS    set old_ASFLAGS "$ASFLAGS"    set ASFLAGS "$ASFLAGS -MAXQ10"    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"    set ASFLAGS "$old_ASFLAGS"}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?