projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement binary emitters for fdiv, fdivp and fdivrp.
[libfirm]
/
include
/
libfirm
/
tv.h
diff --git
a/include/libfirm/tv.h
b/include/libfirm/tv.h
index
e718649
..
311e0cf
100644
(file)
--- a/
include/libfirm/tv.h
+++ b/
include/libfirm/tv.h
@@
-24,7
+24,7
@@
* @date 2003
* @author Mathias Heil
* @version $Id$
* @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,
* 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
*
* @param a the first tarval
* @param b the second tarval
*
- * @return a
<<L>
> b or tarval_bad
+ * @return a
\<\<L\>\
> b or tarval_bad
*/
tarval *tarval_rotl(tarval *a, tarval *b);
*/
tarval *tarval_rotl(tarval *a, tarval *b);
@@
-770,7
+770,7
@@
int tarval_ieee754_get_exponent(tarval *tv);
* precision loss.
*
* @param tv the tarval
* 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);
*/
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.
*/
/**
* 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.
/**
* Check if its the a floating point NaN.