20020720-1.x

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· X 代码 · 共 39 行

X
39
字号
# The following targets fail 20020720-1.c for several reasons:# (1) They implement floating point instructions via software, or# (2) The "abs(x) < 0.0" comparison is split up in too many intermediate#     insns for combine to handle -- it can handle max three insns#     simultaneously.  For example, for RISCy machines it is common that 1#     insn performs abs, 1 insn loads 0.0, 1 insn sets CCmode flags based#     upon the FP comparison, and a 4th insn makes a conditional branch#     based upon the appropriate bits in the flags.  On the other hand, if#     for example the comparison insn takes 0.0 as an operand, the#     combiner is able to see all intermediate instructions simultaneously#     and can make the optimization.# Don't XFAIL at -O0, that should never fail.if { [istarget "sparc*-*-*"] } {    set torture_eval_before_compile {        global compiler_conditional_xfail_data        set compiler_conditional_xfail_data {            "PR opt/10348" \            { "*-*-*" } \            { "-fpic" "-fPIC" } \            { "-O0" }        }    }    return 0}set torture_eval_before_compile {    global compiler_conditional_xfail_data    set compiler_conditional_xfail_data {        "This test fails to optimize completely on certain platforms." \        { "xtensa-*-*" "sh-*-*" "arm*-*-*" "strongarm*-*-*" "xscale*-*-*" \	  "h8300*-*-*" "frv-*-*" "powerpc-*-*spe" } \        { "*" } \        { "-O0" }    }}return 0

⌨️ 快捷键说明

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