1# The ARM VxWorks kernel uses an external floating-point library in
2# which routines like __ledf2 are just aliases for __cmpdf2.  These
3# routines therefore don't handle NaNs correctly.
4if [istarget "arm*-*-vxworks*"] {
5    set torture_eval_before_execute {
6	global compiler_conditional_xfail_data
7	set compiler_conditional_xfail_data {
8	    "The ARM kernel uses a flawed floating-point library."
9	    { "*-*-*" }
10	    {}
11	    { "-mrtp" }
12	}
13    }
14}
15
16if [istarget "spu-*-*"] {
17    # The SPU single-precision floating point format does not
18    # support Nan & Inf.
19    return 1
20}
21
22lappend additional_flags "-fno-trapping-math"
23return 0
24