libfirm
16 years agolittle progress ...
Michael Beck [Thu, 27 Sep 2007 15:26:33 +0000 (15:26 +0000)]
little progress ...

[r15959]

16 years agomore tests
Matthias Braun [Thu, 27 Sep 2007 15:24:27 +0000 (15:24 +0000)]
more tests

[r15958]

16 years agotest
Matthias Braun [Thu, 27 Sep 2007 15:19:37 +0000 (15:19 +0000)]
test

[r15957]

16 years agotest
Matthias Braun [Thu, 27 Sep 2007 15:16:10 +0000 (15:16 +0000)]
test

[r15956]

16 years agotest
Matthias Braun [Thu, 27 Sep 2007 15:09:47 +0000 (15:09 +0000)]
test

[r15955]

16 years agotest
Matthias Braun [Thu, 27 Sep 2007 15:08:45 +0000 (15:08 +0000)]
test

[r15954]

16 years agoAllow two should-be-same constraints for every out register. This is useful for commu...
Christoph Mallon [Thu, 27 Sep 2007 15:07:27 +0000 (15:07 +0000)]
Allow two should-be-same constraints for every out register. This is useful for commutative nodes on two address code machines (i.e. x86).

[r15953]

16 years agoremove add64 (mereley a test commit for the rss feed)
Matthias Braun [Thu, 27 Sep 2007 15:06:58 +0000 (15:06 +0000)]
remove add64 (mereley a test commit for the rss feed)

[r15952]

16 years agoremoved unneccessary constraints
Michael Beck [Thu, 27 Sep 2007 14:21:55 +0000 (14:21 +0000)]
removed unneccessary constraints

[r15948]

16 years agofixed skipping of Pin Nodes before Mod/Div/DivMod
Michael Beck [Thu, 27 Sep 2007 13:53:55 +0000 (13:53 +0000)]
fixed skipping of Pin Nodes before Mod/Div/DivMod

[r15947]

16 years agoextend the x % 2 CMP 0 into x % 2^n CMP 0
Michael Beck [Thu, 27 Sep 2007 13:19:07 +0000 (13:19 +0000)]
extend the x % 2 CMP 0 into x % 2^n CMP 0

[r15944]

16 years agoadd special case for (x % 2) ==|!= 0, speeds up fehler83.c
Michael Beck [Thu, 27 Sep 2007 12:39:48 +0000 (12:39 +0000)]
add special case for (x % 2) ==|!= 0, speeds up fehler83.c

[r15943]

16 years agoAdd the famous ENDOF() macro which calculates the address of the one past last elemen...
Christoph Mallon [Thu, 27 Sep 2007 12:08:12 +0000 (12:08 +0000)]
Add the famous ENDOF() macro which calculates the address of the one past last element of an array whose size is known statically.

[r15942]

16 years agohack to allow using different eccps
Matthias Braun [Thu, 27 Sep 2007 11:43:39 +0000 (11:43 +0000)]
hack to allow using different eccps

[r15941]

16 years agoRestructure to make the assembler easier to read.
Christoph Mallon [Thu, 27 Sep 2007 10:08:37 +0000 (10:08 +0000)]
Restructure to make the assembler easier to read.

[r15936]

16 years agoRemoved USE_FAST_PHI_CONSTRUCTION and USE_EXPLICIT_PHI_IN_STACK
Michael Beck [Thu, 27 Sep 2007 09:51:41 +0000 (09:51 +0000)]
Removed USE_FAST_PHI_CONSTRUCTION and USE_EXPLICIT_PHI_IN_STACK
options: This code is neither used nor usefull in current Firm

Fixed handling of exceptional memory.

[r15935]

16 years agoFix fehler83: The mode of the outer Sub in the transformation Sub(Sub(x, y), b) ...
Christoph Mallon [Thu, 27 Sep 2007 07:57:07 +0000 (07:57 +0000)]
Fix fehler83: The mode of the outer Sub in the transformation Sub(Sub(x, y), b) -> Sub(x, Add(y, b)) must not change.

[r15933]

16 years agodont push constrained nodes through perms (fixes fehler82)
Matthias Braun [Wed, 26 Sep 2007 19:48:22 +0000 (19:48 +0000)]
dont push constrained nodes through perms (fixes fehler82)

[r15932]

16 years agofehler83
Matthias Braun [Wed, 26 Sep 2007 19:23:57 +0000 (19:23 +0000)]
fehler83

[r15931]

16 years agofehler82
Matthias Braun [Wed, 26 Sep 2007 19:11:05 +0000 (19:11 +0000)]
fehler82

[r15930]

16 years agono environment anymore for emitters
Matthias Braun [Wed, 26 Sep 2007 15:33:09 +0000 (15:33 +0000)]
no environment anymore for emitters

[r15927]

16 years agoTeach FILd to use source AM.
Christoph Mallon [Wed, 26 Sep 2007 14:12:25 +0000 (14:12 +0000)]
Teach FILd to use source AM.

[r15925]

16 years agoFix grammo in comment.
Christoph Mallon [Tue, 25 Sep 2007 20:39:09 +0000 (20:39 +0000)]
Fix grammo in comment.

[r15921]

16 years agoC99 feature removed
Michael Beck [Tue, 25 Sep 2007 14:33:00 +0000 (14:33 +0000)]
C99 feature removed

[r15919]

16 years ago- never use (broken) sequential load/store in abi
Matthias Braun [Tue, 25 Sep 2007 13:57:17 +0000 (13:57 +0000)]
- never use (broken) sequential load/store in abi
- more sophisticated address mode code selection, brings huge speedups in
  164.gzip

[r15918]

16 years agoad-hoc fix for mul/add problem
Matthias Braun [Mon, 24 Sep 2007 16:16:24 +0000 (16:16 +0000)]
ad-hoc fix for mul/add problem

[r15914]

16 years agoFix r15888.
Christoph Mallon [Thu, 20 Sep 2007 17:58:14 +0000 (17:58 +0000)]
Fix r15888.

[r15907]

16 years ago- use flags handling code for ia32 Compares (including Cmov, Set, Jcc)
Matthias Braun [Thu, 20 Sep 2007 14:18:41 +0000 (14:18 +0000)]
- use flags handling code for ia32 Compares (including Cmov, Set, Jcc)
- Allow Source/DestAM with 8/16bit modes where this is profitable

[r15906]

16 years agofixed Push creation (use new constants for get_irn_n() calls)
Michael Beck [Thu, 20 Sep 2007 13:16:36 +0000 (13:16 +0000)]
fixed Push creation (use new constants for get_irn_n() calls)

[r15905]

16 years agoseveral fixes for the flags handler
Matthias Braun [Thu, 20 Sep 2007 12:25:25 +0000 (12:25 +0000)]
several fixes for the flags handler

[r15902]

16 years agoadd an be_node_add_flags function
Matthias Braun [Thu, 20 Sep 2007 12:25:07 +0000 (12:25 +0000)]
add an be_node_add_flags function

[r15901]

16 years agoextended and improved
Michael Beck [Thu, 20 Sep 2007 12:04:24 +0000 (12:04 +0000)]
extended and improved

[r15900]

16 years agodemonstrates a FE error
Michael Beck [Thu, 20 Sep 2007 11:46:02 +0000 (11:46 +0000)]
demonstrates a FE error

[r15899]

16 years agofixed double enum name
Michael Beck [Thu, 20 Sep 2007 10:03:13 +0000 (10:03 +0000)]
fixed double enum name

[r15898]

16 years agoImplement -(a * const) -> a * -const.
Christoph Mallon [Thu, 20 Sep 2007 09:56:06 +0000 (09:56 +0000)]
Implement -(a * const) -> a * -const.

[r15897]

16 years ago- introduced better running flags
Michael Beck [Thu, 20 Sep 2007 09:36:48 +0000 (09:36 +0000)]
- introduced better running flags
- fixed wrong condition in iropt.c

[r15896]

16 years agoAdd a reassoc_running flag used to disable some local optimizations only while reasso...
Michael Beck [Thu, 20 Sep 2007 09:02:45 +0000 (09:02 +0000)]
Add a reassoc_running flag used to disable some local optimizations only while reassoc is running (to prevent endless loops)

[r15895]

16 years agoC99 features removed
Michael Beck [Thu, 20 Sep 2007 09:01:38 +0000 (09:01 +0000)]
C99 features removed

[r15894]

16 years agoAdd a test for x + x + x + ...
Michael Beck [Thu, 20 Sep 2007 09:00:56 +0000 (09:00 +0000)]
Add a test for x + x + x + ...

[r15893]

16 years agoC99 features removed
Michael Beck [Thu, 20 Sep 2007 08:55:41 +0000 (08:55 +0000)]
C99 features removed

[r15891]

16 years agoAdd test for double call
Michael Beck [Thu, 20 Sep 2007 08:51:23 +0000 (08:51 +0000)]
Add test for double call

[r15890]

16 years agofehler80
Matthias Braun [Wed, 19 Sep 2007 21:20:37 +0000 (21:20 +0000)]
fehler80

[r15889]

16 years agoImplement ~x ^ const -> x ^ ~const and ~(x ^ const) -> x ^ ~const.
Christoph Mallon [Wed, 19 Sep 2007 20:29:40 +0000 (20:29 +0000)]
Implement ~x ^ const -> x ^ ~const and ~(x ^ const) -> x ^ ~const.

[r15888]

16 years agoUse already fetched value.
Christoph Mallon [Wed, 19 Sep 2007 20:09:40 +0000 (20:09 +0000)]
Use already fetched value.

[r15887]

16 years agoImplement x ^ 1...1 -> ~1 (This worked only for mode_b so far).
Christoph Mallon [Wed, 19 Sep 2007 20:05:03 +0000 (20:05 +0000)]
Implement x ^ 1...1 -> ~1 (This worked only for mode_b so far).

[r15886]

16 years agoFix typo in comment.
Christoph Mallon [Wed, 19 Sep 2007 19:24:56 +0000 (19:24 +0000)]
Fix typo in comment.

[r15885]

16 years agoImplement ~-x -> x + -1.
Christoph Mallon [Wed, 19 Sep 2007 19:09:26 +0000 (19:09 +0000)]
Implement ~-x -> x + -1.

[r15884]

16 years ago- Change ~(x - 1) -> -x to ~(x + -1) -> -x, because the former pattern is always...
Christoph Mallon [Wed, 19 Sep 2007 19:01:12 +0000 (19:01 +0000)]
- Change ~(x - 1) -> -x to ~(x + -1) -> -x, because the former pattern is always changed into the latter pattern.
 - Also only allow this transformation with two's complement arithmetics.

[r15883]

16 years agoGet rid of be_SetSP.
Christoph Mallon [Wed, 19 Sep 2007 16:55:19 +0000 (16:55 +0000)]
Get rid of be_SetSP.

[r15882]

16 years agoallow get_tarval_null for mode_b
Matthias Braun [Wed, 19 Sep 2007 16:32:42 +0000 (16:32 +0000)]
allow get_tarval_null for mode_b

[r15881]

16 years agotestcase for no yet comitted flags code
Matthias Braun [Wed, 19 Sep 2007 13:19:53 +0000 (13:19 +0000)]
testcase for no yet comitted flags code

[r15880]

16 years agoget_Const_tarval(x) == get_mode_null(get_irn_mode(x)) -> is_Const_null(x).
Christoph Mallon [Tue, 18 Sep 2007 20:51:38 +0000 (20:51 +0000)]
get_Const_tarval(x) == get_mode_null(get_irn_mode(x)) -> is_Const_null(x).

[r15879]

16 years agoRemove a redundant test: The mode of an operand of an Eor must match the mode of...
Christoph Mallon [Tue, 18 Sep 2007 20:40:12 +0000 (20:40 +0000)]
Remove a redundant test: The mode of an operand of an Eor must match the mode of the Eor.

[r15878]

16 years agoReplace get_irn_op(x) == op_FOO by is_FOO(x).
Christoph Mallon [Tue, 18 Sep 2007 20:37:46 +0000 (20:37 +0000)]
Replace get_irn_op(x) == op_FOO by is_FOO(x).

[r15877]

16 years agoRemove a redundant test: The mode of the op of a Not must match the mode of the Not.
Christoph Mallon [Tue, 18 Sep 2007 19:25:11 +0000 (19:25 +0000)]
Remove a redundant test: The mode of the op of a Not must match the mode of the Not.

[r15876]

16 years agodo optimize_graph after abi
Matthias Braun [Tue, 18 Sep 2007 19:02:37 +0000 (19:02 +0000)]
do optimize_graph after abi

[r15875]

16 years agoFix r15800: a & (a ^ b) is a & ~b, not a & -b.
Christoph Mallon [Tue, 18 Sep 2007 18:40:40 +0000 (18:40 +0000)]
Fix r15800: a & (a ^ b) is a & ~b, not a & -b.

[r15874]

16 years agodifferent test to catch the bug in the implementation...
Matthias Braun [Tue, 18 Sep 2007 18:38:01 +0000 (18:38 +0000)]
different test to catch the bug in the implementation...

[r15873]

16 years agoforgot to comitt benode for new perm_reduce semantics
Matthias Braun [Tue, 18 Sep 2007 18:02:55 +0000 (18:02 +0000)]
forgot to comitt benode for new perm_reduce semantics

[r15872]

16 years agoremove debug statements
Matthias Braun [Tue, 18 Sep 2007 18:01:49 +0000 (18:01 +0000)]
remove debug statements

[r15871]

16 years agoremove debug printf
Matthias Braun [Tue, 18 Sep 2007 16:32:36 +0000 (16:32 +0000)]
remove debug printf

[r15870]

16 years agorewrote be_lower to correctly respect schedule on push_through_perm
Matthias Braun [Tue, 18 Sep 2007 16:31:57 +0000 (16:31 +0000)]
rewrote be_lower to correctly respect schedule on push_through_perm

[r15869]

16 years agoTreat the lower word of lowered 64bit operations always as unsigned. Using the same...
Christoph Mallon [Tue, 18 Sep 2007 15:17:52 +0000 (15:17 +0000)]
Treat the lower word of lowered 64bit operations always as unsigned. Using the same signedness as the high word is wrong (for example x < 0).

[r15868]

16 years agofix warning
Matthias Braun [Tue, 18 Sep 2007 15:14:10 +0000 (15:14 +0000)]
fix warning

[r15867]

16 years agofor now forbid rematerialisation of flag changing nodes
Matthias Braun [Tue, 18 Sep 2007 15:08:31 +0000 (15:08 +0000)]
for now forbid rematerialisation of flag changing nodes

[r15866]

16 years agouse register class flags to determine which classes don't need RA
Matthias Braun [Tue, 18 Sep 2007 15:07:26 +0000 (15:07 +0000)]
use register class flags to determine which classes don't need RA

[r15865]

16 years agonever move around flag mofying nodes
Matthias Braun [Tue, 18 Sep 2007 15:06:49 +0000 (15:06 +0000)]
never move around flag mofying nodes

[r15864]

16 years agouse register_class_types, remove flag definitions
Matthias Braun [Tue, 18 Sep 2007 15:06:16 +0000 (15:06 +0000)]
use register_class_types, remove flag definitions

[r15863]

16 years agoremove (probably accidently comitted) write_node/read_node function declaration
Matthias Braun [Tue, 18 Sep 2007 15:05:54 +0000 (15:05 +0000)]
remove (probably accidently comitted) write_node/read_node function declaration

[r15862]

16 years agofix warning, disable negative symconsts
Matthias Braun [Tue, 18 Sep 2007 15:02:23 +0000 (15:02 +0000)]
fix warning, disable negative symconsts

[r15861]

16 years agoflags for register classes
Matthias Braun [Tue, 18 Sep 2007 14:52:38 +0000 (14:52 +0000)]
flags for register classes

[r15860]

16 years agoremove old (nonfinished) flags handling, allow specification of flags for register...
Matthias Braun [Tue, 18 Sep 2007 14:52:13 +0000 (14:52 +0000)]
remove old (nonfinished) flags handling, allow specification of flags for register classes

[r15859]

16 years agorehash fixed loop nodes in betranshelp
Matthias Braun [Tue, 18 Sep 2007 11:38:25 +0000 (11:38 +0000)]
rehash fixed loop nodes in betranshelp

[r15858]

16 years agomake beflags work for cases where the flags are produced in a different block
Matthias Braun [Tue, 18 Sep 2007 09:23:32 +0000 (09:23 +0000)]
make beflags work for cases where the flags are produced in a different block

[r15857]

16 years agoadd midding modify_flags case
Matthias Braun [Tue, 18 Sep 2007 09:22:39 +0000 (09:22 +0000)]
add midding modify_flags case

[r15856]

16 years agofixed lots of syntax/semantic errors
Matthias Braun [Tue, 18 Sep 2007 09:10:05 +0000 (09:10 +0000)]
fixed lots of syntax/semantic errors

[r15855]

16 years agoinitial versions of new two complement code
Michael Beck [Tue, 18 Sep 2007 06:38:16 +0000 (06:38 +0000)]
initial versions of new two complement code

[r15853]

16 years agoDisabled matrix dumping.
Sebastian Hack [Mon, 17 Sep 2007 20:23:21 +0000 (20:23 +0000)]
Disabled matrix dumping.
Sorry folks, shame on me.

[r15852]

16 years agoRemove be_abi_get_start_barrier(). Nobody calls it anymore.
Christoph Mallon [Mon, 17 Sep 2007 19:38:14 +0000 (19:38 +0000)]
Remove be_abi_get_start_barrier(). Nobody calls it anymore.

[r15851]

16 years agoLet constants and simular things depend on the stack frame instead of the barrier.
Christoph Mallon [Mon, 17 Sep 2007 19:37:29 +0000 (19:37 +0000)]
Let constants and simular things depend on the stack frame instead of the barrier.

[r15850]

16 years agoRemove a write-only local variable.
Christoph Mallon [Mon, 17 Sep 2007 18:58:35 +0000 (18:58 +0000)]
Remove a write-only local variable.

[r15849]

16 years agoSimplify is_Const_Minus_1().
Christoph Mallon [Mon, 17 Sep 2007 16:38:59 +0000 (16:38 +0000)]
Simplify is_Const_Minus_1().

[r15847]

16 years agoUse is_Const_one() instead of tarval_is_one(get_Const_tarval()).
Christoph Mallon [Mon, 17 Sep 2007 16:36:14 +0000 (16:36 +0000)]
Use is_Const_one() instead of tarval_is_one(get_Const_tarval()).

[r15846]

16 years agoUse is_Const_all_one() instead of tarval_is_all_one(get_Const_tarval()).
Christoph Mallon [Mon, 17 Sep 2007 16:31:52 +0000 (16:31 +0000)]
Use is_Const_all_one() instead of tarval_is_all_one(get_Const_tarval()).

[r15845]

16 years agoRemove dead code: tarval_is_long() returns true for mode_P null constants.
Christoph Mallon [Mon, 17 Sep 2007 16:29:48 +0000 (16:29 +0000)]
Remove dead code: tarval_is_long() returns true for mode_P null constants.

[r15844]

16 years agoUse is_Const_null() instead of tarval_is_null(get_Const_tarval()).
Christoph Mallon [Mon, 17 Sep 2007 16:26:46 +0000 (16:26 +0000)]
Use is_Const_null() instead of tarval_is_null(get_Const_tarval()).

[r15843]

16 years agoRemove classify_Const() and replace it by is_Const_{null,one,all_one}().
Christoph Mallon [Mon, 17 Sep 2007 16:12:01 +0000 (16:12 +0000)]
Remove classify_Const() and replace it by is_Const_{null,one,all_one}().

[r15842]

16 years agoC99 features removed
Michael Beck [Mon, 17 Sep 2007 16:10:50 +0000 (16:10 +0000)]
C99 features removed

[r15841]

16 years agoWorks now with endless loops.
Sebastian Hack [Mon, 17 Sep 2007 15:18:56 +0000 (15:18 +0000)]
Works now with endless loops.
However, exec freq is 0.0 allover.
On the other hand, what is the execution frequency of an endless loop? infinity?

[r15840]

16 years agoRemove enum tarval_classification_t.
Christoph Mallon [Mon, 17 Sep 2007 15:11:26 +0000 (15:11 +0000)]
Remove enum tarval_classification_t.

[r15839]

16 years agoFix r15829.
Christoph Mallon [Mon, 17 Sep 2007 15:02:13 +0000 (15:02 +0000)]
Fix r15829.

[r15838]

16 years agoRemove classify_tarval(). Use tarval_is_null(), tarval_is_one() and tarval_is_all_one...
Christoph Mallon [Mon, 17 Sep 2007 14:51:21 +0000 (14:51 +0000)]
Remove classify_tarval(). Use tarval_is_null(), tarval_is_one() and tarval_is_all_one() instead.

[r15837]

16 years agofix
Matthias Braun [Mon, 17 Sep 2007 14:47:46 +0000 (14:47 +0000)]
fix

[r15836]

16 years agoAllow Convb in backend.
Christoph Mallon [Mon, 17 Sep 2007 14:38:36 +0000 (14:38 +0000)]
Allow Convb in backend.

[r15835]

16 years agodo sign extension for teo completent only
Michael Beck [Mon, 17 Sep 2007 14:34:39 +0000 (14:34 +0000)]
do sign extension for teo completent only

[r15834]

16 years agouse length parameter and not sc_get_buffer_length
Matthias Braun [Mon, 17 Sep 2007 14:07:23 +0000 (14:07 +0000)]
use length parameter and not sc_get_buffer_length

[r15833]

16 years agotest for CSE moving flags into different block
Matthias Braun [Mon, 17 Sep 2007 13:36:52 +0000 (13:36 +0000)]
test for CSE moving flags into different block

[r15832]

16 years agoAdd TODO.
Christoph Mallon [Mon, 17 Sep 2007 12:47:41 +0000 (12:47 +0000)]
Add TODO.

[r15831]

16 years agoAssert that static initialiser data does not overlap.
Christoph Mallon [Mon, 17 Sep 2007 12:47:24 +0000 (12:47 +0000)]
Assert that static initialiser data does not overlap.

[r15830]

16 years agoCmp(Conv(x), 0) -> Cmp(x, 0) if dest mode ist wider than source mode.
Christoph Mallon [Mon, 17 Sep 2007 12:31:16 +0000 (12:31 +0000)]
Cmp(Conv(x), 0) -> Cmp(x, 0) if dest mode ist wider than source mode.

[r15829]