projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bad input register requirements
[libfirm]
/
ir
/
be
/
begnuas.c
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
f03355f
..
46e1600
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-95,8
+95,6
@@
static void emit_section_macho(be_gas_section_t section)
case GAS_SECTION_DEBUG_FRAME: name = "section __DWARF,__debug_frame,regular,debug"; break;
default: panic("unsupported scetion type 0x%X", section);
}
case GAS_SECTION_DEBUG_FRAME: name = "section __DWARF,__debug_frame,regular,debug"; break;
default: panic("unsupported scetion type 0x%X", section);
}
- be_emit_irprintf("\t.%s\n", name);
- be_emit_write_line();
} else if (flags & GAS_SECTION_FLAG_COMDAT) {
switch (base) {
case GAS_SECTION_TEXT: name = "section __TEXT,__textcoal_nt,coalesced,pure_instructions"; break;
} else if (flags & GAS_SECTION_FLAG_COMDAT) {
switch (base) {
case GAS_SECTION_TEXT: name = "section __TEXT,__textcoal_nt,coalesced,pure_instructions"; break;
@@
-111,6
+109,8
@@
static void emit_section_macho(be_gas_section_t section)
} else {
panic("unsupported section type 0x%X", section);
}
} else {
panic("unsupported section type 0x%X", section);
}
+ be_emit_irprintf("\t.%s\n", name);
+ be_emit_write_line();
}
static void emit_section_sparc(be_gas_section_t section, const ir_entity *entity)
}
static void emit_section_sparc(be_gas_section_t section, const ir_entity *entity)
@@
-591,6
+591,9
@@
void be_gas_emit_function_epilog(const ir_entity *entity)
be_emit_char('\n');
be_emit_write_line();
be_emit_char('\n');
be_emit_write_line();
+
+ next_block_nr += 199;
+ next_block_nr -= next_block_nr % 100;
}
/**
}
/**
@@
-1358,14
+1361,10
@@
void be_gas_begin_block(const ir_node *block, bool needs_label)
}
if (be_options.verbose_asm) {
}
if (be_options.verbose_asm) {
- int arity;
- ir_graph *irg = get_irn_irg(block);
- ir_exec_freq *exec_freq = be_get_irg_exec_freq(irg);
-
be_emit_pad_comment();
be_emit_irprintf("/* %+F preds:", block);
be_emit_pad_comment();
be_emit_irprintf("/* %+F preds:", block);
- arity = get_irn_arity(block);
+
int
arity = get_irn_arity(block);
if (arity == 0) {
be_emit_cstring(" none");
} else {
if (arity == 0) {
be_emit_cstring(" none");
} else {
@@
-1376,11
+1375,7
@@
void be_gas_begin_block(const ir_node *block, bool needs_label)
be_gas_emit_block_name(predblock);
}
}
be_gas_emit_block_name(predblock);
}
}
- if (exec_freq != NULL) {
- be_emit_irprintf(", freq: %.3f",
- get_block_execfreq(exec_freq, block));
- }
- be_emit_cstring(" */");
+ be_emit_irprintf(", freq: %.3f */", get_block_execfreq(block));
}
be_emit_char('\n');
be_emit_write_line();
}
be_emit_char('\n');
be_emit_write_line();