frv.exp
来自「用于进行gcc测试」· EXP 代码 · 共 36 行
EXP
36 行
# The name of each test starts with the architecture it requires. Tests that# work on all variants start with "all".if {![istarget frv-*-*]} { return 0}load_lib gcc-dg.exp# Find out which architecture is used by default.set mainarch "fr500"foreach flag [target_info multilib_flags] { regexp "^-mcpu=(.*)" $flag dummy mainarch if {$flag == "-mno-pack"} { # -mno-pack disables media intrinsics. return 0 }}# Set $archs to "all" plus the list of architectures we can test.set archs [list "all" $mainarch]switch $mainarch { fr405 { lappend archs fr400 } fr450 { lappend archs fr405 fr400 }}# Set $files to the list of files we can test.set files ""foreach arch $archs { lappend files [lsort [glob -nocomplain $srcdir/$subdir/${arch}*.c]]}dg-initgcc-dg-runtest [eval concat $files] ""dg-finish
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?