tests/tcg: Do not require FE_TOWARDZERO
This is optional in ISO C, and not all cpus provide it. Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
cdc05fb4c3
commit
4c71dc37fb
@ -30,7 +30,9 @@ float_mapping round_flags[] = {
|
|||||||
#ifdef FE_DOWNWARD
|
#ifdef FE_DOWNWARD
|
||||||
{ FE_DOWNWARD, "downwards" },
|
{ FE_DOWNWARD, "downwards" },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef FE_TOWARDZERO
|
||||||
{ FE_TOWARDZERO, "to zero" }
|
{ FE_TOWARDZERO, "to zero" }
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static void print_input(float input)
|
static void print_input(float input)
|
||||||
|
@ -29,7 +29,9 @@ float_mapping round_flags[] = {
|
|||||||
#ifdef FE_DOWNWARD
|
#ifdef FE_DOWNWARD
|
||||||
{ FE_DOWNWARD, "downwards" },
|
{ FE_DOWNWARD, "downwards" },
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef FE_TOWARDZERO
|
||||||
{ FE_TOWARDZERO, "to zero" }
|
{ FE_TOWARDZERO, "to zero" }
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user