Matthias Braun [Tue, 14 Oct 2008 08:12:40 +0000 (08:12 +0000)]
Phasenkopplung Spiller/Copymin
[r22869]
Matthias Braun [Tue, 14 Oct 2008 07:32:19 +0000 (07:32 +0000)]
be consequent: don't warn about config files, simply don't read them by default
[r22868]
Matthias Braun [Tue, 14 Oct 2008 07:31:42 +0000 (07:31 +0000)]
no HAVE_CONFIG_H needed anymore
[r22867]
Michael Beck [Tue, 14 Oct 2008 01:59:40 +0000 (01:59 +0000)]
- switch -b help to "command line format", not .firmrc format ;-)
[r22866]
Michael Beck [Tue, 14 Oct 2008 01:40:12 +0000 (01:40 +0000)]
- let the compiler optimize the transformer selection IF there is nothing to select
[r22865]
Michael Beck [Tue, 14 Oct 2008 01:30:35 +0000 (01:30 +0000)]
- call be_init_modules() last, so the option order is preserved
[r22864]
Michael Beck [Tue, 14 Oct 2008 01:27:33 +0000 (01:27 +0000)]
- add options to the list tail, so they are shown in the same order they are declared
[r22862]
Michael Beck [Tue, 14 Oct 2008 01:15:09 +0000 (01:15 +0000)]
- removed useless prototype
- renamed option from "null" to "none", like all other options
[r22861]
Michael Beck [Tue, 14 Oct 2008 01:08:32 +0000 (01:08 +0000)]
- warn if a config file could not be opened
[r22860]
Michael Beck [Tue, 14 Oct 2008 01:05:01 +0000 (01:05 +0000)]
Yep, I think this is a dangerous feature, so warn about it.
Use -b config=~/.firmrc if you want to suppress this warning.
[r22859]
Michael Beck [Tue, 14 Oct 2008 00:55:07 +0000 (00:55 +0000)]
- removed useless cast
[r22858]
Michael Beck [Tue, 14 Oct 2008 00:50:55 +0000 (00:50 +0000)]
- remove expensive is_liveness_node() calls from liveness_for_node() and
put them into caller (when not already checked)
- liveness_for_node() is not called anymore from walker, fixed signature
- using post-walker leads to "mostly" sorted node array
- some small clearance
[r22857]
Michael Beck [Tue, 14 Oct 2008 00:06:39 +0000 (00:06 +0000)]
- if optimize for size, use leave and do not align labels
[r22856]
Michael Beck [Mon, 13 Oct 2008 23:08:13 +0000 (23:08 +0000)]
- Fixed doxygen comment
[r22855]
Michael Beck [Mon, 13 Oct 2008 23:06:46 +0000 (23:06 +0000)]
- add doxygen comments
[r22854]
Michael Beck [Mon, 13 Oct 2008 22:41:22 +0000 (22:41 +0000)]
- increase string length for x86 architectural options
[r22852]
Michael Beck [Mon, 13 Oct 2008 22:38:32 +0000 (22:38 +0000)]
- BugFix: DECL_DUMP() and DECL_DUMP_VALS() uses strncat() wrong, causing buffer overrun
[r22850]
Michael Beck [Mon, 13 Oct 2008 20:25:19 +0000 (20:25 +0000)]
- fix gen_Store(). Always generate integer stores for floating point constant stores.
[r22849]
Christoph Mallon [Mon, 13 Oct 2008 20:14:32 +0000 (20:14 +0000)]
Extend 8bit test optimisation to any byte when using address mode.
[r22848]
Sebastian Buchwald [Mon, 13 Oct 2008 16:29:15 +0000 (16:29 +0000)]
Always include config.h.
[r22843]
Christoph Mallon [Mon, 13 Oct 2008 11:30:45 +0000 (11:30 +0000)]
ia32 peephole: Change a Test(x, c) to 8Bit, if 0 <= c < 256 (3 byte shorter opcode).
[r22837]
Christoph Mallon [Mon, 13 Oct 2008 10:40:10 +0000 (10:40 +0000)]
Remove an unnecessary global variable, use the walker environment.
[r22836]
Christoph Mallon [Mon, 13 Oct 2008 09:18:05 +0000 (09:18 +0000)]
Use ia32_mark_non_am().
[r22834]
Christoph Mallon [Mon, 13 Oct 2008 09:16:26 +0000 (09:16 +0000)]
Use ia32_is_non_address_mode_node().
[r22833]
Christoph Mallon [Mon, 13 Oct 2008 08:58:16 +0000 (08:58 +0000)]
Improve AM folding heuristic for dest AM when it is the only user of an address calculation. Because dest AM results in two address calculation users, the address calculation was not folded.
[r22832]
Christoph Mallon [Mon, 13 Oct 2008 08:35:41 +0000 (08:35 +0000)]
Complement r22830.
[r22831]
Christoph Mallon [Mon, 13 Oct 2008 08:30:35 +0000 (08:30 +0000)]
Turn the parameter force of ia32_create_address_mode() into a bitflag.
[r22830]
Christoph Mallon [Mon, 13 Oct 2008 08:28:22 +0000 (08:28 +0000)]
Whitespace.
[r22829]
Christoph Mallon [Mon, 13 Oct 2008 08:01:30 +0000 (08:01 +0000)]
Fix bug in r22822.
[r22828]
Christoph Mallon [Mon, 13 Oct 2008 07:29:21 +0000 (07:29 +0000)]
- Move memset() in a less often executed code path.
- Remove duplicate flag.
[r22827]
Christoph Mallon [Mon, 13 Oct 2008 07:26:39 +0000 (07:26 +0000)]
Use prevents_AM() in use_dest_am().
[r22826]
Christoph Mallon [Mon, 13 Oct 2008 06:30:49 +0000 (06:30 +0000)]
Remove an unnecessary global variable, use the walker environment.
[r22825]
Christoph Mallon [Sun, 12 Oct 2008 21:50:07 +0000 (21:50 +0000)]
When optimising IncSP-IncSP ignore the anchor as user of the upper IncSP.
[r22824]
Christoph Mallon [Sun, 12 Oct 2008 20:44:19 +0000 (20:44 +0000)]
Remove is_ia32_Ld() and is_ia32_St().
[r22823]
Christoph Mallon [Sun, 12 Oct 2008 20:42:49 +0000 (20:42 +0000)]
Switchify ia32_collect_frame_entity_nodes().
[r22822]
Christoph Mallon [Sun, 12 Oct 2008 20:03:32 +0000 (20:03 +0000)]
Nobody is interested in what a arch_irn_class_load or arch_irn_class_store is, so remove them.
[r22821]
Michael Beck [Sun, 12 Oct 2008 16:44:05 +0000 (16:44 +0000)]
- let option "hmuchnik" select the heuristic muchnik scheduler, not the trivial one
[r22820]
Michael Beck [Sun, 12 Oct 2008 16:39:10 +0000 (16:39 +0000)]
- add comment describing which scheduler function can be NULL
[r22819]
Christoph Mallon [Sun, 12 Oct 2008 16:31:02 +0000 (16:31 +0000)]
When lowering a perm do not record fulfilled contraints in the first place, instead of sorting them out later on.
[r22818]
Michael Beck [Sun, 12 Oct 2008 14:53:29 +0000 (14:53 +0000)]
- fixed typos
[r22817]
Michael Beck [Sun, 12 Oct 2008 14:46:44 +0000 (14:46 +0000)]
- removed useless include
[r22816]
Christoph Mallon [Sun, 12 Oct 2008 14:42:50 +0000 (14:42 +0000)]
Change get_n_checked_pairs() to get_n_unchecked_pairs().
[r22815]
Michael Beck [Sun, 12 Oct 2008 14:40:43 +0000 (14:40 +0000)]
More cleanup:
- move debug output registration out of walker called function
- add missing param description
- fixed parameter types
[r22814]
Christoph Mallon [Sun, 12 Oct 2008 14:27:05 +0000 (14:27 +0000)]
Do not qsort() the entries of a Perm in lower_perm_node(), it is pointless.
[r22813]
Michael Beck [Sun, 12 Oct 2008 14:26:26 +0000 (14:26 +0000)]
- simplified gen_assure_different_pattern()
[r22812]
Michael Beck [Sun, 12 Oct 2008 14:19:03 +0000 (14:19 +0000)]
- no need for belower_skip_proj()
- removed useless return of get_perm_cycle()
[r22811]
Christoph Mallon [Sun, 12 Oct 2008 14:13:40 +0000 (14:13 +0000)]
Clean up get_perm_cycle() and lower_perm_node() a bit.
[r22810]
Michael Beck [Sun, 12 Oct 2008 13:54:46 +0000 (13:54 +0000)]
- kicked useless cast
[r22809]
Michael Beck [Sun, 12 Oct 2008 13:53:55 +0000 (13:53 +0000)]
- split get_pairidx_for_regidx(), always called with constant parameter
[r22808]
Michael Beck [Sun, 12 Oct 2008 13:45:57 +0000 (13:45 +0000)]
- remove debug module handles from environments
[r22807]
Michael Beck [Sun, 12 Oct 2008 13:36:23 +0000 (13:36 +0000)]
- do not use block-wise topologic walker if NOT needed
[r22806]
Michael Beck [Sun, 12 Oct 2008 13:30:08 +0000 (13:30 +0000)]
- fixed r22803
[r22805]
Christoph Mallon [Sun, 12 Oct 2008 13:00:55 +0000 (13:00 +0000)]
Remove write-only variable.
[r22804]
Christoph Mallon [Sun, 12 Oct 2008 12:59:26 +0000 (12:59 +0000)]
Simplify condition in lower_nodes_after_ra_walker().
[r22803]
Christoph Mallon [Sun, 12 Oct 2008 12:57:26 +0000 (12:57 +0000)]
Remove unused variable.
[r22802]
Michael Beck [Sun, 12 Oct 2008 12:53:58 +0000 (12:53 +0000)]
- BugFix: check mode_T nodes for different_constraints
- split get_node_for_register() always called with constants
- simplified find_copy by removing impossible condition checks
- simplified assure_constraint_walker: no need to do a topo-walk, walk the schedule
[r22801]
Christoph Mallon [Sun, 12 Oct 2008 12:49:50 +0000 (12:49 +0000)]
Remove logical impossibility: A node cannot be a Perm and a Proj at the same time. Even then the code makes no sense, because setting the proj no of a Proj and exchanging it right after that is pretty pointless.
[r22800]
Christoph Mallon [Sun, 12 Oct 2008 12:01:05 +0000 (12:01 +0000)]
Do not generate IncMem/DecMem, when the target cpu does not like it.
[r22799]
Christoph Mallon [Sun, 12 Oct 2008 11:12:01 +0000 (11:12 +0000)]
Remove the unused arch irn classes arch_irn_class_call and arch_irn_class_stackparam.
[r22798]
Christoph Mallon [Sun, 12 Oct 2008 11:08:15 +0000 (11:08 +0000)]
Remove unreachable code.
[r22797]
Christoph Mallon [Sun, 12 Oct 2008 11:04:17 +0000 (11:04 +0000)]
Nobody cares what a "normal" node is, so do not try to identify one.
[r22796]
Christoph Mallon [Sun, 12 Oct 2008 10:36:15 +0000 (10:36 +0000)]
Only regard be_Perm as Perm in the copyopt. There are no customs Perms and I doubt anything could handle them.
[r22795]
Christoph Mallon [Sun, 12 Oct 2008 10:23:49 +0000 (10:23 +0000)]
Remove unused macros.
[r22794]
Christoph Mallon [Sun, 12 Oct 2008 09:52:00 +0000 (09:52 +0000)]
Remove the unused function get_ia32_out_reg_name().
[r22793]
Christoph Mallon [Sun, 12 Oct 2008 09:50:52 +0000 (09:50 +0000)]
Remove the unused function get_ia32_out_regnr().
[r22792]
Christoph Mallon [Sun, 12 Oct 2008 09:49:48 +0000 (09:49 +0000)]
Remove the unused function get_ia32_result_proj().
[r22791]
Christoph Mallon [Sun, 12 Oct 2008 09:11:04 +0000 (09:11 +0000)]
Remove unnecessary global variable.
[r22790]
Christoph Mallon [Sun, 12 Oct 2008 09:09:27 +0000 (09:09 +0000)]
const.
[r22789]
Michael Beck [Sun, 12 Oct 2008 05:44:51 +0000 (05:44 +0000)]
- undo r22777 due to const problems (different understanding of const between MSVC/gcc)
[r22788]
Michael Beck [Sun, 12 Oct 2008 04:00:35 +0000 (04:00 +0000)]
- use ir_nodemap_t instead of pset: This probably
remove some indeterminism
[r22787]
Michael Beck [Sun, 12 Oct 2008 03:23:00 +0000 (03:23 +0000)]
- fixed warning
[r22786]
Michael Beck [Sun, 12 Oct 2008 03:08:31 +0000 (03:08 +0000)]
- fixed iterator handling
[r22785]
Michael Beck [Sun, 12 Oct 2008 02:05:17 +0000 (02:05 +0000)]
- typo fixed
[r22784]
Michael Beck [Sun, 12 Oct 2008 01:50:58 +0000 (01:50 +0000)]
- removed shadowed local variable
- placed cheap exit test first
[r22783]
Michael Beck [Sun, 12 Oct 2008 01:42:36 +0000 (01:42 +0000)]
- simplified foreach handling
[r22782]
Michael Beck [Sun, 12 Oct 2008 01:29:25 +0000 (01:29 +0000)]
- typos fixed
[r22781]
Michael Beck [Sun, 12 Oct 2008 01:20:08 +0000 (01:20 +0000)]
- simplified
- add some doxygen comments
[r22780]
Michael Beck [Sun, 12 Oct 2008 00:53:40 +0000 (00:53 +0000)]
- cleaned up
[r22779]
Michael Beck [Sun, 12 Oct 2008 00:36:31 +0000 (00:36 +0000)]
- removed unused (and outdated) be_collect_phis()
- add some doxygen docu
[r22778]
Michael Beck [Sun, 12 Oct 2008 00:28:29 +0000 (00:28 +0000)]
- constify
- add some doxygen comments
[r22777]
Michael Beck [Sun, 12 Oct 2008 00:27:51 +0000 (00:27 +0000)]
- typo fixed
[r22776]
Michael Beck [Sat, 11 Oct 2008 23:37:06 +0000 (23:37 +0000)]
- typos fixed
- move stat_ev declarations AFTER all others, else it will end in non C89 if stat_ev is diabled
[r22775]
Christoph Mallon [Sat, 11 Oct 2008 22:50:04 +0000 (22:50 +0000)]
Update the MIPS scheduler by removing stale arch_env uses.
[r22774]
Christoph Mallon [Sat, 11 Oct 2008 22:42:29 +0000 (22:42 +0000)]
Remove the unused attribute const arch_env_t *aenv from struct mris_env_t.
[r22773]
Christoph Mallon [Sat, 11 Oct 2008 22:39:52 +0000 (22:39 +0000)]
Remove the unused attributes const arch_env_t *arch_env and const ir_graph *irg from struct sched_env_t.
[r22772]
Christoph Mallon [Sat, 11 Oct 2008 22:03:48 +0000 (22:03 +0000)]
ia32_transform_sub_to_neg_add() now can handle mode_T.
[r22771]
Christoph Mallon [Sat, 11 Oct 2008 21:35:52 +0000 (21:35 +0000)]
Remove the attribute const arch_env_t *arch_env from struct ia32_code_gen_t. We can get the isa by simpler means.
[r22770]
Christoph Mallon [Sat, 11 Oct 2008 21:33:07 +0000 (21:33 +0000)]
Remove the attribute const arch_env_t *arch_env from struct arm_code_gen_t. We can get the isa by simpler means.
[r22769]
Christoph Mallon [Sat, 11 Oct 2008 21:27:50 +0000 (21:27 +0000)]
Remove the unused function arch_is_register_operand().
[r22768]
Michael Beck [Sat, 11 Oct 2008 21:20:34 +0000 (21:20 +0000)]
- revert r22765
[r22767]
Christoph Mallon [Sat, 11 Oct 2008 21:19:02 +0000 (21:19 +0000)]
Remove the unused parameter const copy_opt_t *co from co_is_optimizable_root() and make the function static.
[r22766]
Michael Beck [Sat, 11 Oct 2008 21:18:30 +0000 (21:18 +0000)]
- removed stdint.h include for VC compile (may still fail for VC6 because of long double)
[r22765]
Christoph Mallon [Sat, 11 Oct 2008 21:14:22 +0000 (21:14 +0000)]
Remove the unused enum arch_operand_type_t.
[r22764]
Christoph Mallon [Sat, 11 Oct 2008 21:12:26 +0000 (21:12 +0000)]
Remove the unused enum entry arch_operand_type_last.
[r22763]
Christoph Mallon [Sat, 11 Oct 2008 21:11:21 +0000 (21:11 +0000)]
Remove the unused enum entry arch_irn_flags_last.
[r22762]
Christoph Mallon [Sat, 11 Oct 2008 21:09:42 +0000 (21:09 +0000)]
Remove the unused function arch_irn_flag_str().
[r22761]
Christoph Mallon [Sat, 11 Oct 2008 21:07:18 +0000 (21:07 +0000)]
Remove the unused global variable be_options_t *main_opts.
[r22760]
Christoph Mallon [Sat, 11 Oct 2008 21:01:22 +0000 (21:01 +0000)]
Add comment about how to improve x87 simulator.
[r22759]
Christoph Mallon [Sat, 11 Oct 2008 20:58:42 +0000 (20:58 +0000)]
Remove the unused attribute const arch_env_t *arch_env from struct phi_handler and also the then unused parameter be_main_env_t *env from be_phi_handler_new().
[r22758]
Christoph Mallon [Sat, 11 Oct 2008 20:55:53 +0000 (20:55 +0000)]
Remove the unused attribute const arch_env_t *arch_env from struct estimate_irg_costs_env_t and also the then unused parameter const arch_env_t *arch_env from be_estimate_irg_costs().
[r22757]