| 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. |
| 4 |
if [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 |
|
| 16 |
lappend additional_flags "-fno-trapping-math" |
| 17 |
return 0 |