libfirm
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

18 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

18 years agoprint integer tarvals always decimal
Christian Würdig [Fri, 30 Jun 2006 13:28:04 +0000 (13:28 +0000)]
print integer tarvals always decimal

18 years agoBugFix: variable was used before initialized
Christian Würdig [Fri, 30 Jun 2006 13:27:39 +0000 (13:27 +0000)]
BugFix: variable was used before initialized

18 years agomade a local function static
Christian Würdig [Fri, 30 Jun 2006 13:26:52 +0000 (13:26 +0000)]
made a local function static

18 years agoDo NOT emit code for graphs with the supress body flag set
Michael Beck [Fri, 30 Jun 2006 13:03:25 +0000 (13:03 +0000)]
Do NOT emit code for graphs with the supress body flag set

18 years agoBugFix: create_push: sync memories of IncSP and Store
Christian Würdig [Thu, 29 Jun 2006 12:34:44 +0000 (12:34 +0000)]
BugFix: create_push: sync memories of IncSP and Store

18 years agofixed CopyB emitter
Christian Würdig [Thu, 29 Jun 2006 12:04:28 +0000 (12:04 +0000)]
fixed CopyB emitter
fixed CRLF

18 years agofixed perm emitter for XMM registers
Christian Würdig [Thu, 29 Jun 2006 09:53:36 +0000 (09:53 +0000)]
fixed perm emitter for XMM registers

18 years agoadded function for setting spill context
Adam Szalkowski [Wed, 28 Jun 2006 15:22:16 +0000 (15:22 +0000)]
added function for setting spill context

18 years agoadded fuction for setting spill context
Adam Szalkowski [Wed, 28 Jun 2006 15:21:22 +0000 (15:21 +0000)]
added fuction for setting spill context

18 years agofixed options for spill selector
Christian Würdig [Wed, 28 Jun 2006 15:12:29 +0000 (15:12 +0000)]
fixed options for spill selector

18 years agogammlich
Adam Szalkowski [Wed, 28 Jun 2006 14:39:46 +0000 (14:39 +0000)]
gammlich

18 years agocommented out some asserts
Christian Würdig [Wed, 28 Jun 2006 14:36:26 +0000 (14:36 +0000)]
commented out some asserts

18 years agoadded some special cases for addrmode optimizer
Christian Würdig [Wed, 28 Jun 2006 14:35:48 +0000 (14:35 +0000)]
added some special cases for addrmode optimizer

18 years agoadded missing "call" statement
Christian Würdig [Wed, 28 Jun 2006 14:35:25 +0000 (14:35 +0000)]
added missing "call" statement
fixed indent

18 years agohm, I'm quite happy with this
Adam Szalkowski [Wed, 28 Jun 2006 11:32:39 +0000 (11:32 +0000)]
hm, I'm quite happy with this

18 years agoPerhaps some things work better when the first node has the time step 0
Sebastian Hack [Tue, 27 Jun 2006 13:34:45 +0000 (13:34 +0000)]
Perhaps some things work better when the first node has the time step 0

18 years agoAdded a view initializations
Johannes Spallek [Tue, 27 Jun 2006 11:32:55 +0000 (11:32 +0000)]
Added a view initializations

18 years agovalues may die at every use
Adam Szalkowski [Tue, 27 Jun 2006 11:24:31 +0000 (11:24 +0000)]
values may die at every use

18 years agoChanged the use of list_map to an array to allow nested iteration over the nodes...
Johannes Spallek [Mon, 26 Jun 2006 15:49:18 +0000 (15:49 +0000)]
Changed the use of list_map to an array to allow nested iteration over the nodes of the ifg.

18 years agoMoved the bitsets to the iterator-structs to allow nested iterations about all neighb...
Johannes Spallek [Mon, 26 Jun 2006 13:43:29 +0000 (13:43 +0000)]
Moved the bitsets to the iterator-structs to allow nested iterations about all neighbours.

18 years agoAdded be_ifg_check_sorted_to_file().
Johannes Spallek [Mon, 26 Jun 2006 13:35:10 +0000 (13:35 +0000)]
Added be_ifg_check_sorted_to_file().

18 years ago* Added more debug output for interfering values during the checker
Johannes Spallek [Mon, 26 Jun 2006 13:34:07 +0000 (13:34 +0000)]
* Added more debug output for interfering values during the checker
* Changed default value for copymin_heur zu co2
* Added more check functions for the ifg

18 years agoMoved the bitsets to the iterator-structs to allow nested iterations about all neighb...
Johannes Spallek [Mon, 26 Jun 2006 13:30:26 +0000 (13:30 +0000)]
Moved the bitsets to the iterator-structs to allow nested iterations about all neighbours.

18 years agofixed compare with symconsts
Christian Würdig [Mon, 26 Jun 2006 13:26:30 +0000 (13:26 +0000)]
fixed compare with symconsts

18 years agoadded phase: remove unused loads and all unnecessary operations from schedule
Christian Würdig [Mon, 26 Jun 2006 13:25:58 +0000 (13:25 +0000)]
added phase: remove unused loads and all unnecessary operations from schedule
fixed indent

18 years agofixed handling of unused load results
Christian Würdig [Fri, 23 Jun 2006 10:39:17 +0000 (10:39 +0000)]
fixed handling of unused load results
fixed indents
respect dump flag settings

18 years agoadded function to retrieve number of reachable nodes in an irg
Christian Würdig [Fri, 23 Jun 2006 10:37:32 +0000 (10:37 +0000)]
added function to retrieve number of reachable nodes in an irg

18 years agorespect chordal settings for dumping
Christian Würdig [Fri, 23 Jun 2006 10:37:11 +0000 (10:37 +0000)]
respect chordal settings for dumping

18 years agochanged to_appear_in_schedule: 1 - yes, 0 - no, -1 - don't know
Christian Würdig [Fri, 23 Jun 2006 10:36:24 +0000 (10:36 +0000)]
changed to_appear_in_schedule: 1 - yes, 0 - no, -1 - don't know

18 years agoadded backend timing facility
Christian Würdig [Fri, 23 Jun 2006 10:35:37 +0000 (10:35 +0000)]
added backend timing facility
register allocator returns now struct with times of single phases

18 years agomoved some macros from bemain to here
Christian Würdig [Fri, 23 Jun 2006 10:34:44 +0000 (10:34 +0000)]
moved some macros from bemain to here
fixed indents

18 years agoadded timer convenience macro
Christian Würdig [Fri, 23 Jun 2006 10:34:13 +0000 (10:34 +0000)]
added timer convenience macro

18 years agoFixed a memory leak
Sebastian Hack [Thu, 22 Jun 2006 13:19:52 +0000 (13:19 +0000)]
Fixed a memory leak

18 years agomake sure a '\0' is at the end of an snprintf'ed string
Michael Beck [Wed, 21 Jun 2006 17:50:45 +0000 (17:50 +0000)]
make sure a '\0' is at the end of an snprintf'ed string
typo fixed

18 years agosimple TLS example
Michael Beck [Wed, 21 Jun 2006 17:48:59 +0000 (17:48 +0000)]
simple TLS example

18 years agoupdated for gcc version
Michael Beck [Wed, 21 Jun 2006 17:47:40 +0000 (17:47 +0000)]
updated for gcc version

18 years agomake sure a '\0' is at the end of an snprintf'ed string
Michael Beck [Wed, 21 Jun 2006 17:46:15 +0000 (17:46 +0000)]
make sure a '\0' is at the end of an snprintf'ed string

18 years agoWe might have Phi-Arguments that should not be consider in register allocation (like...
Matthias Braun [Wed, 21 Jun 2006 12:03:14 +0000 (12:03 +0000)]
We might have Phi-Arguments that should not be consider in register allocation (like unknwons), don't try to place reloads for them

18 years agoChanged the #ifdef __linux__ parts to the use of the lc_get_heap_used_bytes() function.
Johannes Spallek [Wed, 21 Jun 2006 11:55:22 +0000 (11:55 +0000)]
Changed the #ifdef __linux__ parts to the use of the lc_get_heap_used_bytes() function.

18 years agodump graph only if requested for chordal allocator
Christian Würdig [Wed, 21 Jun 2006 09:17:38 +0000 (09:17 +0000)]
dump graph only if requested for chordal allocator

18 years agoFixed a bug in node iterator
Sebastian Hack [Tue, 20 Jun 2006 12:16:51 +0000 (12:16 +0000)]
Fixed a bug in node iterator

18 years agoseems to work again and yields better objvals
Adam Szalkowski [Mon, 19 Jun 2006 11:25:06 +0000 (11:25 +0000)]
seems to work again and yields better objvals

18 years agoseems to spill again a bit
Adam Szalkowski [Sun, 18 Jun 2006 21:39:24 +0000 (21:39 +0000)]
seems to spill again a bit

18 years agomemcopies/interference stuff now in ILP
Adam Szalkowski [Sat, 17 Jun 2006 15:55:55 +0000 (15:55 +0000)]
memcopies/interference stuff now in ILP

18 years agoAdded include of malloc.h under __linux__
Johannes Spallek [Fri, 16 Jun 2006 10:36:50 +0000 (10:36 +0000)]
Added include of malloc.h under __linux__

18 years agoCommented check_ifg_implementations to provide functionality
Johannes Spallek [Fri, 16 Jun 2006 10:33:55 +0000 (10:33 +0000)]
Commented check_ifg_implementations to provide functionality

18 years agoChanged output of be_ifg_check_sorted back to console
Johannes Spallek [Fri, 16 Jun 2006 10:20:57 +0000 (10:20 +0000)]
Changed output of be_ifg_check_sorted back to console

18 years ago* Changed Output of be_ifg_check_sorted back to console
Johannes Spallek [Fri, 16 Jun 2006 10:20:28 +0000 (10:20 +0000)]
* Changed Output of be_ifg_check_sorted back to console
* Added function to check if an ir_node of the ifg is also in the current irg
  (in be_ifg_check_sorted)
* Changed ifdefs linux to ifdefs __linux__

18 years agoAdded bitset_free functions.
Johannes Spallek [Fri, 16 Jun 2006 10:04:08 +0000 (10:04 +0000)]
Added bitset_free functions.

18 years agoadded pointer to the chordal_env the ifg belongs to
Johannes Spallek [Fri, 16 Jun 2006 10:02:05 +0000 (10:02 +0000)]
added pointer to the chordal_env the ifg belongs to

18 years agohopefully fixed a bug which caused too high register pressure when inserting remat2s
Adam Szalkowski [Thu, 15 Jun 2006 09:41:26 +0000 (09:41 +0000)]
hopefully fixed a bug which caused too high register pressure when inserting remat2s

18 years agoadded test for valist
Michael Beck [Wed, 14 Jun 2006 16:09:48 +0000 (16:09 +0000)]
added test for valist

18 years agospeed up the FrameAddr attribute compare function
Michael Beck [Wed, 14 Jun 2006 15:19:06 +0000 (15:19 +0000)]
speed up the FrameAddr attribute compare function

18 years agobe_FrameAddr can now be CSE'd
Michael Beck [Wed, 14 Jun 2006 15:12:38 +0000 (15:12 +0000)]
be_FrameAddr can now be CSE'd

18 years agoAdd code to handle parameters that using the value_base but are transmitted
Michael Beck [Wed, 14 Jun 2006 15:05:32 +0000 (15:05 +0000)]
Add code to handle parameters that using the value_base but are transmitted
in registers. For these backing stores are added.
Note that some architecture requiere additional code to place the backing store to the right place.