Matthias Braun [Tue, 29 Jul 2008 10:25:46 +0000 (10:25 +0000)]
make testcase return 0 in main
[r20752]
Matthias Braun [Tue, 29 Jul 2008 09:30:49 +0000 (09:30 +0000)]
fix/improve proj generation
[r20751]
Matthias Braun [Tue, 29 Jul 2008 09:10:20 +0000 (09:10 +0000)]
cleanups/fixes for ASM handling
[r20749]
Michael Beck [Mon, 28 Jul 2008 14:37:49 +0000 (14:37 +0000)]
- BugFix: Proj nodes must compute TOP if they are in a unreachable Block
[r20739]
Matthias Braun [Mon, 28 Jul 2008 12:41:20 +0000 (12:41 +0000)]
add an asm test with an inout parameter
[r20734]
Michael Beck [Mon, 28 Jul 2008 11:48:39 +0000 (11:48 +0000)]
- improved doxygen comments about edges_activate() and the dep API
[r20732]
Michael Beck [Mon, 28 Jul 2008 11:43:21 +0000 (11:43 +0000)]
- add an assert tat checks for backend phase when added dep edges
- edges_activate()/edges_deactivate() handles DEP edges only in BACKEND phase
[r20731]
Andreas Zwinkau [Mon, 28 Jul 2008 11:01:55 +0000 (11:01 +0000)]
Adding some test cases used for building the PBQP code selection
[r20729]
Sebastian Buchwald [Mon, 28 Jul 2008 10:45:41 +0000 (10:45 +0000)]
added support for ASM nodes
[r20728]
Matthias Braun [Mon, 28 Jul 2008 09:15:52 +0000 (09:15 +0000)]
forgot to adjust mips backend for asm stuff
[r20727]
Matthias Braun [Mon, 28 Jul 2008 09:13:52 +0000 (09:13 +0000)]
public API for asm constraints
[r20726]
Matthias Braun [Mon, 28 Jul 2008 09:13:28 +0000 (09:13 +0000)]
- handle parsing of assembler constraints in backends. Provide functions for
frontend to determine what is input/output/memory operand
- prefix some globally visible ia32 functions with ia32_
[r20725]
Matthias Braun [Mon, 28 Jul 2008 09:10:36 +0000 (09:10 +0000)]
accept directories or single tests as parameter
[r20724]
Matthias Braun [Mon, 28 Jul 2008 09:10:16 +0000 (09:10 +0000)]
fix for latest makereport
[r20723]
Michael Beck [Sat, 26 Jul 2008 22:52:36 +0000 (22:52 +0000)]
BugFix:
- due to the way we implement compute_Phi)(, we must place all Phi's
of a block on the cprop list if the block is placed
- implemented local cprop list as double-linked list: this ensures the
fifo character of this list (is it really needed? It might generate
lesser rounds)
[r20714]
Michael Beck [Sat, 26 Jul 2008 21:47:51 +0000 (21:47 +0000)]
- BugFix: must check the input of the user node y, not def node x
- Opcode splits Sel nodes by its entity
- do not replace Bad nodes
[r20713]
Michael Beck [Sat, 26 Jul 2008 20:08:58 +0000 (20:08 +0000)]
fixed warnings
[r20711]
Michael Beck [Sat, 26 Jul 2008 11:19:13 +0000 (11:19 +0000)]
- BugFix: a node might fall 2 times, so we need a on_fallen flag
- BugFix: the "Opcode" of a Proj node must contains its projection number, else Projs with different numbers might be congruent ...
[r20709]
Michael Beck [Sat, 26 Jul 2008 11:16:28 +0000 (11:16 +0000)]
- BugFix: Dep-Edges where calculated WRONG if the node on which another depends is dead ...
- removed useless if
[r20708]
Michael Beck [Sat, 26 Jul 2008 11:14:04 +0000 (11:14 +0000)]
typo fixed
[r20707]
Michael Beck [Sat, 26 Jul 2008 11:12:54 +0000 (11:12 +0000)]
include MS debug heap by default, so debug macros can be called from everywhere
[r20706]
Michael Beck [Sat, 26 Jul 2008 08:16:55 +0000 (08:16 +0000)]
BugFixes:
- nodes must be initialized with Top not Bottom
- right order for mode_X and mode_BB nodes
- default_compute() assigns now U, R to mode_X nodes
- cannot handle symconst_addr_name yet
- compute_Phi() must check the predecessor block for U, because Firm constants live in the start block and are always != Top ...
- removed the late on_* removement: its assumptions were wrong
- set the node for newly created IR-nodes
Improvements:
- ensure reachable End and EndBlock in apply_result()
- can now replace ProjX(Cond) nodes by Jmp or Bad
Finally runs on Clicks example 3.1 :-)
[r20705]
Michael Beck [Sat, 26 Jul 2008 08:06:04 +0000 (08:06 +0000)]
- BugFix: although tarval_b_false and tarval_b_true are reserved tarvals, they are valid constants
[r20704]
Michael Beck [Sat, 26 Jul 2008 05:36:46 +0000 (05:36 +0000)]
- first working combo version (at least one example :-), no identities yet
[r20703]
Michael Beck [Sat, 26 Jul 2008 05:35:52 +0000 (05:35 +0000)]
- add tarval_is_constant() to check whether a tarval represents a constant or an reserved value
- add explicit mode_X tarval_unreachable and tarval_reachable tarvals needed for combo
- fixed a doxygen comment
[r20702]
Sebastian Buchwald [Fri, 25 Jul 2008 14:49:08 +0000 (14:49 +0000)]
handle Unknown nodes
[r20695]
Michael Beck [Fri, 25 Jul 2008 13:51:29 +0000 (13:51 +0000)]
add sorting of out edges, some small fixes
[r20693]
Michael Beck [Fri, 25 Jul 2008 13:08:19 +0000 (13:08 +0000)]
- out edges now preserve the input position, needed for combo.c()
[r20692]
Andreas Zwinkau [Fri, 25 Jul 2008 09:22:55 +0000 (09:22 +0000)]
Moved assertion into if clause
It is not necessary to assert anything about lsmode, if
it isn't used anyways.
[r20683]
Michael Beck [Fri, 25 Jul 2008 00:07:59 +0000 (00:07 +0000)]
- fixed type_or_ent type: get rod of casts
[r20678]
Michael Beck [Thu, 24 Jul 2008 14:22:25 +0000 (14:22 +0000)]
- implemented compute_Proj_Cond(), compute_Add()
- fixed initial state
- simplyfied def_compute()
[r20671]
Michael Beck [Thu, 24 Jul 2008 12:41:11 +0000 (12:41 +0000)]
- add prototype for combo()
- fixed gvn-pre comment (not buggy anymore)
[r20665]
Michael Beck [Thu, 24 Jul 2008 12:27:11 +0000 (12:27 +0000)]
- is_tarval() added
[r20664]
Matthias Braun [Thu, 24 Jul 2008 10:52:34 +0000 (10:52 +0000)]
fix some phis not getting spilled correctly
[r20656]
Christoph Mallon [Thu, 24 Jul 2008 10:28:22 +0000 (10:28 +0000)]
Break trigraph.
[r20653]
Matthias Braun [Thu, 24 Jul 2008 10:21:28 +0000 (10:21 +0000)]
revert accidental commit
[r20650]
Matthias Braun [Thu, 24 Jul 2008 10:21:07 +0000 (10:21 +0000)]
experimental improvements for cases where all preds are known
[r20649]
Matthias Braun [Thu, 24 Jul 2008 07:39:05 +0000 (07:39 +0000)]
remove old files
[r20648]
Matthias Braun [Thu, 24 Jul 2008 07:24:54 +0000 (07:24 +0000)]
bump version for next release
[r20647]
Michael Beck [Thu, 24 Jul 2008 07:01:23 +0000 (07:01 +0000)]
- add comment
[r20645]
Michael Beck [Thu, 24 Jul 2008 07:00:50 +0000 (07:00 +0000)]
- renamed find_const() to find_const_or_confirm()
- some cosmetic: fix type, removed C++ comments
[r20644]
Michael Beck [Thu, 24 Jul 2008 06:50:49 +0000 (06:50 +0000)]
- use is_Confirm() instead of old style compare
[r20643]
Michael Beck [Thu, 24 Jul 2008 06:49:20 +0000 (06:49 +0000)]
- CondEval now really can handle Confirms
[r20642]
Michael Beck [Thu, 24 Jul 2008 06:06:28 +0000 (06:06 +0000)]
- BugFix: the effective use block is the predecessor block of the Phi's block, not the block of the Phi's argument
- typos fixed
[r20641]
Michael Beck [Wed, 23 Jul 2008 18:20:09 +0000 (18:20 +0000)]
updated
[r20639]
Michael Beck [Wed, 23 Jul 2008 18:12:44 +0000 (18:12 +0000)]
- fixed a stupid Bug: the marks are not cleared at the beginning,
so the set of free functions is not calculated right when called the second time
- fixed a typo in the name of a function :-)
[r20638]
Matthias Braun [Wed, 23 Jul 2008 17:58:28 +0000 (17:58 +0000)]
belady fixes/cleanups
[r20634]
Michael Beck [Wed, 23 Jul 2008 16:18:33 +0000 (16:18 +0000)]
add dumping hook
[r20631]
Michael Beck [Wed, 23 Jul 2008 15:10:26 +0000 (15:10 +0000)]
do NOT overwrite custom hash function
[r20630]
Michael Beck [Wed, 23 Jul 2008 15:04:03 +0000 (15:04 +0000)]
- add support for opcode specific hash function
- add hash function for ia32 Immediates
- unified comments for all specifications
[r20629]
Michael Beck [Wed, 23 Jul 2008 14:34:34 +0000 (14:34 +0000)]
updated
[r20625]
Michael Beck [Wed, 23 Jul 2008 14:33:06 +0000 (14:33 +0000)]
- removed old and unused dump_irn
- add some doxygen comments
- add the hash irop operation
[r20624]
Matthias Braun [Wed, 23 Jul 2008 14:12:19 +0000 (14:12 +0000)]
place spill entities at other end of frame
[r20623]
Michael Beck [Tue, 22 Jul 2008 16:23:43 +0000 (16:23 +0000)]
added doxygen comment
[r20613]
Matthias Braun [Tue, 22 Jul 2008 12:34:17 +0000 (12:34 +0000)]
add some dumping hints to irop flags
[r20599]
Matthias Braun [Tue, 22 Jul 2008 12:33:44 +0000 (12:33 +0000)]
don't break vcg compatibility
[r20598]
Matthias Braun [Tue, 22 Jul 2008 12:32:58 +0000 (12:32 +0000)]
add some dumping hints to irop flags
[r20597]
Matthias Braun [Tue, 22 Jul 2008 12:32:11 +0000 (12:32 +0000)]
const changes and enhancements to irouts
[r20596]
Matthias Braun [Tue, 22 Jul 2008 12:31:04 +0000 (12:31 +0000)]
makefile updates
[r20595]
Michael Beck [Mon, 21 Jul 2008 15:02:43 +0000 (15:02 +0000)]
- lattice elements can now contain Symbolic Constants
- nodes must be initialized by bottom, not top
- fixed removement of nodes and partitions from cprop lists
- added partition type
- doxygen docu added
[r20580]
Matthias Braun [Mon, 21 Jul 2008 14:27:25 +0000 (14:27 +0000)]
deactivate/activate are also called for EDGE_KIND_DEP, fix edges_activate for dependency edges
[r20579]
Sebastian Buchwald [Sun, 20 Jul 2008 16:52:38 +0000 (16:52 +0000)]
typo
[r20567]
Sebastian Buchwald [Sun, 20 Jul 2008 11:44:41 +0000 (11:44 +0000)]
- clear action obstack after each application on a graph
- call finalize-method on deactivation of the ext/grs plugin
[r20564]
Sebastian Buchwald [Fri, 18 Jul 2008 16:28:40 +0000 (16:28 +0000)]
typo
[r20536]
Matthias Braun [Fri, 18 Jul 2008 09:24:12 +0000 (09:24 +0000)]
document mode_b stuff
[r20519]
Matthias Braun [Fri, 18 Jul 2008 09:22:56 +0000 (09:22 +0000)]
document mode_b stuff
[r20518]
Moritz Kroll [Thu, 17 Jul 2008 11:57:44 +0000 (11:57 +0000)]
Fixed and simplified rot matcher
[r20511]
Moritz Kroll [Thu, 17 Jul 2008 11:29:01 +0000 (11:29 +0000)]
print FAILED if reference compiler fails, we don't use the gcc testsuite anymore
[r20509]
Moritz Kroll [Thu, 17 Jul 2008 11:16:20 +0000 (11:16 +0000)]
rot matcher incorrect
[r20508]
Michael Beck [Wed, 16 Jul 2008 16:02:15 +0000 (16:02 +0000)]
fixed crop list handling
[r20491]
Sebastian Buchwald [Tue, 15 Jul 2008 16:59:11 +0000 (16:59 +0000)]
Convert const node to symconst node with the value as entity. That allow us to use existing GrGen features also for floats.
[r20483]
Michael Beck [Tue, 15 Jul 2008 15:43:34 +0000 (15:43 +0000)]
- add compute for Sub and Cmp
- let the lambda function map to pointer, not unsigned (sovinf the need for partition and
tarval numbering)
- some debug added
[r20481]
Matthias Braun [Tue, 15 Jul 2008 13:10:02 +0000 (13:10 +0000)]
'fix' comment
[r20478]
Matthias Braun [Tue, 15 Jul 2008 13:07:08 +0000 (13:07 +0000)]
bitop,shift,constant test
[r20477]
Matthias Braun [Tue, 15 Jul 2008 13:06:38 +0000 (13:06 +0000)]
localopts for bitoperations in combinations with shifts and constants
[r20476]
Sebastian Buchwald [Tue, 15 Jul 2008 09:26:42 +0000 (09:26 +0000)]
typo
[r20468]
Michael Beck [Mon, 14 Jul 2008 21:22:22 +0000 (21:22 +0000)]
mostly finished version of combo
[r20463]
Michael Beck [Mon, 14 Jul 2008 21:21:38 +0000 (21:21 +0000)]
value_of() is now a simple wrapper around a function pointer. This allows phases to have its own value_of semantic (needed for the combo algorithm for instance).
set_value_of_func() can be used to set a new semantic or restore the default behavior.
[r20462]
Michael Beck [Mon, 14 Jul 2008 21:18:01 +0000 (21:18 +0000)]
- when printing tarvals, differentiate between tarval_bad and tarval_undefined
[r20461]
Michael Beck [Mon, 14 Jul 2008 21:16:49 +0000 (21:16 +0000)]
- ia32_assign_exc_label() cannot take a const node: this fixes some warning
[r20460]
Michael Beck [Mon, 14 Jul 2008 21:14:43 +0000 (21:14 +0000)]
- add tarval_top and tarval_bottom as alias for tarval_undefined and tarval_bad
[r20459]
Matthias Braun [Mon, 14 Jul 2008 14:47:41 +0000 (14:47 +0000)]
irdump_grgen is moved
[r20458]
Matthias Braun [Mon, 14 Jul 2008 14:47:32 +0000 (14:47 +0000)]
include our own header file
[r20457]
Matthias Braun [Mon, 14 Jul 2008 14:46:37 +0000 (14:46 +0000)]
remove unnecessary include
[r20456]
Matthias Braun [Mon, 14 Jul 2008 14:30:15 +0000 (14:30 +0000)]
resize should be declared INLINE
[r20455]
Matthias Braun [Mon, 14 Jul 2008 14:29:57 +0000 (14:29 +0000)]
don't emit debug messages
[r20454]
Matthias Braun [Mon, 14 Jul 2008 13:36:34 +0000 (13:36 +0000)]
don't emit N_EINCL/N_BINCL as it has to be a proper stack of header filenames apparently, we don't have that info anymore in firm. Instead use N_SOL which is good enough
[r20440]
Michael Beck [Thu, 10 Jul 2008 13:46:32 +0000 (13:46 +0000)]
initial version of Cliff Click's Combo Optimization
[r20410]
Matthias Braun [Wed, 9 Jul 2008 21:13:03 +0000 (21:13 +0000)]
fix some situations where too few spills were placed
[r20402]
Matthias Braun [Wed, 9 Jul 2008 18:00:24 +0000 (18:00 +0000)]
revert accidental commit
[r20400]
Matthias Braun [Wed, 9 Jul 2008 17:59:58 +0000 (17:59 +0000)]
revive belady late spilling
[r20399]
Matthias Braun [Wed, 9 Jul 2008 17:04:41 +0000 (17:04 +0000)]
some rot/shift by constant optimisations
[r20397]
Matthias Braun [Wed, 9 Jul 2008 13:02:05 +0000 (13:02 +0000)]
small reformating/cleanups
[r20394]
Matthias Braun [Wed, 9 Jul 2008 13:01:35 +0000 (13:01 +0000)]
fix warning
[r20393]
Matthias Braun [Wed, 9 Jul 2008 12:58:56 +0000 (12:58 +0000)]
fix warnings
[r20392]
Michael Beck [Wed, 9 Jul 2008 02:11:36 +0000 (02:11 +0000)]
- fixed warnings
[r20383]
Michael Beck [Wed, 9 Jul 2008 02:08:04 +0000 (02:08 +0000)]
-BugFix: exp_gen sets must be cleaned
[r20382]
Michael Beck [Wed, 9 Jul 2008 01:47:06 +0000 (01:47 +0000)]
- BugFix: Antic_in computation must always add exp_gen
- can handle Div/Mod/DivMod yet
- remove fully redundant expression from Antic_in (else iteration did not stop ???)
[r20381]
Michael Beck [Wed, 9 Jul 2008 01:27:44 +0000 (01:27 +0000)]
- BugFix: *__remove_iterator(): after _next(), the iterator already points to the next element
[r20380]
Michael Beck [Tue, 8 Jul 2008 23:37:34 +0000 (23:37 +0000)]
- add a doxygen comment
- small improvement
[r20379]