libfirm
17 years agoadapted to new liveness
Adam Szalkowski [Mon, 31 Jul 2006 16:05:33 +0000 (16:05 +0000)]
adapted to new liveness

17 years agoadd code to supress warnings
Michael Beck [Mon, 31 Jul 2006 11:43:14 +0000 (11:43 +0000)]
add code to supress warnings

17 years agoFixed a bug
Sebastian Hack [Mon, 31 Jul 2006 11:37:34 +0000 (11:37 +0000)]
Fixed a bug

17 years agoFixed a bug
Sebastian Hack [Mon, 31 Jul 2006 10:15:37 +0000 (10:15 +0000)]
Fixed a bug

17 years agoAdded Java-based copy coalescing heuritic version 3
Sebastian Hack [Mon, 31 Jul 2006 09:01:43 +0000 (09:01 +0000)]
Added Java-based copy coalescing heuritic version 3

17 years agoAdapted to new liveness
Sebastian Hack [Mon, 31 Jul 2006 08:55:05 +0000 (08:55 +0000)]
Adapted to new liveness
Added becopyheur3 (need to compile firm with --enable-jvm)

17 years agoadded spill cost estimation
Adam Szalkowski [Sat, 29 Jul 2006 09:19:34 +0000 (09:19 +0000)]
added spill cost estimation

17 years agofixed a bug
Adam Szalkowski [Sat, 29 Jul 2006 06:38:29 +0000 (06:38 +0000)]
fixed a bug

17 years agochilimbi related stack reordering
Sven Polk [Fri, 28 Jul 2006 15:08:31 +0000 (15:08 +0000)]
chilimbi related stack reordering

17 years agoAdded a ;
Sebastian Hack [Wed, 26 Jul 2006 13:43:23 +0000 (13:43 +0000)]
Added a ;

17 years agoAdded C wrapper to Daniel's coalescing JAVA framework
Sebastian Hack [Wed, 26 Jul 2006 13:37:53 +0000 (13:37 +0000)]
Added C wrapper to Daniel's coalescing JAVA framework

17 years agoadded statistic call for reload merging
Christian Würdig [Wed, 26 Jul 2006 12:47:31 +0000 (12:47 +0000)]
added statistic call for reload merging

17 years ago- reformat source file
Matthias Braun [Wed, 26 Jul 2006 09:09:26 +0000 (09:09 +0000)]
- reformat source file

17 years agocompute spill slots per register class
Christian Würdig [Mon, 24 Jul 2006 14:31:27 +0000 (14:31 +0000)]
compute spill slots per register class

17 years agocheck for memory operands
Christian Würdig [Mon, 24 Jul 2006 14:31:03 +0000 (14:31 +0000)]
check for memory operands
calculate spill slots for each register class separately

17 years agoadded new irn op callbacks for memory operands
Christian Würdig [Mon, 24 Jul 2006 14:30:30 +0000 (14:30 +0000)]
added new irn op callbacks for memory operands

17 years agoaddresmode optimizer can now handle scheduled nodes
Christian Würdig [Mon, 24 Jul 2006 14:29:48 +0000 (14:29 +0000)]
addresmode optimizer can now handle scheduled nodes

17 years agoadded memory operand support
Christian Würdig [Mon, 24 Jul 2006 14:29:25 +0000 (14:29 +0000)]
added memory operand support
removed unused function

17 years agoIncSP optimizer re-activated
Christian Würdig [Sun, 23 Jul 2006 12:03:44 +0000 (12:03 +0000)]
IncSP optimizer re-activated

17 years agoremoved defines which are in irtools.h now
Christian Würdig [Sun, 23 Jul 2006 11:18:46 +0000 (11:18 +0000)]
removed defines which are in irtools.h now

17 years agoadded comments
Christian Würdig [Sun, 23 Jul 2006 11:18:18 +0000 (11:18 +0000)]
added comments

17 years agoBugFix: Muls cannot have destination addressmode
Christian Würdig [Sat, 22 Jul 2006 23:32:52 +0000 (23:32 +0000)]
BugFix: Muls cannot have destination addressmode

17 years agoprevent 8bit loads from being used as addressmode operands
Christian Würdig [Sat, 22 Jul 2006 23:32:16 +0000 (23:32 +0000)]
prevent 8bit loads from being used as addressmode operands

17 years agofixed string constant dumper (emit \ correct)
Christian Würdig [Sat, 22 Jul 2006 18:00:09 +0000 (18:00 +0000)]
fixed string constant dumper (emit \ correct)

17 years agoset debug information for be_Call
Christian Würdig [Sat, 22 Jul 2006 17:59:49 +0000 (17:59 +0000)]
set debug information for be_Call

17 years agoadded constraints to CopyB
Christian Würdig [Fri, 21 Jul 2006 14:54:40 +0000 (14:54 +0000)]
added constraints to CopyB

17 years agofixed SSE Abs/Not (load const instead of using its address)
Christian Würdig [Fri, 21 Jul 2006 14:54:20 +0000 (14:54 +0000)]
fixed SSE Abs/Not (load const instead of using its address)
add Projs to CopyB for constraints

17 years agoadjusted BACKEND timing
Christian Würdig [Thu, 20 Jul 2006 15:44:49 +0000 (15:44 +0000)]
adjusted BACKEND timing

17 years agofixed check on 0 or 1 Const for Psi (check was broken on SymConsts)
Christian Würdig [Wed, 19 Jul 2006 14:57:41 +0000 (14:57 +0000)]
fixed check on 0 or 1 Const for Psi (check was broken on SymConsts)
fixed LEA DBG statistic call

17 years agofixed regpressure statistic
Christian Würdig [Wed, 19 Jul 2006 14:56:46 +0000 (14:56 +0000)]
fixed regpressure statistic
fixed number of scheduled nodes statistics
slightly adjusted node statistics

17 years agoremoved no longer existent files
Christian Würdig [Mon, 17 Jul 2006 11:04:24 +0000 (11:04 +0000)]
removed no longer existent files

17 years agoremoved include og non-existing header
Christian Würdig [Mon, 17 Jul 2006 09:13:25 +0000 (09:13 +0000)]
removed include og non-existing header

17 years agofixed calculation of inverse operations
Christian Würdig [Mon, 17 Jul 2006 09:12:16 +0000 (09:12 +0000)]
fixed calculation of inverse operations

17 years agofixed SSE compare emit
Christian Würdig [Mon, 17 Jul 2006 09:12:03 +0000 (09:12 +0000)]
fixed SSE compare emit

17 years agowrong params for inverse minus and eor
Adam Szalkowski [Mon, 17 Jul 2006 08:43:24 +0000 (08:43 +0000)]
wrong params for inverse minus and eor

17 years agofurther bug fixes
Adam Szalkowski [Mon, 17 Jul 2006 08:02:31 +0000 (08:02 +0000)]
further bug fixes

17 years agoremoved the old ilp based spiller and the appel spiller (which was never finished...
Adam Szalkowski [Mon, 17 Jul 2006 08:02:02 +0000 (08:02 +0000)]
removed the old ilp based spiller and the appel spiller (which was never finished and probably never will)

17 years agoadded extra compare against NULL to keep gcc happy
Christian Würdig [Sun, 16 Jul 2006 14:23:04 +0000 (14:23 +0000)]
added extra compare against NULL to keep gcc happy
psi transformation constants are now transformed after the psi phase

17 years agochanged conmstants transformation:
Christian Würdig [Sun, 16 Jul 2006 14:21:35 +0000 (14:21 +0000)]
changed conmstants transformation:
  - separated constant placement and reference mode changes
  - place constants now in "optimal" block (smallest user dominator)
removed some unused variables

17 years agoadded seperate pre-transformation phase
Christian Würdig [Sun, 16 Jul 2006 14:19:40 +0000 (14:19 +0000)]
added seperate pre-transformation phase

17 years agominor changes
Adam Szalkowski [Sat, 15 Jul 2006 16:45:38 +0000 (16:45 +0000)]
minor changes

17 years agoloads are a little bit more expensive than reloads because they have a lower probabil...
Adam Szalkowski [Sat, 15 Jul 2006 11:29:08 +0000 (11:29 +0000)]
loads are a little bit more expensive than reloads because they have a lower probability to be in the cache

17 years agofixed emitter for Cmp + Set (use correct mode to determine set suffix)
Christian Würdig [Fri, 14 Jul 2006 09:53:49 +0000 (09:53 +0000)]
fixed emitter for Cmp + Set (use correct mode to determine set suffix)

17 years agobetter name
Matthias Braun [Thu, 13 Jul 2006 14:38:12 +0000 (14:38 +0000)]
better name

17 years agoscripts for automated testing, compiling and reporting
Matthias Braun [Thu, 13 Jul 2006 14:37:19 +0000 (14:37 +0000)]
scripts for automated testing, compiling and reporting

17 years agoonly remat if one operand dies
Adam Szalkowski [Tue, 11 Jul 2006 13:18:20 +0000 (13:18 +0000)]
only remat if one operand dies

17 years agoadapted cost function signature
Sebastian Hack [Tue, 11 Jul 2006 08:16:40 +0000 (08:16 +0000)]
adapted cost function signature

17 years agoAdapted to exec_freq
Sebastian Hack [Tue, 11 Jul 2006 07:59:51 +0000 (07:59 +0000)]
Adapted to exec_freq

17 years agoAdded support for exec freq
Sebastian Hack [Tue, 11 Jul 2006 07:59:34 +0000 (07:59 +0000)]
Added support for exec freq
appel graph dumping

17 years agoAdded/modified exec freq
Sebastian Hack [Tue, 11 Jul 2006 07:59:03 +0000 (07:59 +0000)]
Added/modified exec freq

17 years agoAdapted to changes in exec_freq.h
Sebastian Hack [Tue, 11 Jul 2006 07:58:37 +0000 (07:58 +0000)]
Adapted to changes in exec_freq.h

17 years agoemit correct condition codes for xmm compares
Christian Würdig [Mon, 10 Jul 2006 15:09:23 +0000 (15:09 +0000)]
emit correct condition codes for xmm compares

17 years agofixed am candidate checker (handle special case loops where the load could be depende...
Christian Würdig [Mon, 10 Jul 2006 12:21:35 +0000 (12:21 +0000)]
fixed am candidate checker (handle special case loops where the load could be dependent through memory phi on irn)

17 years agoadded recursion break to descent
Christian Würdig [Mon, 10 Jul 2006 12:20:22 +0000 (12:20 +0000)]
added recursion break to descent

17 years agofixed ll_call.c, removed fehler1.c which was a duplicate of ll_call
Matthias Braun [Sat, 8 Jul 2006 10:37:27 +0000 (10:37 +0000)]
fixed ll_call.c, removed fehler1.c which was a duplicate of ll_call

17 years agofixed more testapps
Matthias Braun [Sat, 8 Jul 2006 10:28:00 +0000 (10:28 +0000)]
fixed more testapps

17 years agofixed some more testapps
Matthias Braun [Sat, 8 Jul 2006 10:06:29 +0000 (10:06 +0000)]
fixed some more testapps

17 years ago- Normalized some more testapps
Matthias Braun [Fri, 7 Jul 2006 14:26:40 +0000 (14:26 +0000)]
- Normalized some more testapps

17 years agoadded ia32_util.[ch]
Christian Würdig [Fri, 7 Jul 2006 14:23:13 +0000 (14:23 +0000)]
added ia32_util.[ch]

17 years agochanged ir_printf call into DBG output
Christian Würdig [Fri, 7 Jul 2006 14:18:28 +0000 (14:18 +0000)]
changed ir_printf call into DBG output

17 years agocommented out unused function
Christian Würdig [Fri, 7 Jul 2006 14:17:57 +0000 (14:17 +0000)]
commented out unused function

17 years ago- Normalized some testprograms so that they have a main function and main
Matthias Braun [Fri, 7 Jul 2006 14:17:34 +0000 (14:17 +0000)]
- Normalized some testprograms so that they have a main function and main
  returns 0 if there was no error while executing it. (This helps with
  automated testing)

17 years agoBugFix: can handle Div/Mod with Memory proj now
Christian Würdig [Fri, 7 Jul 2006 14:08:14 +0000 (14:08 +0000)]
BugFix: can handle Div/Mod with Memory proj now

17 years agoadded new util module
Christian Würdig [Fri, 7 Jul 2006 14:07:22 +0000 (14:07 +0000)]
added new util module
moved some functions to util module

17 years agoRemoved some warnings due to missing const
Michael Beck [Fri, 7 Jul 2006 11:39:19 +0000 (11:39 +0000)]
Removed some warnings due to missing const

17 years agoadded missing include
Christian Würdig [Fri, 7 Jul 2006 11:23:17 +0000 (11:23 +0000)]
added missing include

17 years agoturn bacck source addressmode to fulfill two address code constraints if necessary
Christian Würdig [Fri, 7 Jul 2006 11:22:50 +0000 (11:22 +0000)]
turn bacck source addressmode to fulfill two address code constraints if necessary

17 years agofixed SSE Psi CMov (cannot use AM source)
Christian Würdig [Thu, 6 Jul 2006 15:43:09 +0000 (15:43 +0000)]
fixed SSE Psi CMov (cannot use AM source)

17 years agoremoved function parameter
Christian Würdig [Thu, 6 Jul 2006 14:52:18 +0000 (14:52 +0000)]
removed function parameter

17 years agoremoved some unused variables
Christian Würdig [Thu, 6 Jul 2006 14:47:10 +0000 (14:47 +0000)]
removed some unused variables
free irgs if statistic is not active

17 years agoadded some debug stuff
Christian Würdig [Thu, 6 Jul 2006 14:46:32 +0000 (14:46 +0000)]
added some debug stuff

17 years agofixed call lowering (determine correct call building order)
Christian Würdig [Thu, 6 Jul 2006 14:46:10 +0000 (14:46 +0000)]
fixed call lowering (determine correct call building order)
fixed CRLF

17 years agonew irg finish module
Christian Würdig [Thu, 6 Jul 2006 14:42:41 +0000 (14:42 +0000)]
new irg finish module

17 years agoadded extra finish module
Christian Würdig [Thu, 6 Jul 2006 14:42:25 +0000 (14:42 +0000)]
added extra finish module
moved irg finish functions into this module
fixed indenting

17 years ago- fix problems when phi values where spilled by morgan and belady later tried to...
Matthias Braun [Thu, 6 Jul 2006 14:37:39 +0000 (14:37 +0000)]
- fix problems when phi values where spilled by morgan and belady later tried to spill the whole phi

17 years agoFixed dependence walker to respect Phis
Sebastian Hack [Thu, 6 Jul 2006 13:50:32 +0000 (13:50 +0000)]
Fixed dependence walker to respect Phis

17 years agoMade everything new and bugfree.
Johannes Spallek [Wed, 5 Jul 2006 13:32:39 +0000 (13:32 +0000)]
Made everything new and bugfree.

18 years agoAdded max recursion depth
Adam Szalkowski [Tue, 4 Jul 2006 17:40:14 +0000 (17:40 +0000)]
Added max recursion depth

18 years agofixed load+store generation, handly symconst as base correct
Christian Würdig [Tue, 4 Jul 2006 15:04:16 +0000 (15:04 +0000)]
fixed load+store generation, handly symconst as base correct

18 years agofixed const generation: create const+load for fp symconsts
Christian Würdig [Tue, 4 Jul 2006 15:03:42 +0000 (15:03 +0000)]
fixed const generation: create const+load for fp symconsts

18 years agofixed Set emitter: clear target after compare
Christian Würdig [Tue, 4 Jul 2006 15:02:55 +0000 (15:02 +0000)]
fixed Set emitter: clear target after compare

18 years agodumping execfreqs in pressure graph
Adam Szalkowski [Mon, 3 Jul 2006 20:18:31 +0000 (20:18 +0000)]
dumping execfreqs in pressure graph

18 years agofixed assert condition
Christian Würdig [Mon, 3 Jul 2006 15:22:55 +0000 (15:22 +0000)]
fixed assert condition

18 years agouse the correct mode for DIV
Christian Würdig [Mon, 3 Jul 2006 15:22:42 +0000 (15:22 +0000)]
use the correct mode for DIV

18 years agodo not try to kill compares on AMD architectures
Christian Würdig [Mon, 3 Jul 2006 15:22:01 +0000 (15:22 +0000)]
do not try to kill compares on AMD architectures

18 years agoemit missing OFFSET FLAT for symconsts (otherwise gas would produce a load)
Christian Würdig [Mon, 3 Jul 2006 15:21:28 +0000 (15:21 +0000)]
emit missing OFFSET FLAT for symconsts (otherwise gas would produce a load)

18 years agocopy optimization settings from isa to codegenerator object
Christian Würdig [Mon, 3 Jul 2006 15:20:44 +0000 (15:20 +0000)]
copy optimization settings from isa to codegenerator object

18 years agofixed regalloc timer usage (use only when timing on)
Christian Würdig [Mon, 3 Jul 2006 13:15:38 +0000 (13:15 +0000)]
fixed regalloc timer usage (use only when timing on)

18 years ago- gcd and quicksort retrieve data from commandline, so that you can use them as bench...
Matthias Braun [Mon, 3 Jul 2006 13:03:38 +0000 (13:03 +0000)]
- gcd and quicksort retrieve data from commandline, so that you can use them as benchmarks

18 years agoadded additional timer
Christian Würdig [Mon, 3 Jul 2006 12:53:42 +0000 (12:53 +0000)]
added additional timer

18 years ago- oops
Matthias Braun [Mon, 3 Jul 2006 12:30:45 +0000 (12:30 +0000)]
- oops

18 years ago- placing be_copies is now an extra spill phase (to avoid problems in morgan spiller...
Matthias Braun [Mon, 3 Jul 2006 10:52:56 +0000 (10:52 +0000)]
- placing be_copies is now an extra spill phase (to avoid problems in morgan spiller as instantly placing them will make liveness data invalid)

18 years ago- no phase data needed
Matthias Braun [Mon, 3 Jul 2006 10:48:54 +0000 (10:48 +0000)]
- no phase data needed
- only spill around loops if it is really needed

18 years agoset AM support for MulS correct (None or Source)
Christian Würdig [Mon, 3 Jul 2006 08:53:49 +0000 (08:53 +0000)]
set AM support for MulS correct (None or Source)

18 years agofixed Mulh/MulS emitter (support AM source)
Christian Würdig [Mon, 3 Jul 2006 08:52:04 +0000 (08:52 +0000)]
fixed Mulh/MulS emitter (support AM source)

18 years agoFixed warning
Michael Beck [Sun, 2 Jul 2006 16:31:40 +0000 (16:31 +0000)]
Fixed warning

18 years agoused new timer push/pop
Michael Beck [Sat, 1 Jul 2006 16:30:25 +0000 (16:30 +0000)]
used new timer push/pop
removed code that supress functions with supress inline body: It is not yet guaranteed that all
function can be inlined.

18 years agoBugFix: needed function must be called outside assert() ;-)
Michael Beck [Sat, 1 Jul 2006 16:24:02 +0000 (16:24 +0000)]
BugFix: needed function must be called outside assert() ;-)
 - fix release mode

18 years agoFixed indentation
Michael Beck [Sat, 1 Jul 2006 16:22:55 +0000 (16:22 +0000)]
Fixed indentation

18 years agoKahanSum example
Michael Beck [Sat, 1 Jul 2006 16:21:11 +0000 (16:21 +0000)]
KahanSum example