libfirm
16 years agoComitted wrong file. Revert r15169.
Christoph Mallon [Mon, 16 Jul 2007 16:58:29 +0000 (16:58 +0000)]
Comitted wrong file. Revert r15169.

[r15171]

16 years agofix condeval for cases that can be directly evalutated
Matthias Braun [Mon, 16 Jul 2007 16:54:29 +0000 (16:54 +0000)]
fix condeval for cases that can be directly evalutated

[r15170]

16 years agoGenerate better, i.e. less, (and maybe more correct) code for floating point comparisons.
Christoph Mallon [Mon, 16 Jul 2007 16:14:01 +0000 (16:14 +0000)]
Generate better, i.e. less, (and maybe more correct) code for floating point comparisons.

[r15169]

16 years agoremoved the new get_block/set_block stuff; not working; :-(
Michael Beck [Mon, 16 Jul 2007 15:23:59 +0000 (15:23 +0000)]
removed the new get_block/set_block stuff; not working; :-(

[r15168]

16 years agofix makereport
Matthias Braun [Mon, 16 Jul 2007 14:19:54 +0000 (14:19 +0000)]
fix makereport

[r15165]

16 years agomake functions static where possible
Matthias Braun [Mon, 16 Jul 2007 14:01:09 +0000 (14:01 +0000)]
make functions static where possible

[r15164]

16 years agomake functions statis where possible
Matthias Braun [Mon, 16 Jul 2007 14:00:54 +0000 (14:00 +0000)]
make functions statis where possible

[r15163]

16 years agomore unknown float testing
Matthias Braun [Mon, 16 Jul 2007 14:00:27 +0000 (14:00 +0000)]
more unknown float testing

[r15162]

16 years agorename to avoid 2 tests with same name
Matthias Braun [Mon, 16 Jul 2007 13:59:50 +0000 (13:59 +0000)]
rename to avoid 2 tests with same name

[r15161]

16 years agofix fehler40
Matthias Braun [Mon, 16 Jul 2007 12:34:53 +0000 (12:34 +0000)]
fix fehler40

[r15159]

16 years agoRemoved old "modecodes" that were never registered
Andreas Schösser [Mon, 16 Jul 2007 12:03:40 +0000 (12:03 +0000)]
Removed old "modecodes" that were never registered

[r15158]

16 years agofehler40
Matthias Braun [Mon, 16 Jul 2007 11:16:53 +0000 (11:16 +0000)]
fehler40

[r15157]

16 years agoDo not unconditionally set the unsigned pnc flag, but only for floating point compari...
Christoph Mallon [Mon, 16 Jul 2007 10:06:21 +0000 (10:06 +0000)]
Do not unconditionally set the unsigned pnc flag, but only for floating point comparisons. This fixes r15142.

[r15153]

16 years agoad-hoc fix for lfoat compares (this is not mallons optimal solution yet)
Matthias Braun [Sat, 14 Jul 2007 15:05:45 +0000 (15:05 +0000)]
ad-hoc fix for lfoat compares (this is not mallons optimal solution yet)

[r15142]

16 years agomove() does not try to move Projs anymore
Michael Beck [Fri, 13 Jul 2007 17:38:09 +0000 (17:38 +0000)]
move() does not try to move Projs anymore

[r15136]

16 years agoReplaced set_irn_n(*, -1, *) and get_irn_n(*, -1) by new get_nodes_block()/set_nodes_...
Michael Beck [Fri, 13 Jul 2007 16:57:59 +0000 (16:57 +0000)]
Replaced set_irn_n(*, -1, *) and get_irn_n(*, -1) by new get_nodes_block()/set_nodes_block() implementation
caveats:
 - the old outs do not see the anchor node yet
 - the new edges wrongly use get_irn_n(*, -1)
 - the new edges do not realize that the move of a node moves all its Projs
 - the anchor node still must have the -1 input set (due to edges bug...)

[r15135]

16 years agoadded attribute for anchor edges
Michael Beck [Fri, 13 Jul 2007 15:31:50 +0000 (15:31 +0000)]
added attribute for anchor edges

[r15122]

16 years agoadd missing width modifiers to some float nodes
Matthias Braun [Fri, 13 Jul 2007 15:09:38 +0000 (15:09 +0000)]
add missing width modifiers to some float nodes

[r15120]

16 years agoadded initializers for get_block/set_block operations
Michael Beck [Fri, 13 Jul 2007 13:49:46 +0000 (13:49 +0000)]
added initializers for get_block/set_block operations

[r15117]

16 years agoimproved safety: added a assert() if proj's are placed
Michael Beck [Fri, 13 Jul 2007 13:46:03 +0000 (13:46 +0000)]
improved safety: added a assert() if proj's are placed
ignore Proj nodes in place_floats_early()

[r15116]

16 years agoAdd get_block and set_block operations.
Michael Beck [Fri, 13 Jul 2007 13:34:36 +0000 (13:34 +0000)]
Add get_block and set_block operations.
Proj's are now automatically in the block of it's predecessor
get_nodes_block() is free of special cases ...

[r15115]

16 years agomin() is a rather bad name for a function due to macro clash
Michael Beck [Fri, 13 Jul 2007 13:19:29 +0000 (13:19 +0000)]
min() is a rather bad name for a function due to macro clash

[r15114]

16 years ago_ir_nodeset_find() returns already an int
Michael Beck [Fri, 13 Jul 2007 13:09:01 +0000 (13:09 +0000)]
_ir_nodeset_find() returns already an int

[r15113]

16 years agofixed typo
Michael Beck [Fri, 13 Jul 2007 12:51:32 +0000 (12:51 +0000)]
fixed typo
renamed reserved word this

[r15112]

16 years agouse zeros instead of unknowns for floating point for now
Matthias Braun [Fri, 13 Jul 2007 12:21:52 +0000 (12:21 +0000)]
use zeros instead of unknowns for floating point for now

[r15110]

16 years agomore unknown problems
Matthias Braun [Fri, 13 Jul 2007 10:03:38 +0000 (10:03 +0000)]
more unknown problems

[r15103]

16 years agotry to avoid creation of float Psis
Matthias Braun [Thu, 12 Jul 2007 21:28:37 +0000 (21:28 +0000)]
try to avoid creation of float Psis

[r15100]

16 years agodisable dumping (we need a flag for this)
Matthias Braun [Thu, 12 Jul 2007 21:13:54 +0000 (21:13 +0000)]
disable dumping (we need a flag for this)

[r15099]

16 years agorevert transformation tactics to old style
Matthias Braun [Thu, 12 Jul 2007 19:43:34 +0000 (19:43 +0000)]
revert transformation tactics to old style

[r15097]

16 years agothe Anchor is not a (real) user
Matthias Braun [Thu, 12 Jul 2007 19:42:27 +0000 (19:42 +0000)]
the Anchor is not a (real) user

[r15096]

16 years agoMake the deconv optimisation more aggressive (allow more ops, handle convs with multi...
Christoph Mallon [Thu, 12 Jul 2007 17:32:16 +0000 (17:32 +0000)]
Make the deconv optimisation more aggressive (allow more ops, handle convs with multiple users) and (hopefully) more correct (check if a conv is a downconv at more places).

[r15093]

16 years agotest case for floating point compare
Michael Beck [Thu, 12 Jul 2007 15:34:08 +0000 (15:34 +0000)]
test case for floating point compare

[r15087]

16 years agoadded file local cflags
Michael Beck [Thu, 12 Jul 2007 15:32:29 +0000 (15:32 +0000)]
added file local cflags

[r15086]

16 years agoget_mirrored_pnc() added on request
Michael Beck [Thu, 12 Jul 2007 15:05:38 +0000 (15:05 +0000)]
get_mirrored_pnc() added on request

[r15082]

16 years agoallow getting long values from reference tarvals
Matthias Braun [Thu, 12 Jul 2007 15:04:23 +0000 (15:04 +0000)]
allow getting long values from reference tarvals

[r15081]

16 years agobugfix (we can only get 1 tarvals for int modes)
Matthias Braun [Thu, 12 Jul 2007 14:57:37 +0000 (14:57 +0000)]
bugfix (we can only get 1 tarvals for int modes)

[r15080]

16 years agoremoved unused variable
Michael Beck [Thu, 12 Jul 2007 10:13:05 +0000 (10:13 +0000)]
removed unused variable

[r15073]

16 years agoAdded sorted array sets.
Sebastian Hack [Wed, 11 Jul 2007 22:47:45 +0000 (22:47 +0000)]
Added sorted array sets.
Adjusted nodesets to it but it is still deactivated.
See macro at the top of irnodeset.h

[r15065]

16 years agoCosmetic changes
Sebastian Hack [Wed, 11 Jul 2007 22:46:01 +0000 (22:46 +0000)]
Cosmetic changes

[r15064]

16 years agoRemoved alternative assign: borders are too present in the stuff
Sebastian Hack [Wed, 11 Jul 2007 22:45:24 +0000 (22:45 +0000)]
Removed alternative assign: borders are too present in the stuff
Removed some old pset_live stuff.

[r15063]

16 years agoAdapted to ignore regs
Sebastian Hack [Wed, 11 Jul 2007 22:43:58 +0000 (22:43 +0000)]
Adapted to ignore regs
Yeah, it's really long ago since this was touched

[r15062]

16 years agoAdded a new version of the live chk
Sebastian Hack [Wed, 11 Jul 2007 22:43:27 +0000 (22:43 +0000)]
Added a new version of the live chk
I kept the old for benchmarking. As soon as they are done, it will go away.

[r15061]

16 years agoAdded an if around a critical place
Sebastian Hack [Wed, 11 Jul 2007 22:15:20 +0000 (22:15 +0000)]
Added an if around a critical place
and some cosmetic changes

[r15060]

16 years agoMade a nicer dumper
Sebastian Hack [Wed, 11 Jul 2007 22:14:43 +0000 (22:14 +0000)]
Made a nicer dumper

[r15059]

16 years agoremoved character modes, use integer modes instead
Michael Beck [Wed, 11 Jul 2007 18:29:39 +0000 (18:29 +0000)]
removed character modes, use integer modes instead

[r15057]

16 years agodump keep-alive edges in purple
Michael Beck [Wed, 11 Jul 2007 17:51:00 +0000 (17:51 +0000)]
dump keep-alive edges in purple

[r15055]

16 years agouse the new Anchor node instead of old anchors
Michael Beck [Wed, 11 Jul 2007 15:58:21 +0000 (15:58 +0000)]
use the new Anchor node instead of old anchors

[r15053]

16 years agoC99 feature removed
Michael Beck [Wed, 11 Jul 2007 14:53:08 +0000 (14:53 +0000)]
C99 feature removed

[r15050]

16 years agotry to fix float problems
Matthias Braun [Wed, 11 Jul 2007 14:05:03 +0000 (14:05 +0000)]
try to fix float problems

[r15045]

16 years agoadd last newline
Michael Beck [Wed, 11 Jul 2007 13:23:27 +0000 (13:23 +0000)]
add last newline

[r15044]

16 years agorenamed register_additional_node_data() to firm_register_additional_node_data()
Michael Beck [Wed, 11 Jul 2007 13:22:44 +0000 (13:22 +0000)]
renamed register_additional_node_data() to firm_register_additional_node_data()

[r15043]

16 years agotype type definitions to new irtype.h
Michael Beck [Wed, 11 Jul 2007 13:15:02 +0000 (13:15 +0000)]
type type definitions to new irtype.h

[r15042]

16 years agocosmetic change
Michael Beck [Wed, 11 Jul 2007 13:13:44 +0000 (13:13 +0000)]
cosmetic change

[r15041]

16 years agoop_Anchor added
Michael Beck [Wed, 11 Jul 2007 13:07:18 +0000 (13:07 +0000)]
op_Anchor added

[r15040]

16 years agotypo fixed
Michael Beck [Wed, 11 Jul 2007 13:05:23 +0000 (13:05 +0000)]
typo fixed

[r15039]

16 years agoinproved doxygen docu
Michael Beck [Wed, 11 Jul 2007 13:05:02 +0000 (13:05 +0000)]
inproved doxygen docu

[r15038]

16 years agomoved the ip_view_state to firm_types.h
Michael Beck [Wed, 11 Jul 2007 13:04:31 +0000 (13:04 +0000)]
moved the ip_view_state to firm_types.h

[r15037]

16 years agocommented out JACk support stuff: move to the jack compiler
Michael Beck [Wed, 11 Jul 2007 13:03:36 +0000 (13:03 +0000)]
commented out JACk support stuff: move to the jack compiler

[r15036]

16 years agomoved access functions to more locigal places
Michael Beck [Wed, 11 Jul 2007 13:02:46 +0000 (13:02 +0000)]
moved access functions to more locigal places
indentation changed

[r15035]

16 years agothe lowering has to be in a pre walker
Matthias Braun [Wed, 11 Jul 2007 12:51:13 +0000 (12:51 +0000)]
the lowering has to be in a pre walker

[r15034]

16 years agoavoid phi loops in mode_b lowerer
Matthias Braun [Wed, 11 Jul 2007 12:41:17 +0000 (12:41 +0000)]
avoid phi loops in mode_b lowerer

[r15033]

16 years agoremoved SCHEDULE_PROJS ifdefs
Michael Beck [Wed, 11 Jul 2007 12:14:49 +0000 (12:14 +0000)]
removed SCHEDULE_PROJS ifdefs

[r15032]

16 years agoFix typos in comments.
Christoph Mallon [Wed, 11 Jul 2007 12:11:03 +0000 (12:11 +0000)]
Fix typos in comments.

[r15031]

16 years agoBe more liberal in what the IA32 backend allows for if-conversion, i.e. everything...
Christoph Mallon [Wed, 11 Jul 2007 12:10:00 +0000 (12:10 +0000)]
Be more liberal in what the IA32 backend allows for if-conversion, i.e. everything except selection of floating point and long long values.

[r15030]

16 years agoexclude the test directory
Michael Beck [Wed, 11 Jul 2007 12:03:40 +0000 (12:03 +0000)]
exclude the test directory

[r15029]

16 years agosimplified code
Michael Beck [Wed, 11 Jul 2007 10:11:37 +0000 (10:11 +0000)]
simplified code

[r15026]

16 years agomoved the fixpoint iteration of the current node from optimize_graph() to transform_n...
Michael Beck [Wed, 11 Jul 2007 10:07:02 +0000 (10:07 +0000)]
moved the fixpoint iteration of the current node from optimize_graph() to transform_node(), a more logical place

[r15025]

16 years agoC99 features reoved
Michael Beck [Wed, 11 Jul 2007 10:06:04 +0000 (10:06 +0000)]
C99 features reoved

[r15024]

16 years agoupdated macros
Michael Beck [Wed, 11 Jul 2007 09:56:11 +0000 (09:56 +0000)]
updated macros

[r15023]

16 years agouse bipartite solver again, as it doesn't silently fail like the hungarian when fed...
Matthias Braun [Wed, 11 Jul 2007 08:35:35 +0000 (08:35 +0000)]
use bipartite solver again, as it doesn't silently fail like the hungarian when fed with bad input data

[r15021]

16 years agofix fehler39, exchange left/right is no good idea after register allocation occured...
Matthias Braun [Wed, 11 Jul 2007 08:19:12 +0000 (08:19 +0000)]
fix fehler39, exchange left/right is no good idea after register allocation occured on cosntrained nodes

[r15020]

16 years agonow fehler39 exposes the original bug again :)
Matthias Braun [Wed, 11 Jul 2007 07:32:59 +0000 (07:32 +0000)]
now fehler39 exposes the original bug again :)

[r15019]

16 years agomake fehler39 work with gcc at least
Matthias Braun [Wed, 11 Jul 2007 07:27:23 +0000 (07:27 +0000)]
make fehler39 work with gcc at least

[r15018]

16 years agoworkaround verify problems for alloca
Matthias Braun [Wed, 11 Jul 2007 07:22:38 +0000 (07:22 +0000)]
workaround verify problems for alloca

[r15017]

16 years agosimplify logic when x87 simulator is started
Matthias Braun [Wed, 11 Jul 2007 06:52:04 +0000 (06:52 +0000)]
simplify logic when x87 simulator is started

[r15016]

16 years agodon't do AGGRESSIVE_AM
Matthias Braun [Tue, 10 Jul 2007 21:17:24 +0000 (21:17 +0000)]
don't do AGGRESSIVE_AM

[r15015]

16 years agoAdd ~x + 1 = -x algebraic simplification
Michael Beck [Tue, 10 Jul 2007 16:28:28 +0000 (16:28 +0000)]
Add ~x + 1 = -x algebraic simplification

[r15014]

16 years agofixed doxygen docu
Michael Beck [Tue, 10 Jul 2007 16:12:31 +0000 (16:12 +0000)]
fixed doxygen docu

[r15013]

16 years agouse classify_Const()
Michael Beck [Tue, 10 Jul 2007 16:12:04 +0000 (16:12 +0000)]
use classify_Const()

[r15012]

16 years agoimproved fixpoint iteration for optimize_graph_df()
Michael Beck [Tue, 10 Jul 2007 15:54:05 +0000 (15:54 +0000)]
improved fixpoint iteration for optimize_graph_df()

[r15010]

16 years agoAdd ~(x-1) = -x algebraic simplification
Michael Beck [Tue, 10 Jul 2007 15:53:19 +0000 (15:53 +0000)]
Add ~(x-1) = -x algebraic simplification

[r15009]

16 years agoAdd -(~x) = x + 1 algebraic simplification
Michael Beck [Tue, 10 Jul 2007 15:35:56 +0000 (15:35 +0000)]
Add -(~x) = x + 1 algebraic simplification

[r15008]

16 years agomake use of mode_b lowerer, fix keeps for CopyB
Matthias Braun [Tue, 10 Jul 2007 15:21:00 +0000 (15:21 +0000)]
make use of mode_b lowerer, fix keeps for CopyB

[r15007]

16 years agocorrect fixpoint iteration
Matthias Braun [Tue, 10 Jul 2007 15:20:32 +0000 (15:20 +0000)]
correct fixpoint iteration

[r15006]

16 years agoindentation changed
Michael Beck [Tue, 10 Jul 2007 15:18:51 +0000 (15:18 +0000)]
indentation changed

[r15005]

16 years agoadded is_Not(), added missing is_Psi() declaration
Michael Beck [Tue, 10 Jul 2007 15:06:58 +0000 (15:06 +0000)]
added is_Not(), added missing is_Psi() declaration

[r15004]

16 years agomore distributive laws
Matthias Braun [Tue, 10 Jul 2007 15:00:12 +0000 (15:00 +0000)]
more distributive laws

[r15003]

16 years agoconvopt also works for and and ors
Matthias Braun [Tue, 10 Jul 2007 14:59:59 +0000 (14:59 +0000)]
convopt also works for and and ors

[r15002]

16 years agoadd mode_b lowering
Matthias Braun [Tue, 10 Jul 2007 14:58:55 +0000 (14:58 +0000)]
add mode_b lowering

[r15001]

16 years agomissing Makefile
Matthias Braun [Tue, 10 Jul 2007 14:58:44 +0000 (14:58 +0000)]
missing Makefile

[r15000]

16 years agoadd is_Eor
Matthias Braun [Tue, 10 Jul 2007 14:58:21 +0000 (14:58 +0000)]
add is_Eor

[r14999]

16 years agoadd optimizations for Or,And,Eor and Shift
Michael Beck [Mon, 9 Jul 2007 15:26:11 +0000 (15:26 +0000)]
add optimizations for Or,And,Eor and Shift

[r14995]

16 years agouse get_irn_n(-1) instead of get_nodes_block
Michael Beck [Mon, 9 Jul 2007 15:24:46 +0000 (15:24 +0000)]
use get_irn_n(-1) instead of get_nodes_block

[r14994]

16 years agofix condeval in when not avoiding PhiB
Matthias Braun [Mon, 9 Jul 2007 14:17:10 +0000 (14:17 +0000)]
fix condeval in when not avoiding PhiB

[r14991]

16 years agoadd missing dbginfo.h include
Matthias Braun [Mon, 9 Jul 2007 13:15:07 +0000 (13:15 +0000)]
add missing dbginfo.h include

[r14990]

16 years agoCopy the debug info when turning a Store into a Push.
Christoph Mallon [Sun, 8 Jul 2007 20:17:40 +0000 (20:17 +0000)]
Copy the debug info when turning a Store into a Push.

[r14986]

16 years agoUnbreak build.
Christoph Mallon [Sun, 8 Jul 2007 20:15:46 +0000 (20:15 +0000)]
Unbreak build.

[r14985]

16 years agoFix typo in testcase.
Christoph Mallon [Sun, 8 Jul 2007 13:03:11 +0000 (13:03 +0000)]
Fix typo in testcase.

[r14984]

16 years agoShorten the testcase.
Christoph Mallon [Sun, 8 Jul 2007 13:02:28 +0000 (13:02 +0000)]
Shorten the testcase.

[r14983]

17 years agoTestcase for bug in register allocator: esp gets assigned to a node. This was not...
Christoph Mallon [Fri, 6 Jul 2007 20:27:08 +0000 (20:27 +0000)]
Testcase for bug in register allocator: esp gets assigned to a node. This was not the intended effect of this testcase (triggering the assertion that the worklist ran out in heur1 was), but is probably related.

[r14982]