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

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

[r14939]

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

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

[r14937]

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

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

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

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

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

[r14922]

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

[r14921]

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

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

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

[r14918]

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

17 years agoAdd the convenience function create_immediate_or_transform().
Christoph Mallon [Thu, 28 Jun 2007 21:21:30 +0000 (21:21 +0000)]
Add the convenience function create_immediate_or_transform().

[r14829]

17 years agoAssume that constants are always the right operand of a commutative operation.
Christoph Mallon [Thu, 28 Jun 2007 21:03:38 +0000 (21:03 +0000)]
Assume that constants are always the right operand of a commutative operation.

[r14828]

17 years agoemitting NoReg is always wrong
Matthias Braun [Thu, 28 Jun 2007 21:02:44 +0000 (21:02 +0000)]
emitting NoReg is always wrong

[r14827]

17 years agoFor a TestJmp it is not necessary that the And has a constant as operand. Every kind...
Christoph Mallon [Thu, 28 Jun 2007 20:35:42 +0000 (20:35 +0000)]
For a TestJmp it is not necessary that the And has a constant as operand. Every kind of operand is ok.

[r14826]

17 years agorewrite and improve Cond transformation
Matthias Braun [Thu, 28 Jun 2007 16:25:51 +0000 (16:25 +0000)]
rewrite and improve Cond transformation

[r14821]

17 years agofix bestate
Matthias Braun [Thu, 28 Jun 2007 16:24:49 +0000 (16:24 +0000)]
fix bestate

[r14820]

17 years agomark morgan spiller as broken
Matthias Braun [Thu, 28 Jun 2007 16:24:38 +0000 (16:24 +0000)]
mark morgan spiller as broken

[r14819]

17 years agoadd missing main
Matthias Braun [Thu, 28 Jun 2007 15:23:51 +0000 (15:23 +0000)]
add missing main

[r14818]

17 years agodisable PSI creation for now
Michael Beck [Thu, 28 Jun 2007 15:15:21 +0000 (15:15 +0000)]
disable PSI creation for now

[r14817]

17 years agoadd ARM_2a and ARM_3G architectures
Michael Beck [Thu, 28 Jun 2007 15:14:40 +0000 (15:14 +0000)]
add ARM_2a and ARM_3G architectures

[r14816]

17 years agoFixed typos, add some doxygen docu
Michael Beck [Thu, 28 Jun 2007 15:13:44 +0000 (15:13 +0000)]
Fixed typos, add some doxygen docu

[r14815]

17 years agoAdd support for Character types
Michael Beck [Thu, 28 Jun 2007 14:39:26 +0000 (14:39 +0000)]
Add support for Character types
Better void type handling
Added support for inline type definitions of Array and Pointer types

[r14813]

17 years agovariadic functions have always cdelc calling convention
Michael Beck [Thu, 28 Jun 2007 12:29:19 +0000 (12:29 +0000)]
variadic functions have always cdelc calling convention

[r14810]

17 years agova_start did not work with fastcall yet
Michael Beck [Thu, 28 Jun 2007 12:16:51 +0000 (12:16 +0000)]
va_start did not work with fastcall yet

[r14809]

17 years agocompound offset must be in bits
Michael Beck [Thu, 28 Jun 2007 11:59:44 +0000 (11:59 +0000)]
compound offset must be in bits

[r14808]

17 years agonoomitfp gone, omitfp rulez
Michael Beck [Thu, 28 Jun 2007 10:10:33 +0000 (10:10 +0000)]
noomitfp gone, omitfp rulez

[r14805]

17 years agoTestcase for wrong stab info.
Christoph Mallon [Thu, 28 Jun 2007 09:01:47 +0000 (09:01 +0000)]
Testcase for wrong stab info.

[r14800]

17 years agoRemove unused variable.
Christoph Mallon [Wed, 27 Jun 2007 16:34:53 +0000 (16:34 +0000)]
Remove unused variable.

[r14798]

17 years agostatic
Christoph Mallon [Wed, 27 Jun 2007 16:34:40 +0000 (16:34 +0000)]
static

[r14797]

17 years agoFix non-debug build of FIRM.
Christoph Mallon [Wed, 27 Jun 2007 16:29:33 +0000 (16:29 +0000)]
Fix non-debug build of FIRM.

[r14796]