Commit ba75a174 by James Greenhalgh Committed by James Greenhalgh

[Patch testsuite patch 10/17] Add options for floatN when checking effective target for support

gcc/testsuite/

	* lib/target-supports.exp (check_effective_target_float16): Add
	options for _Float16.
	(check_effective_target_float32): Add options for _Float32.
	(check_effective_target_float64): Add options for _Float64.
	(check_effective_target_float128): Add options for _Float128.
	(check_effective_target_float32x): Add options for _Float32x.
	(check_effective_target_float64x): Add options for _Float64x.
	(check_effective_target_float128x): Add options for _Float128x.

From-SVN: r242780
parent 5823ef23
2016-11-23 James Greenhalgh <james.greenhalgh@arm.com> 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
* lib/target-supports.exp (check_effective_target_float16): Add
options for _Float16.
(check_effective_target_float32): Add options for _Float32.
(check_effective_target_float64): Add options for _Float64.
(check_effective_target_float128): Add options for _Float128.
(check_effective_target_float32x): Add options for _Float32x.
(check_effective_target_float64x): Add options for _Float64x.
(check_effective_target_float128x): Add options for _Float128x.
2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.dg/fpermitted-flt-eval-methods_3.c: New. * gcc.dg/fpermitted-flt-eval-methods_3.c: New.
* gcc.dg/fpermitted-flt-eval-methods_4.c: Likewise. * gcc.dg/fpermitted-flt-eval-methods_4.c: Likewise.
......
...@@ -2527,43 +2527,43 @@ proc check_effective_target_has_q_floating_suffix { } { ...@@ -2527,43 +2527,43 @@ proc check_effective_target_has_q_floating_suffix { } {
proc check_effective_target_float16 {} { proc check_effective_target_float16 {} {
return [check_no_compiler_messages_nocache float16 object { return [check_no_compiler_messages_nocache float16 object {
_Float16 x; _Float16 x;
}] } [add_options_for_float16 ""]]
} }
proc check_effective_target_float32 {} { proc check_effective_target_float32 {} {
return [check_no_compiler_messages_nocache float32 object { return [check_no_compiler_messages_nocache float32 object {
_Float32 x; _Float32 x;
}] } [add_options_for_float32 ""]]
} }
proc check_effective_target_float64 {} { proc check_effective_target_float64 {} {
return [check_no_compiler_messages_nocache float64 object { return [check_no_compiler_messages_nocache float64 object {
_Float64 x; _Float64 x;
}] } [add_options_for_float64 ""]]
} }
proc check_effective_target_float128 {} { proc check_effective_target_float128 {} {
return [check_no_compiler_messages_nocache float128 object { return [check_no_compiler_messages_nocache float128 object {
_Float128 x; _Float128 x;
}] } [add_options_for_float128 ""]]
} }
proc check_effective_target_float32x {} { proc check_effective_target_float32x {} {
return [check_no_compiler_messages_nocache float32x object { return [check_no_compiler_messages_nocache float32x object {
_Float32x x; _Float32x x;
}] } [add_options_for_float32x ""]]
} }
proc check_effective_target_float64x {} { proc check_effective_target_float64x {} {
return [check_no_compiler_messages_nocache float64x object { return [check_no_compiler_messages_nocache float64x object {
_Float64x x; _Float64x x;
}] } [add_options_for_float64x ""]]
} }
proc check_effective_target_float128x {} { proc check_effective_target_float128x {} {
return [check_no_compiler_messages_nocache float128x object { return [check_no_compiler_messages_nocache float128x object {
_Float128x x; _Float128x x;
}] } [add_options_for_float128x ""]]
} }
# Likewise, but runtime support for any special options used as well # Likewise, but runtime support for any special options used as well
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment