math-torture.exp
来自「用于进行gcc测试」· EXP 代码 · 共 37 行
EXP
37 行
# This harness is for tests that should be run at all optimisation levels.# Exit immediately if this isn't a x86 target.if { ![istarget i?86*-*-*] && ![istarget x86_64-*-*] } then { return}set TORTURE_OPTIONS [list \ { -O0 } \ { -O0 -mfpmath=387 } \ { -O0 -msse -mno-sse2 -mfpmath=sse } \ { -O0 -msse -msse2 -mfpmath=sse } \ { -O0 -msse -mno-sse2 -mfpmath=sse,387 } \ { -O0 -msse -msse2 -mfpmath=sse,387 } \ { -O0 -mfpmath=387 -ffast-math } \ { -O0 -msse -mno-sse2 -mfpmath=sse -ffast-math } \ { -O0 -msse -msse2 -mfpmath=sse -ffast-math } \ { -O0 -msse -mno-sse2 -mfpmath=sse,387 -ffast-math } \ { -O0 -msse -msse2 -mfpmath=sse,387 -ffast-math } \ { -O2 } \ { -O2 -mfpmath=387 } \ { -O2 -msse -mno-sse2 -mfpmath=sse } \ { -O2 -msse -msse2 -mfpmath=sse } \ { -O2 -msse -mno-sse2 -mfpmath=sse,387 } \ { -O2 -msse -msse2 -mfpmath=sse,387 } \ { -O2 -mfpmath=387 -ffast-math } \ { -O2 -msse -mno-sse2 -mfpmath=sse -ffast-math } \ { -O2 -msse -msse2 -mfpmath=sse -ffast-math } \ { -O2 -msse -mno-sse2 -mfpmath=sse,387 -ffast-math } \ { -O2 -msse -msse2 -mfpmath=sse,387 -ffast-math } \]load_lib gcc-dg.expdg-initgcc-dg-runtest [lsort [glob $srcdir/$subdir/*.c]] ""dg-finish
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?