libfirm
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]

16 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]

16 years agorenamed structures containing settings to ir_settings_*_t and place them in firm_types.h
Michael Beck [Fri, 6 Jul 2007 16:07:17 +0000 (16:07 +0000)]
renamed structures containing settings to ir_settings_*_t and place them in firm_types.h

[r14980]

16 years agomoved get_*_dbg_info() and set_*_dbg_info() to logical places
Michael Beck [Fri, 6 Jul 2007 15:38:04 +0000 (15:38 +0000)]
moved get_*_dbg_info() and set_*_dbg_info() to logical places
removed unnecesary includes

[r14979]

16 years agofixed indentation, minor code improvements
Michael Beck [Fri, 6 Jul 2007 14:47:15 +0000 (14:47 +0000)]
fixed indentation, minor code improvements

[r14978]

16 years agoadded missing includes
Michael Beck [Fri, 6 Jul 2007 14:45:12 +0000 (14:45 +0000)]
added missing includes

[r14977]

16 years agofixed ir_visited_t type
Michael Beck [Fri, 6 Jul 2007 13:25:24 +0000 (13:25 +0000)]
fixed ir_visited_t type

[r14975]

16 years agoallow bool as method parameter
Matthias Braun [Fri, 6 Jul 2007 13:22:56 +0000 (13:22 +0000)]
allow bool as method parameter

[r14974]

16 years agodon't create dead projs
Matthias Braun [Fri, 6 Jul 2007 13:08:49 +0000 (13:08 +0000)]
don't create dead projs

[r14973]

16 years agoa new pass that adds missing keeps
Matthias Braun [Fri, 6 Jul 2007 12:54:08 +0000 (12:54 +0000)]
a new pass that adds missing keeps

[r14971]

16 years agouse optimize_graph_df
Matthias Braun [Fri, 6 Jul 2007 12:53:52 +0000 (12:53 +0000)]
use optimize_graph_df

[r14970]

16 years agoimprove assert
Matthias Braun [Fri, 6 Jul 2007 12:53:27 +0000 (12:53 +0000)]
improve assert

[r14969]

16 years agomissing include added
Michael Beck [Fri, 6 Jul 2007 12:50:40 +0000 (12:50 +0000)]
missing include added

[r14968]

16 years agoindentation fixed
Michael Beck [Thu, 5 Jul 2007 16:47:26 +0000 (16:47 +0000)]
indentation fixed

[r14964]

16 years agomoved is_Psi() to irnode
Michael Beck [Thu, 5 Jul 2007 16:37:32 +0000 (16:37 +0000)]
moved is_Psi() to irnode

[r14963]

16 years agoC99 feature removed
Michael Beck [Thu, 5 Jul 2007 16:35:57 +0000 (16:35 +0000)]
C99 feature removed

[r14962]

16 years agoindentation fixed
Michael Beck [Thu, 5 Jul 2007 16:24:12 +0000 (16:24 +0000)]
indentation fixed

[r14961]

16 years agouse NULL_OBST to avoid warnings
Matthias Braun [Thu, 5 Jul 2007 11:42:27 +0000 (11:42 +0000)]
use NULL_OBST to avoid warnings

[r14955]

16 years agodeclare an NULL_OBST
Matthias Braun [Thu, 5 Jul 2007 11:42:10 +0000 (11:42 +0000)]
declare an NULL_OBST

[r14954]

16 years agofix fehler37, ALWAYS RETURN 0 at end of main
Matthias Braun [Thu, 5 Jul 2007 11:41:43 +0000 (11:41 +0000)]
fix fehler37, ALWAYS RETURN 0 at end of main

[r14953]

16 years agochanged condeval to handle Phibs
Matthias Braun [Thu, 5 Jul 2007 11:41:08 +0000 (11:41 +0000)]
changed condeval to handle Phibs

[r14952]

16 years agoOverhaul Psi optimisations.
Christoph Mallon [Thu, 5 Jul 2007 10:55:34 +0000 (10:55 +0000)]
Overhaul Psi optimisations.

[r14951]

16 years agowe want convs in both directions
Matthias Braun [Thu, 5 Jul 2007 08:54:51 +0000 (08:54 +0000)]
we want convs in both directions

[r14945]

16 years agoSplit looking for Cmp-Phi-Constant into a separate function.
Christoph Mallon [Wed, 4 Jul 2007 21:43:20 +0000 (21:43 +0000)]
Split looking for Cmp-Phi-Constant into a separate function.

[r14944]

16 years agoalways do if conversion when opt_if_conv is called
Matthias Braun [Wed, 4 Jul 2007 21:13:12 +0000 (21:13 +0000)]
always do if conversion when opt_if_conv is called

[r14942]

16 years agoFix fehler38: meld_psi() did not memorize the next condition when the value operand...
Christoph Mallon [Wed, 4 Jul 2007 20:54:02 +0000 (20:54 +0000)]
Fix fehler38: meld_psi() did not memorize the next condition when the value operand changed.

[r14941]

16 years agoTestcase for bug in if-conversion: meld_psi() does invalid transformation.
Christoph Mallon [Wed, 4 Jul 2007 20:41:16 +0000 (20:41 +0000)]
Testcase for bug in if-conversion: meld_psi() does invalid transformation.

[r14940]

17 years agoreverted accidental commit
Matthias Braun [Wed, 4 Jul 2007 19:55:16 +0000 (19:55 +0000)]
reverted accidental commit

[r14939]

17 years agomode_b support for Phis, Nots. Working but needs some local opt phases to be really...
Matthias Braun [Wed, 4 Jul 2007 19:32:59 +0000 (19:32 +0000)]
mode_b support for Phis, Nots. Working but needs some local opt phases to be really good

[r14938]

17 years agoimprove fehler36
Matthias Braun [Wed, 4 Jul 2007 19:31:22 +0000 (19:31 +0000)]
improve fehler36

[r14937]

17 years agoPropagate the debug info of the Cond when generating Psis.
Christoph Mallon [Wed, 4 Jul 2007 14:20:38 +0000 (14:20 +0000)]
Propagate the debug info of the Cond when generating Psis.

[r14929]

17 years agomaybe fix phi handler problems
Matthias Braun [Wed, 4 Jul 2007 13:14:21 +0000 (13:14 +0000)]
maybe fix phi handler problems

[r14927]

17 years agodon't emit vfp copies
Matthias Braun [Wed, 4 Jul 2007 13:13:51 +0000 (13:13 +0000)]
don't emit vfp copies

[r14926]

17 years agocmov with unknowns are pointless
Matthias Braun [Wed, 4 Jul 2007 12:13:51 +0000 (12:13 +0000)]
cmov with unknowns are pointless

[r14925]

17 years agorevert accidental commit
Matthias Braun [Wed, 4 Jul 2007 12:06:05 +0000 (12:06 +0000)]
revert accidental commit

[r14922]

17 years agofix some x87 issues...
Matthias Braun [Wed, 4 Jul 2007 12:04:53 +0000 (12:04 +0000)]
fix some x87 issues...

[r14921]

17 years agobe sure to not add a node twice to the bipartite matching
Matthias Braun [Wed, 4 Jul 2007 11:54:48 +0000 (11:54 +0000)]
be sure to not add a node twice to the bipartite matching

[r14920]

17 years agodon't copy unknowns around in cmovs
Matthias Braun [Wed, 4 Jul 2007 11:32:40 +0000 (11:32 +0000)]
don't copy unknowns around in cmovs

[r14919]

17 years agocleaner fix by Sebastian
Matthias Braun [Wed, 4 Jul 2007 11:31:17 +0000 (11:31 +0000)]
cleaner fix by Sebastian

[r14918]

17 years agofix for register allocation on constrained nodes with 1 value at 2 ins
Matthias Braun [Wed, 4 Jul 2007 11:20:02 +0000 (11:20 +0000)]
fix for register allocation on constrained nodes with 1 value at 2 ins

[r14917]

17 years agoconst.
Christoph Mallon [Wed, 4 Jul 2007 08:57:27 +0000 (08:57 +0000)]
const.

[r14914]

17 years ago[r14913]
Michael Beck [Wed, 4 Jul 2007 05:34:43 +0000 (05:34 +0000)]
[r14913]

17 years agofehler36
Matthias Braun [Tue, 3 Jul 2007 21:34:55 +0000 (21:34 +0000)]
fehler36

[r14912]

17 years agoAssert that the heur1 worklist does not run out. This turns the double-frees into...
Christoph Mallon [Tue, 3 Jul 2007 20:31:38 +0000 (20:31 +0000)]
Assert that the heur1 worklist does not run out. This turns the double-frees into assert()s.

[r14911]

17 years agoDo not cast a pointer to int.
Christoph Mallon [Tue, 3 Jul 2007 20:28:50 +0000 (20:28 +0000)]
Do not cast a pointer to int.

[r14910]

17 years ago- DeMorgan
Christoph Mallon [Tue, 3 Jul 2007 19:50:29 +0000 (19:50 +0000)]
- DeMorgan
- Use node_nr instead of address of nodes for sorting
- Evaluate if with known result

[r14909]

17 years agoCleanup. Also fix potential bug: Do not read link field after exchanging node.
Christoph Mallon [Tue, 3 Jul 2007 19:45:41 +0000 (19:45 +0000)]
Cleanup. Also fix potential bug: Do not read link field after exchanging node.

[r14908]

17 years agoRemove unused variable.
Christoph Mallon [Tue, 3 Jul 2007 19:44:48 +0000 (19:44 +0000)]
Remove unused variable.

[r14907]

17 years agobackend part is always WITH_LIBCORE :-)
Michael Beck [Tue, 3 Jul 2007 15:43:45 +0000 (15:43 +0000)]
backend part is always WITH_LIBCORE :-)

[r14903]

17 years agoadd sopport for compile without WITH_LIBCORE
Michael Beck [Tue, 3 Jul 2007 15:30:57 +0000 (15:30 +0000)]
add sopport for compile without WITH_LIBCORE

[r14902]

17 years agoadded inline types for parameters
Michael Beck [Tue, 3 Jul 2007 15:29:08 +0000 (15:29 +0000)]
added inline types for parameters

[r14901]

17 years agotypo fixed
Michael Beck [Tue, 3 Jul 2007 15:28:07 +0000 (15:28 +0000)]
typo fixed

[r14900]

17 years agoC99 features femoved
Michael Beck [Tue, 3 Jul 2007 14:51:51 +0000 (14:51 +0000)]
C99 features femoved

[r14899]

17 years agojust some reindentation
Matthias Braun [Mon, 2 Jul 2007 13:56:25 +0000 (13:56 +0000)]
just some reindentation

[r14885]

17 years agoone more assert
Matthias Braun [Mon, 2 Jul 2007 13:56:07 +0000 (13:56 +0000)]
one more assert

[r14884]

17 years agono trighraphs in comments
Matthias Braun [Mon, 2 Jul 2007 13:52:28 +0000 (13:52 +0000)]
no trighraphs in comments

[r14883]

17 years agofixed lots of warnings in testprograms
Matthias Braun [Mon, 2 Jul 2007 13:48:35 +0000 (13:48 +0000)]
fixed lots of warnings in testprograms

[r14882]

17 years agodon't set lea to should_be_same
Matthias Braun [Mon, 2 Jul 2007 13:48:09 +0000 (13:48 +0000)]
don't set lea to should_be_same

[r14881]

17 years ago- Reintroduced TestCmov and TestSet
Matthias Braun [Mon, 2 Jul 2007 13:40:09 +0000 (13:40 +0000)]
- Reintroduced TestCmov and TestSet
- Cmov and Set can do AddressMode (for the comparison not for the result) now
- Rewrote should_be_same constraint handler and fixed a little bug in it

[r14879]

17 years agofix AM mode and remove_from_sched
Matthias Braun [Mon, 2 Jul 2007 12:53:32 +0000 (12:53 +0000)]
fix AM mode and remove_from_sched

[r14875]

17 years agomangle register class name into requirement names
Matthias Braun [Mon, 2 Jul 2007 11:46:40 +0000 (11:46 +0000)]
mangle register class name into requirement names

[r14873]

17 years agoadd missing #ifdef SCHEDULE_PROJS
Michael Beck [Sun, 1 Jul 2007 15:07:41 +0000 (15:07 +0000)]
add missing #ifdef SCHEDULE_PROJS

[r14869]

17 years agomakefile updates
Matthias Braun [Sat, 30 Jun 2007 18:23:05 +0000 (18:23 +0000)]
makefile updates

[r14865]

17 years agoIf a color colors all nodes in a chunk, other colors will not be tried anymore.
Sebastian Hack [Sat, 30 Jun 2007 10:37:30 +0000 (10:37 +0000)]
If a color colors all nodes in a chunk, other colors will not be tried anymore.
Missing is a color sequence detection; at the moment, colors are used from 0..k-1.
This is probably not so superb

[r14864]

17 years agofix uninitialized variable
Matthias Braun [Sat, 30 Jun 2007 08:35:55 +0000 (08:35 +0000)]
fix uninitialized variable

[r14863]

17 years agofehler35 (I already have a fix but can't commit it because it triggers other bugs...
Matthias Braun [Sat, 30 Jun 2007 07:42:23 +0000 (07:42 +0000)]
fehler35 (I already have a fix but can't commit it because it triggers other bugs :-/)

[r14862]

17 years agofix IncSP optimizer, remove some cases of nodes not removed from outedges
Matthias Braun [Sat, 30 Jun 2007 07:41:35 +0000 (07:41 +0000)]
fix IncSP optimizer, remove some cases of nodes not removed from outedges

[r14861]

17 years agoless accuracy, as we can't guarantee more in C
Matthias Braun [Fri, 29 Jun 2007 20:46:22 +0000 (20:46 +0000)]
less accuracy, as we can't guarantee more in C

[r14860]

17 years agoRemove unused variable.
Christoph Mallon [Fri, 29 Jun 2007 19:43:21 +0000 (19:43 +0000)]
Remove unused variable.

[r14859]

17 years agofix fehler32 by removing this nearly pointless optimisation
Matthias Braun [Fri, 29 Jun 2007 19:26:43 +0000 (19:26 +0000)]
fix fehler32 by removing this nearly pointless optimisation

[r14858]

17 years agofehler32
Matthias Braun [Fri, 29 Jun 2007 19:24:59 +0000 (19:24 +0000)]
fehler32

[r14857]

17 years agoTestcase for subtle if conversion bug.
Christoph Mallon [Fri, 29 Jun 2007 17:16:44 +0000 (17:16 +0000)]
Testcase for subtle if conversion bug.

[r14856]

17 years agoFix very subtle bug in if conversion which lead to incorrect results.
Christoph Mallon [Fri, 29 Jun 2007 17:09:36 +0000 (17:09 +0000)]
Fix very subtle bug in if conversion which lead to incorrect results.

[r14855]

17 years agoindentation changed
Michael Beck [Fri, 29 Jun 2007 16:21:04 +0000 (16:21 +0000)]
indentation changed

[r14854]

17 years agonew fehler33.c
Matthias Braun [Fri, 29 Jun 2007 15:42:27 +0000 (15:42 +0000)]
new fehler33.c

[r14849]

17 years agobuild TestJmp for compares with zero
Matthias Braun [Fri, 29 Jun 2007 15:37:20 +0000 (15:37 +0000)]
build TestJmp for compares with zero

[r14848]

17 years agofixed get_tarval_sub_bits() implementation: use mode arithmetic, fixes fehler31.c
Michael Beck [Fri, 29 Jun 2007 14:21:17 +0000 (14:21 +0000)]
fixed get_tarval_sub_bits() implementation: use mode arithmetic, fixes fehler31.c

[r14847]

17 years agoimprove fehler31
Matthias Braun [Fri, 29 Jun 2007 13:29:05 +0000 (13:29 +0000)]
improve fehler31

[r14846]

17 years agofehler 31
Matthias Braun [Fri, 29 Jun 2007 13:25:39 +0000 (13:25 +0000)]
fehler 31

[r14845]

17 years ago- no need to remove Proj's from the schedule
Michael Beck [Fri, 29 Jun 2007 13:00:31 +0000 (13:00 +0000)]
- no need to remove Proj's from the schedule
- typo fixed

[r14843]

17 years agoreally fix fehler26
Matthias Braun [Fri, 29 Jun 2007 12:14:19 +0000 (12:14 +0000)]
really fix fehler26

[r14841]

17 years agofixed some warnings
Matthias Braun [Fri, 29 Jun 2007 12:08:49 +0000 (12:08 +0000)]
fixed some warnings

[r14840]

17 years agoTestJmp bug (already fixed)
Matthias Braun [Fri, 29 Jun 2007 12:05:54 +0000 (12:05 +0000)]
TestJmp bug (already fixed)

[r14839]

17 years agotest result in fehler29
Matthias Braun [Fri, 29 Jun 2007 12:03:14 +0000 (12:03 +0000)]
test result in fehler29

[r14838]

17 years agono Addressmode for x87 CondJmps
Matthias Braun [Fri, 29 Jun 2007 12:02:39 +0000 (12:02 +0000)]
no Addressmode for x87 CondJmps

[r14837]

17 years agoCrash in ia32 floating point code emitter.
Christoph Mallon [Fri, 29 Jun 2007 06:17:07 +0000 (06:17 +0000)]
Crash in ia32 floating point code emitter.

[r14835]

17 years agofix lea to add transformation
Matthias Braun [Thu, 28 Jun 2007 22:59:28 +0000 (22:59 +0000)]
fix lea to add transformation

[r14834]

17 years agofix mips immediate dumper
Matthias Braun [Thu, 28 Jun 2007 22:27:45 +0000 (22:27 +0000)]
fix mips immediate dumper

[r14833]

17 years agoaddressmode for compares works now
Matthias Braun [Thu, 28 Jun 2007 22:27:32 +0000 (22:27 +0000)]
addressmode for compares works now

[r14832]

17 years agoCreate new TestJmp nodes in the correct block, i.e. the block of the Cond, not the...
Christoph Mallon [Thu, 28 Jun 2007 22:23:37 +0000 (22:23 +0000)]
Create new TestJmp nodes in the correct block, i.e. the block of the Cond, not the Cmp.

[r14831]

17 years agoRemove stale code.
Christoph Mallon [Thu, 28 Jun 2007 22:11:46 +0000 (22:11 +0000)]
Remove stale code.

[r14830]