X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Ftv.h;h=311e0cfdb6a7eae9ca3c18e899d1216dad5bf3c7;hb=10856348993b5e17fea0ca327097083fa07e86fd;hp=e7186490fa798b7f1b7b311e0cdb895e36b2e188;hpb=2fc3fe45a4abc32707b1028203317f423e17e8fb;p=libfirm diff --git a/include/libfirm/tv.h b/include/libfirm/tv.h index e7186490f..311e0cfdb 100644 --- a/include/libfirm/tv.h +++ b/include/libfirm/tv.h @@ -24,7 +24,7 @@ * @date 2003 * @author Mathias Heil * @version $Id$ - * @summary + * @brief * Tarvals represent target machine values. They are typed by modes. * Tarvals only represent values of mode_sort: * - int_number, @@ -609,7 +609,7 @@ tarval *tarval_shrs(tarval *a, tarval *b); * @param a the first tarval * @param b the second tarval * - * @return a <> b or tarval_bad + * @return a \<\\> b or tarval_bad */ tarval *tarval_rotl(tarval *a, tarval *b); @@ -770,7 +770,7 @@ int tarval_ieee754_get_exponent(tarval *tv); * precision loss. * * @param tv the tarval - * param mode the mode to convert to + * @param mode the mode to convert to */ int tarval_ieee754_can_conv_lossless(tarval *tv, ir_mode *mode); @@ -797,7 +797,10 @@ unsigned tarval_ieee754_get_mantissa_size(const ir_mode *mode); /** * Enable/Disable floating point constant folding. */ -int tarval_enable_fp_ops(int enable); +void tarval_enable_fp_ops(int enable); + +/** returns 0/1 if floating point folding is enable/disabled */ +int tarval_fp_ops_enabled(void); /** * Check if its the a floating point NaN.