libfirm
16 years agofix mode_b optimisation with compares
Matthias Braun [Thu, 23 Aug 2007 17:40:37 +0000 (17:40 +0000)]
fix mode_b optimisation with compares

[r15598]

16 years agooptimize and,or,eor with Projs from same Cmp
Matthias Braun [Thu, 23 Aug 2007 17:40:08 +0000 (17:40 +0000)]
optimize and,or,eor with Projs from same Cmp

[r15597]

16 years agocorrectly handle cmps that can't be evaluated
Matthias Braun [Thu, 23 Aug 2007 17:39:27 +0000 (17:39 +0000)]
correctly handle cmps that can't be evaluated

[r15596]

16 years agoimproved shifting with constants
Michael Beck [Thu, 23 Aug 2007 16:54:40 +0000 (16:54 +0000)]
improved shifting with constants

[r15595]

16 years agohandle bool as method argument and result correctly
Matthias Braun [Thu, 23 Aug 2007 14:01:04 +0000 (14:01 +0000)]
handle bool as method argument and result correctly

[r15593]

16 years agofix
Matthias Braun [Thu, 23 Aug 2007 13:57:14 +0000 (13:57 +0000)]
fix

[r15592]

16 years agodo Conv after Set command (instead of mov 0,) before the set, should be as fast as...
Matthias Braun [Thu, 23 Aug 2007 13:55:43 +0000 (13:55 +0000)]
do Conv after Set command (instead of mov 0,) before the set, should be as fast as before but opens up other optimisation possibilities

[r15591]

16 years agodisable the initial-proj removal from beabi (transform phases do it themselfes now)
Matthias Braun [Thu, 23 Aug 2007 13:53:58 +0000 (13:53 +0000)]
disable the initial-proj removal from beabi (transform phases do it themselfes now)

[r15590]

16 years agotypo fixed
Michael Beck [Thu, 23 Aug 2007 13:12:40 +0000 (13:12 +0000)]
typo fixed

[r15589]

16 years agobeware of pointer arithmetic with different integer modes
Michael Beck [Thu, 23 Aug 2007 13:11:05 +0000 (13:11 +0000)]
beware of pointer arithmetic with different integer modes

[r15588]

16 years agotransform Shl(x,Const) into Muls for more normalization
Michael Beck [Thu, 23 Aug 2007 11:49:57 +0000 (11:49 +0000)]
transform Shl(x,Const) into Muls for more normalization

[r15587]

16 years agoimproved constant movement AND reverse distributive law
Michael Beck [Thu, 23 Aug 2007 10:02:11 +0000 (10:02 +0000)]
improved constant movement AND reverse distributive law

[r15586]

16 years agofirst version with moving consts upwards
Michael Beck [Wed, 22 Aug 2007 16:13:57 +0000 (16:13 +0000)]
first version with moving consts upwards

[r15584]

16 years agoadd a phase to reverse distributive law rules
Michael Beck [Wed, 22 Aug 2007 14:42:33 +0000 (14:42 +0000)]
add a phase to reverse distributive law rules

[r15583]

16 years agofix abs creation after recent reassoc changes
Matthias Braun [Wed, 22 Aug 2007 12:30:04 +0000 (12:30 +0000)]
fix abs creation after recent reassoc changes

[r15582]

16 years agoam_test2
Matthias Braun [Wed, 22 Aug 2007 11:10:34 +0000 (11:10 +0000)]
am_test2

[r15581]

16 years agoimproved version of fehler71
Matthias Braun [Wed, 22 Aug 2007 11:02:09 +0000 (11:02 +0000)]
improved version of fehler71

[r15580]

16 years agofix sse/x87 fixup code added at wrong places
Matthias Braun [Wed, 22 Aug 2007 11:01:42 +0000 (11:01 +0000)]
fix sse/x87 fixup code added at wrong places

[r15579]

16 years agodebug handle must be static
Michael Beck [Wed, 22 Aug 2007 09:38:14 +0000 (09:38 +0000)]
debug handle must be static

[r15578]

16 years agoBugFix: handle the method initializer right
Michael Beck [Tue, 21 Aug 2007 13:57:31 +0000 (13:57 +0000)]
BugFix: handle the method initializer right

[r15577]

16 years agoirg_block_edges_walk() implemented
Michael Beck [Tue, 21 Aug 2007 13:49:16 +0000 (13:49 +0000)]
irg_block_edges_walk() implemented

[r15576]

16 years agomake fehler68 deterministic
Matthias Braun [Tue, 21 Aug 2007 13:24:27 +0000 (13:24 +0000)]
make fehler68 deterministic

[r15575]

16 years agofix header installation
Matthias Braun [Tue, 21 Aug 2007 12:55:50 +0000 (12:55 +0000)]
fix header installation

[r15571]

16 years agofixed optimize_conv_conv(): when the result is 8bit, we must change the opcode AND...
Michael Beck [Mon, 20 Aug 2007 12:10:49 +0000 (12:10 +0000)]
fixed optimize_conv_conv(): when the result is 8bit, we must change the opcode AND register constraints

[r15569]

16 years agoAdd - (a - b) = b - a transformation
Michael Beck [Mon, 20 Aug 2007 11:21:47 +0000 (11:21 +0000)]
Add - (a - b) = b - a transformation

[r15568]

16 years agoC99 feature removed
Michael Beck [Mon, 20 Aug 2007 10:11:29 +0000 (10:11 +0000)]
C99 feature removed

[r15567]

16 years agofix for barrier in mode_b lowering
Matthias Braun [Sun, 19 Aug 2007 19:55:49 +0000 (19:55 +0000)]
fix for barrier in mode_b lowering

[r15566]

16 years agoRemove an unnecessary layer of indirection from the scheduler selectors.
Christoph Mallon [Sat, 18 Aug 2007 06:58:57 +0000 (06:58 +0000)]
Remove an unnecessary layer of indirection from the scheduler selectors.

[r15565]

16 years agoAdd a scheduler based on the strong normal form theorem. It seems to deliver good...
Christoph Mallon [Sat, 18 Aug 2007 06:49:41 +0000 (06:49 +0000)]
Add a scheduler based on the strong normal form theorem. It seems to deliver good results for broad calculation trees/DAGs.
Caution: The implemententation is a cruel hack so far. Contents may be hot. Slippery when wet.

[r15564]

16 years agoMinor changes
Sebastian Hack [Fri, 17 Aug 2007 11:55:39 +0000 (11:55 +0000)]
Minor changes

[r15563]

16 years agoSmall cosmetic
Sebastian Hack [Fri, 17 Aug 2007 11:47:23 +0000 (11:47 +0000)]
Small cosmetic

[r15562]

16 years agoAdded a new order for the blocks.
Sebastian Hack [Fri, 17 Aug 2007 11:46:36 +0000 (11:46 +0000)]
Added a new order for the blocks.

[r15561]

16 years agoChanged API of liveness
Sebastian Hack [Fri, 17 Aug 2007 11:45:54 +0000 (11:45 +0000)]
Changed API of liveness
It gets a beirg not an irg anymore

[r15560]

16 years agoChanged API of listscheduler
Sebastian Hack [Fri, 17 Aug 2007 11:41:46 +0000 (11:41 +0000)]
Changed API of listscheduler
init_graph now gets a birg not a arch_env/irg

[r15559]

16 years agoTalk to sqlite3 directly
Sebastian Hack [Fri, 17 Aug 2007 11:38:52 +0000 (11:38 +0000)]
Talk to sqlite3 directly
changed options

[r15558]

16 years agoDropped some consts
Sebastian Hack [Fri, 17 Aug 2007 11:38:17 +0000 (11:38 +0000)]
Dropped some consts
modified constructor of irlivechk

[r15557]

16 years agomore on array sets
Sebastian Hack [Fri, 17 Aug 2007 11:37:26 +0000 (11:37 +0000)]
more on array sets

[r15556]

16 years agoRemoved old implementaion of fast liveness checks
Sebastian Hack [Fri, 17 Aug 2007 11:26:57 +0000 (11:26 +0000)]
Removed old implementaion of fast liveness checks

[r15555]

16 years agoFixed help
Sebastian Hack [Thu, 16 Aug 2007 10:54:20 +0000 (10:54 +0000)]
Fixed help

[r15550]

16 years agoAdded computation of live sets
Sebastian Hack [Thu, 16 Aug 2007 09:26:49 +0000 (09:26 +0000)]
Added computation of live sets

[r15549]

16 years agoNicified the options
Sebastian Hack [Wed, 15 Aug 2007 16:58:04 +0000 (16:58 +0000)]
Nicified the options
Nau bedda tu jus.

[r15548]

16 years agoAdded statev to sql transform script
Sebastian Hack [Wed, 15 Aug 2007 16:47:40 +0000 (16:47 +0000)]
Added statev to sql transform script

[r15547]

16 years agofehler71
Matthias Braun [Tue, 14 Aug 2007 20:07:45 +0000 (20:07 +0000)]
fehler71

[r15546]

16 years agoFixed a bug
Sebastian Hack [Tue, 14 Aug 2007 16:03:23 +0000 (16:03 +0000)]
Fixed a bug

[r15545]

16 years agoAdded misc stuff
Sebastian Hack [Tue, 14 Aug 2007 15:31:11 +0000 (15:31 +0000)]
Added misc stuff

[r15544]

16 years agoRemoved comment
Sebastian Hack [Tue, 14 Aug 2007 15:30:30 +0000 (15:30 +0000)]
Removed comment

[r15543]

16 years agoRemove stale debug printf()s.
Christoph Mallon [Tue, 14 Aug 2007 14:52:28 +0000 (14:52 +0000)]
Remove stale debug printf()s.

[r15542]

16 years agooutput signed
Matthias Braun [Tue, 14 Aug 2007 14:41:15 +0000 (14:41 +0000)]
output signed

[r15541]

16 years agoAdd x - (a+x) = -a
Michael Beck [Tue, 14 Aug 2007 14:39:40 +0000 (14:39 +0000)]
Add x - (a+x) = -a

[r15540]

16 years agodon't display time in tests
Matthias Braun [Tue, 14 Aug 2007 14:23:11 +0000 (14:23 +0000)]
don't display time in tests

[r15539]

16 years agodon't run several seconds for tests
Matthias Braun [Tue, 14 Aug 2007 14:16:12 +0000 (14:16 +0000)]
don't run several seconds for tests

[r15538]

16 years agofehler70: wrong mode for array access generated in front end.
Christoph Mallon [Tue, 14 Aug 2007 12:03:05 +0000 (12:03 +0000)]
fehler70: wrong mode for array access generated in front end.

[r15534]

16 years agoAdded libfirm version macros again. They are only set if they weren't set in the...
Andreas Schösser [Tue, 14 Aug 2007 10:09:18 +0000 (10:09 +0000)]
Added libfirm version macros again. They are only set if they weren't set in the environment/configure script

[r15532]

16 years agorestructured reassociation to handle more cases (rule R7, R8 were not working)
Michael Beck [Mon, 13 Aug 2007 15:56:53 +0000 (15:56 +0000)]
restructured reassociation to handle more cases (rule R7, R8 were not working)

[r15531]

16 years agofix fehler69
Matthias Braun [Mon, 13 Aug 2007 15:08:57 +0000 (15:08 +0000)]
fix fehler69

[r15530]

16 years agono need for 2 main functions
Matthias Braun [Mon, 13 Aug 2007 13:31:05 +0000 (13:31 +0000)]
no need for 2 main functions

[r15528]

16 years agodisplay address mode in node label
Matthias Braun [Mon, 13 Aug 2007 13:30:17 +0000 (13:30 +0000)]
display address mode in node label

[r15527]

16 years agofix fehler68 (sse unknowns have wrong reg class)
Matthias Braun [Mon, 13 Aug 2007 13:27:07 +0000 (13:27 +0000)]
fix fehler68 (sse unknowns have wrong reg class)

[r15526]

16 years agofehler69: endless loop compiled program. maybe spill problem.
Christoph Mallon [Mon, 13 Aug 2007 13:11:41 +0000 (13:11 +0000)]
fehler69: endless loop compiled program. maybe spill problem.

[r15524]

16 years agoAdded 2 testcases for the IA32 backend
Andreas Schösser [Mon, 13 Aug 2007 12:34:35 +0000 (12:34 +0000)]
Added 2 testcases for the IA32 backend

[r15523]

16 years agoFixed a const warning
Sebastian Hack [Thu, 9 Aug 2007 20:16:54 +0000 (20:16 +0000)]
Fixed a const warning

[r15516]

16 years agoRewrote the state tramsaction handling.
Sebastian Hack [Thu, 9 Aug 2007 20:04:42 +0000 (20:04 +0000)]
Rewrote the state tramsaction handling.
ja2 works better now... Going to test SPEC.

[r15515]

16 years agoenhanced version to test shifts with >32
Michael Beck [Thu, 9 Aug 2007 14:29:05 +0000 (14:29 +0000)]
enhanced version to test shifts with >32

[r15513]

16 years agofixed 64bit Shift lowering
Michael Beck [Thu, 9 Aug 2007 13:48:30 +0000 (13:48 +0000)]
fixed 64bit Shift lowering

[r15512]

16 years agolower_intrinsics() now has an additional parameter alloweing part_block() to be used
Michael Beck [Thu, 9 Aug 2007 13:48:02 +0000 (13:48 +0000)]
lower_intrinsics() now has an additional parameter alloweing part_block() to be used

[r15511]

16 years agolower_intrinsics() now has an additional parameter alloweing part_block() to be used
Michael Beck [Thu, 9 Aug 2007 13:47:22 +0000 (13:47 +0000)]
lower_intrinsics() now has an additional parameter alloweing part_block() to be used

[r15510]

16 years agoset need_64bit_stackent flag on fistp-load when needed
Matthias Braun [Thu, 9 Aug 2007 12:23:20 +0000 (12:23 +0000)]
set need_64bit_stackent flag on fistp-load when needed

[r15509]

16 years agofix warning
Matthias Braun [Thu, 9 Aug 2007 09:30:58 +0000 (09:30 +0000)]
fix warning

[r15508]

16 years agodon't use llabs, edg has no prototype
Michael Beck [Wed, 8 Aug 2007 16:46:29 +0000 (16:46 +0000)]
don't use llabs, edg has no prototype

[r15506]

16 years agofixed 64bit instrinsics for Div/Mod/Shr/Shl/Shrs
Michael Beck [Wed, 8 Aug 2007 16:42:27 +0000 (16:42 +0000)]
fixed 64bit instrinsics for Div/Mod/Shr/Shl/Shrs

[r15505]

16 years agohandle ia32_l_vfist node
Michael Beck [Wed, 8 Aug 2007 14:37:51 +0000 (14:37 +0000)]
handle ia32_l_vfist node

[r15504]

16 years agofixed map_Mul; cleaned up a bit
Michael Beck [Wed, 8 Aug 2007 14:37:09 +0000 (14:37 +0000)]
fixed map_Mul; cleaned up a bit

[r15503]

16 years agocatch bad spillslot/memory networks
Matthias Braun [Wed, 8 Aug 2007 14:20:28 +0000 (14:20 +0000)]
catch bad spillslot/memory networks

[r15502]

16 years agonever CSE nodes which have no stack entities assigned yet but need them later (this...
Matthias Braun [Wed, 8 Aug 2007 14:20:02 +0000 (14:20 +0000)]
never CSE nodes which have no stack entities assigned yet but need them later (this fixes fehler66(

[r15501]

16 years agofehler66 (more unsigned int -> double magic)
Matthias Braun [Wed, 8 Aug 2007 14:19:03 +0000 (14:19 +0000)]
fehler66 (more unsigned int -> double magic)

[r15500]

16 years ago- Fix unsigned->double, double->unsigned convs
Matthias Braun [Wed, 8 Aug 2007 13:28:37 +0000 (13:28 +0000)]
- Fix unsigned->double, double->unsigned convs
- Support Syncs in spillslot coalescer

[r15499]

16 years agoadd unsigned long long to the test
Michael Beck [Wed, 8 Aug 2007 13:18:00 +0000 (13:18 +0000)]
add unsigned long long to the test

[r15498]

16 years agoFixed a bug concerning recursion.
Sebastian Hack [Wed, 8 Aug 2007 12:01:42 +0000 (12:01 +0000)]
Fixed a bug concerning recursion.

[r15497]

16 years agofehler65 (from 253.perl)
Matthias Braun [Wed, 8 Aug 2007 09:57:00 +0000 (09:57 +0000)]
fehler65 (from 253.perl)

[r15496]

16 years agoHandle ignore nodes as operands of Phis (Unknowns for example)
Sebastian Hack [Tue, 7 Aug 2007 15:24:14 +0000 (15:24 +0000)]
Handle ignore nodes as operands of Phis (Unknowns for example)

[r15495]

16 years agoemit a 0 if none of the AM info is set
Matthias Braun [Tue, 7 Aug 2007 13:48:44 +0000 (13:48 +0000)]
emit a 0 if none of the AM info is set

[r15494]

16 years agofehler64 (emit a 0 if none of the addressmode things is set)
Matthias Braun [Tue, 7 Aug 2007 13:48:25 +0000 (13:48 +0000)]
fehler64 (emit a 0 if none of the addressmode things is set)

[r15493]

16 years agoFixed compare function.
Sebastian Hack [Tue, 7 Aug 2007 13:48:14 +0000 (13:48 +0000)]
Fixed compare function.
Beware of subtraction and usinged variables!

[r15492]

16 years agooutput constants in assembler as hex
Matthias Braun [Tue, 7 Aug 2007 13:41:10 +0000 (13:41 +0000)]
output constants in assembler as hex

[r15491]

16 years agohandle indeces with different modes
Michael Beck [Tue, 7 Aug 2007 13:31:03 +0000 (13:31 +0000)]
handle indeces with different modes

[r15490]

16 years agofehler63
Matthias Braun [Tue, 7 Aug 2007 12:53:00 +0000 (12:53 +0000)]
fehler63

[r15488]

16 years agoensure that the tail call is in the same block as the return (fixes fehler62)
Michael Beck [Tue, 7 Aug 2007 11:17:14 +0000 (11:17 +0000)]
ensure that the tail call is in the same block as the return (fixes fehler62)

[r15487]

16 years agoshorter version
Matthias Braun [Mon, 6 Aug 2007 22:50:27 +0000 (22:50 +0000)]
shorter version

[r15486]

16 years agoadded comment
Matthias Braun [Mon, 6 Aug 2007 22:39:28 +0000 (22:39 +0000)]
added comment

[r15485]

16 years agofehler62: wrong tail-recursion optimisation
Matthias Braun [Mon, 6 Aug 2007 22:37:37 +0000 (22:37 +0000)]
fehler62: wrong tail-recursion optimisation

[r15484]

16 years agoskip Pin nodes if Div/Mod/DivMod/Qout are removed
Michael Beck [Mon, 6 Aug 2007 15:34:46 +0000 (15:34 +0000)]
skip Pin nodes if Div/Mod/DivMod/Qout are removed

[r15483]

16 years agoMark all entities used in initializers for global variables as address_taken (fixed...
Michael Beck [Mon, 6 Aug 2007 15:29:13 +0000 (15:29 +0000)]
Mark all entities used in initializers for global variables as address_taken (fixed fehler61.c)

[r15482]

16 years agofixed comment
Michael Beck [Mon, 6 Aug 2007 15:28:05 +0000 (15:28 +0000)]
fixed comment
used is_SymConst()

[r15481]

16 years agoindentation changed
Michael Beck [Mon, 6 Aug 2007 15:09:33 +0000 (15:09 +0000)]
indentation changed

[r15480]

16 years agofehler61: static function whose address is stored in a global variable incorrectly...
Christoph Mallon [Mon, 6 Aug 2007 14:24:49 +0000 (14:24 +0000)]
fehler61: static function whose address is stored in a global variable incorrectly is marked as fastcall.

[r15479]

16 years agoDo not optimize a+a into 2*a for non-integer modes
Michael Beck [Mon, 6 Aug 2007 14:01:54 +0000 (14:01 +0000)]
Do not optimize a+a into 2*a for non-integer modes

[r15478]

16 years agobetter treatment of costs
Sebastian Hack [Mon, 6 Aug 2007 11:27:35 +0000 (11:27 +0000)]
better treatment of costs

[r15476]

16 years agoImproved memory management
Sebastian Hack [Mon, 6 Aug 2007 08:56:22 +0000 (08:56 +0000)]
Improved memory management

[r15474]

16 years agoFixed (some) memory leaks.
Sebastian Hack [Sun, 5 Aug 2007 18:50:34 +0000 (18:50 +0000)]
Fixed (some) memory leaks.
and some bugs

[r15473]

16 years agoMinor cleanup (trailing whitespace etc.).
Christoph Mallon [Sun, 5 Aug 2007 15:49:03 +0000 (15:49 +0000)]
Minor cleanup (trailing whitespace etc.).

[r15472]