projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Experimental support for double word irarch.
[libfirm]
/
include
/
libfirm
/
irarch.h
diff --git
a/include/libfirm/irarch.h
b/include/libfirm/irarch.h
index
8420821
..
c8b4400
100644
(file)
--- a/
include/libfirm/irarch.h
+++ b/
include/libfirm/irarch.h
@@
-47,11
+47,12
@@
typedef enum instr {
* A Callback for evaluating the costs of an instruction.
*
* @param kind the instruction
* A Callback for evaluating the costs of an instruction.
*
* @param kind the instruction
+ * @param mode the mode of the instruction
* @param tv for MUL instruction, the multiplication constant
*
* @return the costs of this instruction
*/
* @param tv for MUL instruction, the multiplication constant
*
* @return the costs of this instruction
*/
-typedef int (*evaluate_costs_func)(insn_kind kind, tarval *tv);
+typedef int (*evaluate_costs_func)(insn_kind kind,
const ir_mode *mode, ir_
tarval *tv);
/**
* A parameter structure that drives the machine dependent Firm
/**
* A parameter structure that drives the machine dependent Firm