Matthias Braun [Tue, 4 Dec 2012 02:12:20 +0000 (03:12 +0100)]
tv: remove support for carry state flag
Matthias Braun [Tue, 4 Dec 2012 10:06:22 +0000 (11:06 +0100)]
cleanup vrp
Matthias Braun [Tue, 4 Dec 2012 02:06:11 +0000 (03:06 +0100)]
remove Cast node
Matthias Braun [Tue, 4 Dec 2012 01:55:01 +0000 (02:55 +0100)]
remove class cast optimization
Matthias Braun [Tue, 4 Dec 2012 01:42:10 +0000 (02:42 +0100)]
remove Bound node
Matthias Braun [Tue, 4 Dec 2012 01:39:46 +0000 (02:39 +0100)]
remove Carry+Borrow node
Matthias Braun [Tue, 4 Dec 2012 01:35:52 +0000 (02:35 +0100)]
tv: remove unused float_to_int_mode
Matthias Braun [Tue, 4 Dec 2012 01:28:58 +0000 (02:28 +0100)]
tv: remove unused reserved_id
Matthias Braun [Tue, 4 Dec 2012 01:27:53 +0000 (02:27 +0100)]
cleanup reserved tarval stuff
Matthias Braun [Tue, 4 Dec 2012 01:20:47 +0000 (02:20 +0100)]
remove support to disable floatingpoint constant folding
Matthias Braun [Tue, 4 Dec 2012 01:18:17 +0000 (02:18 +0100)]
tv: remove support for SWITCH_NOINFINITY and SWITCH_NODENORMALS
Matthias Braun [Tue, 4 Dec 2012 01:13:52 +0000 (02:13 +0100)]
we always compile with C99 support now
Matthias Braun [Tue, 4 Dec 2012 01:12:00 +0000 (02:12 +0100)]
remove (last) mentioning of STA backend
Matthias Braun [Tue, 4 Dec 2012 01:10:55 +0000 (02:10 +0100)]
remove #if 1
Matthias Braun [Tue, 4 Dec 2012 01:06:54 +0000 (02:06 +0100)]
further cleanup in loop code
Matthias Braun [Tue, 4 Dec 2012 01:02:50 +0000 (02:02 +0100)]
remove commented out code
Matthias Braun [Tue, 4 Dec 2012 01:01:25 +0000 (02:01 +0100)]
reenable femms
Matthias Braun [Tue, 4 Dec 2012 00:42:55 +0000 (01:42 +0100)]
remove unused support for max_loop_depth
Matthias Braun [Tue, 4 Dec 2012 00:40:34 +0000 (01:40 +0100)]
remove more unused loop stuff
Matthias Braun [Tue, 4 Dec 2012 00:36:44 +0000 (01:36 +0100)]
always enable NO_CFLOOP_WITHOUT_HEAD
Matthias Braun [Tue, 4 Dec 2012 00:32:32 +0000 (01:32 +0100)]
remove unnecessary declaration
Matthias Braun [Tue, 4 Dec 2012 00:28:44 +0000 (01:28 +0100)]
remove more unused loop fields
Matthias Braun [Tue, 4 Dec 2012 00:26:35 +0000 (01:26 +0100)]
remove nearly unused loop_flags
Matthias Braun [Tue, 4 Dec 2012 10:12:26 +0000 (11:12 +0100)]
small docu cleanups
Matthias Braun [Mon, 3 Dec 2012 23:58:19 +0000 (00:58 +0100)]
upgrade Doxyfile to latest doxygen version
Christoph Mallon [Tue, 4 Dec 2012 14:02:35 +0000 (15:02 +0100)]
irdump: Remove the parameter bad from get_mode_name_ex().
All callers pass in a null pointer.
Christoph Mallon [Tue, 4 Dec 2012 12:37:29 +0000 (13:37 +0100)]
tv: Remove mul_table[][][] and simply use * and <<.
Christoph Mallon [Tue, 4 Dec 2012 12:24:29 +0000 (13:24 +0100)]
tv: Remove add_table[][][] and simply use +.
Christoph Mallon [Mon, 3 Dec 2012 18:51:01 +0000 (19:51 +0100)]
scripts: Generate accessor functions for nodes with a variable/dynamic number of inputs.
Christoph Mallon [Mon, 3 Dec 2012 17:25:13 +0000 (18:25 +0100)]
scripts: Fix some whitespace nits.
Christoph Mallon [Mon, 3 Dec 2012 15:46:28 +0000 (16:46 +0100)]
belive: Remove the visited bitset for liveness calculation.
Simply check, whether any liveness bits were set before.
Christoph Mallon [Mon, 3 Dec 2012 15:33:38 +0000 (16:33 +0100)]
belive: Directly pass the flags to set to live_end_at_block() instead of passing a bool.
Christoph Mallon [Mon, 3 Dec 2012 15:28:31 +0000 (16:28 +0100)]
belive: Avoid duplicate map lookups when calculating the liveness of a node in a block.
Tobias Rapp [Mon, 3 Dec 2012 11:51:44 +0000 (12:51 +0100)]
Refactoring: Deleted unused inlining functionality.
Christoph Mallon [Mon, 3 Dec 2012 12:54:00 +0000 (13:54 +0100)]
ir: Remove unnecessary mode_b checks of Cond selectors.
All Conds are boolean.
Christoph Mallon [Mon, 3 Dec 2012 11:48:08 +0000 (12:48 +0100)]
cleanup: Remove pointless assert(is_${NODE}(x)) just before get_${NODE}_${FOO}(x), which do the same assert.
Sebastian Buchwald [Mon, 3 Dec 2012 07:29:42 +0000 (08:29 +0100)]
Fixed some typos.
Matthias Braun [Mon, 3 Dec 2012 00:19:21 +0000 (01:19 +0100)]
the 1/c -> 1*c optimisation is fine for x86 floats too
Matthias Braun [Mon, 3 Dec 2012 00:18:25 +0000 (01:18 +0100)]
mark stores in int->float, float->int and float->float convs as spills
That way the spill engine can rematerialize the loads and needs no
extra spills for these values.
Christoph Mallon [Sun, 2 Dec 2012 22:21:10 +0000 (23:21 +0100)]
ia32: Merge Store and Store8Bit.
Christoph Mallon [Sun, 2 Dec 2012 22:11:42 +0000 (23:11 +0100)]
ia32: Merge Conv_I2I and Conv_I2I8Bit.
Christoph Mallon [Sun, 2 Dec 2012 21:32:51 +0000 (22:32 +0100)]
ia32: Merge AddMem, AndMem, OrMem, SubMem and XorMem with their 8 bit variants.
Christoph Mallon [Sun, 2 Dec 2012 21:16:07 +0000 (22:16 +0100)]
ia32: Merge Cmp and Cmp8Bit.
Christoph Mallon [Sun, 2 Dec 2012 20:54:24 +0000 (21:54 +0100)]
ia32: Simplify binary emitters for binary operations now that test is handled extra.
Christoph Mallon [Sun, 2 Dec 2012 18:35:19 +0000 (19:35 +0100)]
ia32: Merge Test and Test8Bit.
Christoph Mallon [Sun, 2 Dec 2012 17:57:13 +0000 (18:57 +0100)]
ia32: Use a more logical specification of operand sizes in the binary emitter.
Christoph Mallon [Sun, 2 Dec 2012 13:16:38 +0000 (14:16 +0100)]
bescripts: Copy all common node attributes into the constructor variants.
Christoph Mallon [Sun, 2 Dec 2012 12:56:32 +0000 (13:56 +0100)]
arm: Remove unused arity specification from nodes with constructors.
Matthias Braun [Sun, 2 Dec 2012 15:24:12 +0000 (16:24 +0100)]
generate inline versions of node get/set functions
Matthias Braun [Sun, 2 Dec 2012 13:50:36 +0000 (14:50 +0100)]
remove double definition of is_Proj/is_Phi
Matthias Braun [Thu, 29 Nov 2012 21:45:56 +0000 (22:45 +0100)]
implement load after store for different modes in big endian
Matthias Braun [Thu, 29 Nov 2012 16:34:57 +0000 (17:34 +0100)]
convert lower_mode_b to assure/confirm_irg_properties style
Christoph Mallon [Sun, 2 Dec 2012 11:33:33 +0000 (12:33 +0100)]
reassoc: Remove pointless macro indirection.
Christoph Mallon [Sun, 2 Dec 2012 11:30:16 +0000 (12:30 +0100)]
opt_ldst: Remove the unused macro BYTE_SIZE().
Christoph Mallon [Sun, 2 Dec 2012 11:28:15 +0000 (12:28 +0100)]
cleanup: Remove end-of-if/for/function comments.
Christoph Mallon [Sun, 2 Dec 2012 11:17:40 +0000 (12:17 +0100)]
ldstopt: Remove duplicate comments.
The functions are documented in the header already.
Christoph Mallon [Sun, 2 Dec 2012 11:12:13 +0000 (12:12 +0100)]
sparc: Simplify finish_sparc_Return().
Christoph Mallon [Sun, 2 Dec 2012 11:11:49 +0000 (12:11 +0100)]
ia32: Clean up peephole_ia32_Cmp().
Christoph Mallon [Sun, 2 Dec 2012 11:11:34 +0000 (12:11 +0100)]
besched: Add and use sched_replace().
Christoph Mallon [Sun, 2 Dec 2012 08:36:47 +0000 (09:36 +0100)]
be: Use sched_add_before(a, b) instead of sched_add_after(sched_prev(a), b).
Christoph Mallon [Sun, 2 Dec 2012 08:34:35 +0000 (09:34 +0100)]
ia32: Remove unnecessary tests from transform_to_Load() and transform_to_Store().
The reload/spill is always scheduled, because we found it in the schedule.
Christoph Mallon [Sun, 2 Dec 2012 08:30:59 +0000 (09:30 +0100)]
bessadestr: Use be_get_end_of_block_insertion_point().
Christoph Mallon [Sat, 1 Dec 2012 22:10:25 +0000 (23:10 +0100)]
bescripts: Use strings, instead of arrays, to buffer the generated code.
Christoph Mallon [Sat, 1 Dec 2012 22:08:00 +0000 (23:08 +0100)]
bescripts: Set be_emit_nothing() as emitter, if the emitter string of a node is empty.
Christoph Mallon [Sat, 1 Dec 2012 20:52:42 +0000 (21:52 +0100)]
bescripts: Remove support for emit templates.
Christoph Mallon [Sat, 1 Dec 2012 23:11:20 +0000 (00:11 +0100)]
bescripts: Remove unused execution unit specification.
Christoph Mallon [Sat, 1 Dec 2012 20:44:59 +0000 (21:44 +0100)]
bescripts: Remove unused features and stale uses of gone features.
Christoph Mallon [Sat, 1 Dec 2012 21:18:24 +0000 (22:18 +0100)]
ia32: Remove (empty) emitters from nodes, which should never be emitted.
Christoph Mallon [Sat, 1 Dec 2012 19:48:57 +0000 (20:48 +0100)]
amd64: Simplify amd64_register_saved_by().
Christoph Mallon [Sat, 1 Dec 2012 17:56:39 +0000 (18:56 +0100)]
beabi: Remove the unnecessary struct reg_node_map_t.
The irn is unused.
Christoph Mallon [Sat, 1 Dec 2012 17:41:59 +0000 (18:41 +0100)]
beabi: Remove unnecessary exclusion/inclusion of ignore registers from call/return.
Christoph Mallon [Sat, 1 Dec 2012 16:55:24 +0000 (17:55 +0100)]
ia32: Do not ignore the floating point control word anymore and make it callee-save.
This corrects handling in bestate (non-ignore).
beabi attaches the fpcw to Start/Return due to being callee-save.
This was accidently done before due to being ignored.
Christoph Mallon [Sat, 1 Dec 2012 16:40:38 +0000 (17:40 +0100)]
ia32: Simplify ia32_register_saved_by().
This resolves a latent bug that the x87 noreg register was classified as caller save.
The local index of the given register was compared to the global index of the x87 noreg.
Christoph Mallon [Sat, 1 Dec 2012 15:13:26 +0000 (16:13 +0100)]
template: Correct comment.
Christoph Mallon [Sat, 1 Dec 2012 11:39:48 +0000 (12:39 +0100)]
array: Add and use NEW_ARR_FZ().
Christoph Mallon [Sat, 1 Dec 2012 11:25:24 +0000 (12:25 +0100)]
array: Use DUP_ARR_D().
Christoph Mallon [Sat, 1 Dec 2012 11:25:13 +0000 (12:25 +0100)]
array: Add and use NEW_ARR_DZ().
Christoph Mallon [Sat, 1 Dec 2012 15:29:23 +0000 (16:29 +0100)]
gvnpre: Put the obstack into struct pre_env instead of delegating it.
Christoph Mallon [Sat, 1 Dec 2012 12:10:34 +0000 (13:10 +0100)]
beblocksched: Put the obstack into blocksched_env_t instead of delegating it.
Christoph Mallon [Sat, 1 Dec 2012 18:55:40 +0000 (19:55 +0100)]
irgraph: Factorise common code of the callers of alloc_graph() into it.
Christoph Mallon [Sat, 1 Dec 2012 18:32:58 +0000 (19:32 +0100)]
irgraph: Remove the unused facility to register space /in front of/ a graph.
Christoph Mallon [Sat, 1 Dec 2012 12:36:05 +0000 (13:36 +0100)]
irgraph: Put the obstack into ir_graph instead of delegating it.
Christoph Mallon [Sat, 1 Dec 2012 11:03:26 +0000 (12:03 +0100)]
irgraph: Assert in get_irg_obstack(), that no object is currently growing.
Christoph Mallon [Sat, 1 Dec 2012 11:01:37 +0000 (12:01 +0100)]
irgraph: Use get_irg_obstack() instead of accessing irg->obst directly.
Christoph Mallon [Sat, 1 Dec 2012 12:29:07 +0000 (13:29 +0100)]
cleanup: Fix typos in comments.
Christoph Mallon [Sat, 1 Dec 2012 09:59:04 +0000 (10:59 +0100)]
bearch: When dumping backend info, do not print an error, when a node has no in_reqs, if its arity is 0.
Christoph Mallon [Fri, 30 Nov 2012 22:05:27 +0000 (23:05 +0100)]
beprefalloc: Fix a c&p-o in the change to use arch_register_req_is().
This fixes
fa66e6b80ee0a2e0c20cd1663c84b06e3178d217.
Christoph Mallon [Fri, 30 Nov 2012 17:13:40 +0000 (18:13 +0100)]
ia32: Fix some mostly harmless warnings.
Christoph Mallon [Fri, 30 Nov 2012 10:37:02 +0000 (11:37 +0100)]
ia32: When emitting an asm memory operand, ignore the size of the referenced value and asm operand size modifier.
The register, which is emitted, contains the address of the value, so it always is the size of a pointer, not whatever the register points to.
Christoph Mallon [Fri, 30 Nov 2012 10:25:22 +0000 (11:25 +0100)]
ia32: Remove the ia32_x87_attr_t from ia32_asm_attr_t.
It does not provide sufficient information to handle float in asm.
Christoph Mallon [Fri, 30 Nov 2012 10:23:55 +0000 (11:23 +0100)]
ia32: Factorise setting do_x87_sim into a helper function.
Christoph Mallon [Fri, 30 Nov 2012 10:22:57 +0000 (11:22 +0100)]
beinfo: Reduce code duplication.
Christoph Mallon [Fri, 30 Nov 2012 08:53:05 +0000 (09:53 +0100)]
bespillutil: Remove unnecessary case.
The reloader never is a block.
Christoph Mallon [Fri, 30 Nov 2012 08:31:15 +0000 (09:31 +0100)]
bespillutil: Inline be_add_reload2() into its only caller be_add_reload(), which in turn only calls the former.
Christoph Mallon [Fri, 30 Nov 2012 08:28:48 +0000 (09:28 +0100)]
bespillutil: Remove the write-only attribute can_spill_after from struct reloader_t.
Christoph Mallon [Fri, 30 Nov 2012 08:39:01 +0000 (09:39 +0100)]
bespillbelady: Remove the global variable instr.
Christoph Mallon [Fri, 30 Nov 2012 08:07:07 +0000 (09:07 +0100)]
bearch: Remove unused macros.
Christoph Mallon [Thu, 29 Nov 2012 23:13:02 +0000 (00:13 +0100)]
be: inline arch_env_begin_codegeneration() into its only caller.
Christoph Mallon [Fri, 30 Nov 2012 07:42:56 +0000 (08:42 +0100)]
bemain: Centrally call be_gas_end_compilation_unit() and be_emit_exit() instead of doing it per backend.
Also remove the now write-only attribute main_env from struct arch_env_t.
Christoph Mallon [Thu, 29 Nov 2012 23:02:33 +0000 (00:02 +0100)]
bemain: Centrally call be_emit_init() and be_gas_begin_compilation_unit() instead of doing it per backend.