if (get_arm_value(n)) {
if (is_arm_CopyB(n)) {
- fprintf(F, "size = %u\n", get_tarval_long(get_arm_value(n)));
+ fprintf(F, "size = %lu\n", get_tarval_long(get_arm_value(n)));
} else {
if (mode_is_float(get_irn_mode(n))) {
- fprintf(F, "float value = (%lf)\n", get_tarval_double(get_arm_value(n)));
+ fprintf(F, "float value = (%f)\n", (double) get_tarval_double(get_arm_value(n)));
} else if (mode_is_int(get_irn_mode(n))) {
long v = get_tarval_long(get_arm_value(n));
fprintf(F, "long value = %ld (0x%08lx)\n", v, v);
ir_op *op_shf_right; /**< shift operand on right */
} opt_tuple;
-static const opt_tuple *opt_ops[iro_arm_last];
+//static const opt_tuple *opt_ops[iro_arm_last];
void arm_set_optimizers(void) {
/*
return env;
}
-/*
- * Add a number to a prefix. This number will not be used a second time.
- */
-static char *get_unique_label(char *buf, size_t buflen, const char *prefix) {
- static unsigned long id = 0;
- snprintf(buf, buflen, "%s%lu", prefix, ++id);
- return buf;
-}
-
-
/**
* Returns the target label for a control flow node.
*/