libfirm
18 years agoAdded schedulers
Sebastian Hack [Tue, 29 Aug 2006 12:51:39 +0000 (12:51 +0000)]
Added schedulers

18 years agofixed backend callback
Christian Würdig [Tue, 29 Aug 2006 12:11:30 +0000 (12:11 +0000)]
fixed backend callback

18 years agoadapted to new get list selector callback
Christian Würdig [Tue, 29 Aug 2006 12:02:41 +0000 (12:02 +0000)]
adapted to new get list selector callback

18 years agoadapted create_Push to new IncSP
Christian Würdig [Tue, 29 Aug 2006 12:02:24 +0000 (12:02 +0000)]
adapted create_Push to new IncSP
removed code for create_Pop: need to be reimplemented

18 years agochanged some options
Christian Würdig [Tue, 29 Aug 2006 12:00:58 +0000 (12:00 +0000)]
changed some options

18 years agomoved selector implementations into separate modules
Christian Würdig [Tue, 29 Aug 2006 11:59:49 +0000 (11:59 +0000)]
moved selector implementations into separate modules
added some needed callbacks

18 years agolist sched selector callback takes one more argument
Christian Würdig [Tue, 29 Aug 2006 11:58:54 +0000 (11:58 +0000)]
list sched selector callback takes one more argument

18 years agoadded new option defines
Christian Würdig [Tue, 29 Aug 2006 11:56:51 +0000 (11:56 +0000)]
added new option defines

18 years agoadded different scheduling node selector modules
Christian Würdig [Tue, 29 Aug 2006 11:55:46 +0000 (11:55 +0000)]
added different scheduling node selector modules

18 years agoAdded setDebug() to heur 3
Sebastian Hack [Tue, 29 Aug 2006 09:35:12 +0000 (09:35 +0000)]
Added setDebug() to heur 3

18 years agosome misc scripts that I used to play around with the backend
Matthias Braun [Tue, 29 Aug 2006 09:06:20 +0000 (09:06 +0000)]
some misc scripts that I used to play around with the backend

18 years agoKeep alive the call proj
Sebastian Hack [Tue, 29 Aug 2006 08:27:26 +0000 (08:27 +0000)]
Keep alive the call proj
Earlier, that Proj was used by the IncSP
now, there is only a dependency edge

18 years agonegate pnc not invert it
Matthias Braun [Mon, 28 Aug 2006 14:38:03 +0000 (14:38 +0000)]
negate pnc not invert it

18 years agoSeveral bug fixes
Sebastian Hack [Mon, 28 Aug 2006 13:48:01 +0000 (13:48 +0000)]
Several bug fixes
Adapted to the new dependency edges

18 years agotranslate proj pos for Leave
Christian Würdig [Mon, 28 Aug 2006 13:41:50 +0000 (13:41 +0000)]
translate proj pos for Leave

18 years agofix wrong inputs for psiconds
Matthias Braun [Mon, 28 Aug 2006 13:29:12 +0000 (13:29 +0000)]
fix wrong inputs for psiconds

18 years agoPsiCondCMov doesn't need constraint copy
Christian Würdig [Mon, 28 Aug 2006 13:06:31 +0000 (13:06 +0000)]
PsiCondCMov doesn't need constraint copy

18 years agoask abi about ignore regs
Matthias Braun [Mon, 28 Aug 2006 12:21:55 +0000 (12:21 +0000)]
ask abi about ignore regs

18 years agofix wrong sorting of affinity edges
Matthias Braun [Mon, 28 Aug 2006 11:55:07 +0000 (11:55 +0000)]
fix wrong sorting of affinity edges

18 years agowe NEED to insert reloads at the end of a basic block! reverted to old version
Adam Szalkowski [Mon, 28 Aug 2006 10:01:21 +0000 (10:01 +0000)]
we NEED to insert reloads at the end of a basic block! reverted to old version

18 years agorevert commit that placed consts in startblock, the old code did an equally good...
Matthias Braun [Mon, 28 Aug 2006 08:24:52 +0000 (08:24 +0000)]
revert commit that placed consts in startblock, the old code did an equally good job (though a bit slower) and avoided placing consts into the prologe

18 years agokeine Ahnung
Adam Szalkowski [Mon, 28 Aug 2006 07:49:24 +0000 (07:49 +0000)]
keine Ahnung

18 years ago- Simply place Constants into the start block, spilling+remat will take care
Matthias Braun [Sun, 27 Aug 2006 18:44:13 +0000 (18:44 +0000)]
- Simply place Constants into the start block, spilling+remat will take care
  of a mort smart placement
- (Also forgot to mention in my last committ that I fixed a bug that sometimes
  produced double spills in the morgan spiller)

18 years ago- Fix perform_memop stuff in bechordal_main after adams gammlig commit
Matthias Braun [Sun, 27 Aug 2006 18:25:07 +0000 (18:25 +0000)]
- Fix perform_memop stuff in bechordal_main after adams gammlig commit
- Cleanup remat code a little bit
- Adjust remat cost limit to new costs in ia32 backend
- Don't spill unused livethroughs around blocks anymore in bespill_morgan
  (but only around loops), this makes the code faster smaller and the results
  slightly better as belady performs better for basic blocks

18 years agoget frame from irg instead from spill (the spill could be a PhiM!)
Adam Szalkowski [Sat, 26 Aug 2006 08:04:53 +0000 (08:04 +0000)]
get frame from irg instead from spill (the spill could be a PhiM!)

18 years agoperform_memory operand now takes a spill instead of a reload
Adam Szalkowski [Sat, 26 Aug 2006 07:27:21 +0000 (07:27 +0000)]
perform_memory operand now takes a spill instead of a reload

18 years agofixed be_Call handling
Christian Würdig [Fri, 25 Aug 2006 14:43:49 +0000 (14:43 +0000)]
fixed be_Call handling

18 years agoadded additional latencies for Load/Store
Christian Würdig [Fri, 25 Aug 2006 14:43:12 +0000 (14:43 +0000)]
added additional latencies for Load/Store

18 years agoscheint jetzt etwas gammlich zu sein :(
Adam Szalkowski [Fri, 25 Aug 2006 14:03:32 +0000 (14:03 +0000)]
scheint jetzt etwas gammlich zu sein :(

18 years agoBugFix:
Michael Beck [Fri, 25 Aug 2006 12:56:48 +0000 (12:56 +0000)]
BugFix:
 - Constants for SSE minus and ABS must be of mode Iu and Lu instead od F and D ...

18 years agoset links properly for OLD and NEW results
Christian Würdig [Fri, 25 Aug 2006 11:46:55 +0000 (11:46 +0000)]
set links properly for OLD and NEW results

18 years agoremoved bechordalspill.c (does not longer exist)
Christian Würdig [Fri, 25 Aug 2006 10:23:18 +0000 (10:23 +0000)]
removed bechordalspill.c (does not longer exist)

18 years agoBugfix:
Michael Beck [Fri, 25 Aug 2006 09:18:45 +0000 (09:18 +0000)]
Bugfix:
 - x87_fpop now has NO argument (ra verifier fails otherwise due to wrong
   live time)

18 years agodo not schedule phi_M
Adam Szalkowski [Thu, 24 Aug 2006 17:04:03 +0000 (17:04 +0000)]
do not schedule phi_M

18 years agoBugFix:
Michael Beck [Thu, 24 Aug 2006 16:27:47 +0000 (16:27 +0000)]
BugFix:
 - fcom set the wrong register

Added support for floating point Perm
Added preliminary suport for the "unknown reg" to be_Copy

18 years agoBugFix:
Michael Beck [Thu, 24 Aug 2006 16:26:21 +0000 (16:26 +0000)]
BugFix:
 - emitting fcom instructions completely broken
 - added support for floating point Perm

18 years ago- New callback to ask nodes about constant stack pointer adjustment
Matthias Braun [Thu, 24 Aug 2006 15:14:01 +0000 (15:14 +0000)]
- New callback to ask nodes about constant stack pointer adjustment
- Make ia32_Push and ia32_Pop return their stackpointer adjustment
- replaced stack_dir enum + unsigned offsets with normal integer offsets
- make schedule verifier detect dead nodes in schedule

18 years agoadded links for results and diff
Christian Würdig [Thu, 24 Aug 2006 13:19:24 +0000 (13:19 +0000)]
added links for results and diff

18 years agofixed INLINE macro
Michael Beck [Thu, 24 Aug 2006 12:11:57 +0000 (12:11 +0000)]
fixed INLINE macro

18 years agoFixed liveness calculation: we need the live arguments, not registers ...
Michael Beck [Thu, 24 Aug 2006 10:48:16 +0000 (10:48 +0000)]
Fixed liveness calculation: we need the live arguments, not registers ...

18 years agofixed debug output of unary x87 nodes
Michael Beck [Thu, 24 Aug 2006 10:47:25 +0000 (10:47 +0000)]
fixed debug output of unary x87 nodes

18 years agospill slots are handled by matze
Adam Szalkowski [Thu, 24 Aug 2006 09:10:11 +0000 (09:10 +0000)]
spill slots are handled by matze

18 years agoold code
Matthias Braun [Wed, 23 Aug 2006 19:26:45 +0000 (19:26 +0000)]
old code

18 years ago- Fix a few warnings
Matthias Braun [Wed, 23 Aug 2006 18:57:03 +0000 (18:57 +0000)]
- Fix a few warnings
- Transform #define nodeset functions to typesafe inline functions

18 years agoscheint nun fluffig zu sein
Adam Szalkowski [Wed, 23 Aug 2006 15:40:22 +0000 (15:40 +0000)]
scheint nun fluffig zu sein

18 years agomake testapp look nicer
Matthias Braun [Tue, 22 Aug 2006 09:03:10 +0000 (09:03 +0000)]
make testapp look nicer

18 years agobugfix for preds: comment
Matthias Braun [Tue, 22 Aug 2006 06:55:35 +0000 (06:55 +0000)]
bugfix for preds: comment

18 years ago- More verification checks before code emit
Matthias Braun [Tue, 22 Aug 2006 06:46:57 +0000 (06:46 +0000)]
- More verification checks before code emit
- Respect vrfy option

18 years ago- at blockstart emit list of predblocks in comment
Matthias Braun [Tue, 22 Aug 2006 06:08:41 +0000 (06:08 +0000)]
- at blockstart emit list of predblocks in comment
- when turning adressmode nodes back to normal nodes, set base and index input
  to NoReg

18 years agomissing return 0s
Matthias Braun [Tue, 22 Aug 2006 06:06:43 +0000 (06:06 +0000)]
missing return 0s

18 years agobugs weggeflufft
Adam Szalkowski [Mon, 21 Aug 2006 16:42:28 +0000 (16:42 +0000)]
bugs weggeflufft

18 years agosome minor changes
Christian Würdig [Mon, 21 Aug 2006 15:12:44 +0000 (15:12 +0000)]
some minor changes

18 years agoadded return 0 to keep makereport happy
Christian Würdig [Mon, 21 Aug 2006 15:12:15 +0000 (15:12 +0000)]
added return 0 to keep makereport happy

18 years agoslight bugfix
Christian Würdig [Mon, 21 Aug 2006 14:26:08 +0000 (14:26 +0000)]
slight bugfix

18 years agocall xsltproc to create html
Christian Würdig [Mon, 21 Aug 2006 14:25:01 +0000 (14:25 +0000)]
call xsltproc to create html

18 years agoadded variables to set timeout for compile and running time
Christian Würdig [Mon, 21 Aug 2006 13:58:40 +0000 (13:58 +0000)]
added variables to set timeout for compile and running time

18 years agomoved backend init call after processing calls
Christian Würdig [Mon, 21 Aug 2006 13:02:55 +0000 (13:02 +0000)]
moved backend init call after processing calls

18 years agofixed some indent
Christian Würdig [Mon, 21 Aug 2006 13:01:42 +0000 (13:01 +0000)]
fixed some indent

18 years agofixed am again
Christian Würdig [Mon, 21 Aug 2006 09:27:04 +0000 (09:27 +0000)]
fixed am again

18 years agofixed lea shift consuming
Christian Würdig [Fri, 18 Aug 2006 15:23:44 +0000 (15:23 +0000)]
fixed lea shift consuming

18 years agoextended test
Christian Würdig [Fri, 18 Aug 2006 14:44:11 +0000 (14:44 +0000)]
extended test

18 years agoanother long long test
Christian Würdig [Fri, 18 Aug 2006 14:14:00 +0000 (14:14 +0000)]
another long long test

18 years agorun in loop
Christian Würdig [Fri, 18 Aug 2006 14:12:29 +0000 (14:12 +0000)]
run in loop

18 years agoiterative fibonacci
Christian Würdig [Fri, 18 Aug 2006 14:11:03 +0000 (14:11 +0000)]
iterative fibonacci

18 years agoanother floating point conv test
Christian Würdig [Fri, 18 Aug 2006 14:09:32 +0000 (14:09 +0000)]
another floating point conv test

18 years agoand another conv test
Christian Würdig [Fri, 18 Aug 2006 14:07:53 +0000 (14:07 +0000)]
and another conv test

18 years agoBugFix: collect_stacknodes collected mode_T and mode_M nodes
Christian Würdig [Fri, 18 Aug 2006 13:40:15 +0000 (13:40 +0000)]
BugFix: collect_stacknodes collected mode_T and mode_M nodes

18 years agofixed indent
Christian Würdig [Fri, 18 Aug 2006 12:58:33 +0000 (12:58 +0000)]
fixed indent

18 years agoBugFix: remove values which are dead for sure from workset (especially don't spill...
Christian Würdig [Fri, 18 Aug 2006 12:58:18 +0000 (12:58 +0000)]
BugFix: remove values which are dead for sure from workset (especially don't spill ones)
added macro to get workset entry time
fixed comments
fixed indents

18 years agofixed typo
Christian Würdig [Fri, 18 Aug 2006 12:55:41 +0000 (12:55 +0000)]
fixed typo
added verification: check for don't spill flag when creating spill

18 years agois_scheduled flag is now unsigned
Christian Würdig [Fri, 18 Aug 2006 12:54:48 +0000 (12:54 +0000)]
is_scheduled flag is now unsigned

18 years agoBugFix: set commutative flag for some node generated in gen_Psi
Christian Würdig [Fri, 18 Aug 2006 12:54:13 +0000 (12:54 +0000)]
BugFix: set commutative flag for some node generated in gen_Psi

18 years agoadded support for unordered fp compare
Christian Würdig [Fri, 18 Aug 2006 12:53:27 +0000 (12:53 +0000)]
added support for unordered fp compare

18 years agominor fixes
Adam Szalkowski [Thu, 17 Aug 2006 12:38:05 +0000 (12:38 +0000)]
minor fixes

18 years agoadded code to avoid unordered fp compares
Christian Würdig [Thu, 17 Aug 2006 10:49:44 +0000 (10:49 +0000)]
added code to avoid unordered fp compares

18 years agochanged optiona values for sched selector
Christian Würdig [Thu, 17 Aug 2006 10:48:08 +0000 (10:48 +0000)]
changed optiona values for sched selector
fixed CRLF

18 years agoadjusted heuristic node selector
Christian Würdig [Thu, 17 Aug 2006 10:47:37 +0000 (10:47 +0000)]
adjusted heuristic node selector
fixed CRLF

18 years agoBugFix:
Michael Beck [Wed, 16 Aug 2006 13:30:29 +0000 (13:30 +0000)]
BugFix:
 - cached liveness information now for any node BEFORE patching the graph:
   this fixes the problem that the liveness is wrong after predecessors
   of Phi nodes are patched tp fxch and fpush and should speed up the
   simulator because the complexity lowers from O(n^2) to O(n)
 - fixed wrong cases for reverse operations ... again

18 years agoBugFix:
Michael Beck [Wed, 16 Aug 2006 13:27:59 +0000 (13:27 +0000)]
BugFix:
 - fixed debug output for x87 floating point nodes (uncritical)

18 years agoadded some new backend options
Christian Würdig [Tue, 15 Aug 2006 16:16:54 +0000 (16:16 +0000)]
added some new backend options
fixed debugging in list scheduler

18 years agofixed constraint for SubC
Christian Würdig [Tue, 15 Aug 2006 16:15:19 +0000 (16:15 +0000)]
fixed constraint for SubC

18 years agoBugFix:
Michael Beck [Tue, 15 Aug 2006 16:00:43 +0000 (16:00 +0000)]
BugFix:
 - removed the kludge double push hack
 - some minor bugs fixed

18 years agoimproved verifier: shows now all nodes using the same register
Michael Beck [Tue, 15 Aug 2006 15:59:12 +0000 (15:59 +0000)]
improved verifier: shows now all nodes using the same register

18 years agoadapted to some new backend structures
Christian Würdig [Tue, 15 Aug 2006 15:08:01 +0000 (15:08 +0000)]
adapted to some new backend structures

18 years agoadapted to new irn init function
Christian Würdig [Tue, 15 Aug 2006 15:02:16 +0000 (15:02 +0000)]
adapted to new irn init function

18 years agoadded heuristic selection from mueller diss
Christian Würdig [Tue, 15 Aug 2006 14:20:50 +0000 (14:20 +0000)]
added heuristic selection from mueller diss

18 years agofixed indent
Christian Würdig [Tue, 15 Aug 2006 14:20:33 +0000 (14:20 +0000)]
fixed indent

18 years agoadded function to retrieve irn ops
Christian Würdig [Tue, 15 Aug 2006 14:19:47 +0000 (14:19 +0000)]
added function to retrieve irn ops

18 years agofixed typo
Christian Würdig [Tue, 15 Aug 2006 14:19:12 +0000 (14:19 +0000)]
fixed typo

18 years agofixed PsiF
Christian Würdig [Tue, 15 Aug 2006 14:18:41 +0000 (14:18 +0000)]
fixed PsiF

18 years agoadded latency
Christian Würdig [Tue, 15 Aug 2006 13:50:18 +0000 (13:50 +0000)]
added latency

18 years agoadded latency attribute
Christian Würdig [Tue, 15 Aug 2006 13:50:02 +0000 (13:50 +0000)]
added latency attribute

18 years agofixed xCmp emitter
Christian Würdig [Tue, 15 Aug 2006 13:49:38 +0000 (13:49 +0000)]
fixed xCmp emitter

18 years agoadded instruction latency
Christian Würdig [Tue, 15 Aug 2006 13:49:11 +0000 (13:49 +0000)]
added instruction latency

18 years agocorrect fix
Matthias Braun [Mon, 14 Aug 2006 14:52:48 +0000 (14:52 +0000)]
correct fix

18 years agoAdded set containing Conv nodes to be killed
Christian Würdig [Mon, 14 Aug 2006 14:38:54 +0000 (14:38 +0000)]
Added set containing Conv nodes to be killed

18 years agocreate all convs, remember those to be killed and kill them after transformation...
Christian Würdig [Mon, 14 Aug 2006 14:15:20 +0000 (14:15 +0000)]
create all convs, remember those to be killed and kill them after transformation (to preserve modes during transformation)

18 years agomore compilerhangs
Matthias Braun [Mon, 14 Aug 2006 12:31:33 +0000 (12:31 +0000)]
more compilerhangs

18 years agofix for looping memphis
Matthias Braun [Mon, 14 Aug 2006 12:18:23 +0000 (12:18 +0000)]
fix for looping memphis

18 years agoAdding copies for arguments that occur multiple times constrained
Sebastian Hack [Mon, 14 Aug 2006 12:01:34 +0000 (12:01 +0000)]
Adding copies for arguments that occur multiple times constrained