1# floor() is not available on m6811/m6812 target, this test will not link.
2if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
3	return 1
4}
5# XFAIL this test for AIX using -msoft-float.
6# This test calls the system libm.a function floor.
7# A false failure is reported if -msoft-float is used.
8# AIX expects the the parameters to be passed in fp regs.
9if { [istarget powerpc-*-aix*] || [istarget rs6000-*-aix*] } {
10    set torture_eval_before_execute {
11	global compiler_conditional_xfail_data
12	set compiler_conditional_xfail_data {
13	    "Can not call system libm.a with -msoft-float" \
14		    "*-*-aix*" \
15		    { "-msoft-float" } \
16		    { "" }
17	}
18    }
19}
20return 0
21