libfirm
17 years agomake sure to set all preds to Bad for removed nodes
Matthias Braun [Sun, 3 Sep 2006 21:24:42 +0000 (21:24 +0000)]
make sure to set all preds to Bad for removed nodes

17 years agosome code I wrote today. somebody please finish this.
Adam Szalkowski [Sun, 3 Sep 2006 20:02:39 +0000 (20:02 +0000)]
some code I wrote today. somebody please finish this.

17 years agoadded statistics events
Sebastian Hack [Sun, 3 Sep 2006 15:30:29 +0000 (15:30 +0000)]
added statistics events

17 years agoAdded statistics events in several files
Sebastian Hack [Sun, 3 Sep 2006 14:52:12 +0000 (14:52 +0000)]
Added statistics events in several files

17 years agofixed issue when original definition of a node is removed
Adam Szalkowski [Sun, 3 Sep 2006 08:45:07 +0000 (08:45 +0000)]
fixed issue when original definition of a node is removed

17 years agofixed a bug
Adam Szalkowski [Sat, 2 Sep 2006 11:22:26 +0000 (11:22 +0000)]
fixed a bug

17 years agohandling barrier stuff
Adam Szalkowski [Fri, 1 Sep 2006 14:06:56 +0000 (14:06 +0000)]
handling barrier stuff

17 years agopn_Cmp_Ne + pn_Cmp_Uo leads to unknown proj code since Ou is already contained in...
Sebastian Hack [Thu, 31 Aug 2006 17:55:35 +0000 (17:55 +0000)]
pn_Cmp_Ne + pn_Cmp_Uo leads to unknown proj code since Ou is already contained in Ne!!!!!!!!!!!!!

17 years agoadapted to new callback
Christian Würdig [Thu, 31 Aug 2006 15:51:23 +0000 (15:51 +0000)]
adapted to new callback

17 years agoadapted to new callback
Christian Würdig [Thu, 31 Aug 2006 15:51:09 +0000 (15:51 +0000)]
adapted to new callback

17 years agoadapted to new callback
Christian Würdig [Thu, 31 Aug 2006 15:50:53 +0000 (15:50 +0000)]
adapted to new callback

17 years agoadapted to new callback
Christian Würdig [Thu, 31 Aug 2006 15:50:36 +0000 (15:50 +0000)]
adapted to new callback

17 years agofix bad include path
Matthias Braun [Thu, 31 Aug 2006 15:49:47 +0000 (15:49 +0000)]
fix bad include path

17 years agoadded scheduling modules
Christian Würdig [Thu, 31 Aug 2006 15:47:09 +0000 (15:47 +0000)]
added scheduling modules

17 years agobugfix
Matthias Braun [Thu, 31 Aug 2006 15:21:49 +0000 (15:21 +0000)]
bugfix

17 years ago- Refactored finish/after_ra phases a bit, stacknode fixup and stack bias
Matthias Braun [Thu, 31 Aug 2006 14:39:41 +0000 (14:39 +0000)]
- Refactored finish/after_ra phases a bit, stacknode fixup and stack bias
  walking occurs before finish phase now
- changed ia32 to do some things transforms from finish phase in after_ra phase
  already but do peephole optimization in finish phase.
- Added a peephole optimisation that transform IncSP,Store cascades to
  Pushs
- Replaced several HASH_PTR with nodeset_hash to make compiler more
  deterministic.

17 years agoadded -b config=<filename> switch
Sebastian Hack [Thu, 31 Aug 2006 14:35:43 +0000 (14:35 +0000)]
added -b config=<filename> switch
backend options can then be read from arbitrary files

17 years agoRemoved bogus printf
Sebastian Hack [Thu, 31 Aug 2006 14:30:36 +0000 (14:30 +0000)]
Removed bogus printf

17 years agoremoved dynamic load functions if USE_JVM is not set
Michael Beck [Thu, 31 Aug 2006 13:39:44 +0000 (13:39 +0000)]
removed dynamic load functions if USE_JVM is not set

17 years agofixed requirements for ShrD and ShlD
Christian Würdig [Thu, 31 Aug 2006 13:27:42 +0000 (13:27 +0000)]
fixed requirements for ShrD and ShlD

17 years agoupdated
Michael Beck [Thu, 31 Aug 2006 12:35:10 +0000 (12:35 +0000)]
updated

17 years agoadd support for external tls variables
Michael Beck [Thu, 31 Aug 2006 12:34:34 +0000 (12:34 +0000)]
add support for external tls variables

17 years agoAdd support for Linux TLS
Michael Beck [Thu, 31 Aug 2006 12:10:43 +0000 (12:10 +0000)]
Add support for Linux TLS

17 years agosome cosmetic changes
Michael Beck [Thu, 31 Aug 2006 12:10:14 +0000 (12:10 +0000)]
some cosmetic changes
handle be_Copy(Const)

17 years ago- connect function call argument stores to NoMem instead of call Mem
Matthias Braun [Thu, 31 Aug 2006 11:40:15 +0000 (11:40 +0000)]
- connect function call argument stores to NoMem instead of call Mem
- warning fixes

17 years agoOops
Sebastian Hack [Thu, 31 Aug 2006 08:50:03 +0000 (08:50 +0000)]
Oops

17 years agoMore bug fixing
Sebastian Hack [Thu, 31 Aug 2006 08:49:38 +0000 (08:49 +0000)]
More bug fixing

17 years agomode_T nodes can also have dep edges
Sebastian Hack [Thu, 31 Aug 2006 08:49:18 +0000 (08:49 +0000)]
mode_T nodes can also have dep edges
Cosmetic changes

17 years agouse our custom assembler, small fixes
Matthias Braun [Thu, 31 Aug 2006 08:40:15 +0000 (08:40 +0000)]
use our custom assembler, small fixes

17 years agonow hopefully computing number of available registers correctly
Adam Szalkowski [Thu, 31 Aug 2006 08:31:24 +0000 (08:31 +0000)]
now hopefully computing number of available registers correctly

17 years agoles with WITH_LIBCORE disabled again
Michael Beck [Wed, 30 Aug 2006 17:41:47 +0000 (17:41 +0000)]
les with WITH_LIBCORE disabled again

17 years agoBugFix:
Michael Beck [Wed, 30 Aug 2006 17:40:58 +0000 (17:40 +0000)]
BugFix:
 - fixed call to get_irg_estimated_node_cnt()
compiles with WITH_LIBCORE disabled again

17 years agocompiles with WITH_LIBCORE disabled again
Michael Beck [Wed, 30 Aug 2006 17:40:04 +0000 (17:40 +0000)]
compiles with WITH_LIBCORE disabled again

17 years agofix warning
Matthias Braun [Wed, 30 Aug 2006 16:13:40 +0000 (16:13 +0000)]
fix warning

17 years agofix uninitialized chordal_grp
Matthias Braun [Wed, 30 Aug 2006 16:12:13 +0000 (16:12 +0000)]
fix uninitialized chordal_grp

17 years agomore cmov emitter fixes
Matthias Braun [Wed, 30 Aug 2006 13:04:58 +0000 (13:04 +0000)]
more cmov emitter fixes

17 years agoAdd case for symconst_enum_const kind SymConsts
Michael Beck [Wed, 30 Aug 2006 12:35:54 +0000 (12:35 +0000)]
Add case for symconst_enum_const kind SymConsts

17 years agohopefully fixed registerhypertony at bb end
Adam Szalkowski [Wed, 30 Aug 2006 12:27:46 +0000 (12:27 +0000)]
hopefully fixed registerhypertony at bb end

17 years agoHandle symconst_enum_const case
Michael Beck [Wed, 30 Aug 2006 12:23:50 +0000 (12:23 +0000)]
Handle symconst_enum_const case

17 years agobe_Call is now a fragile op (like Call). This allows ProjX from Call nodes to the...
Michael Beck [Wed, 30 Aug 2006 11:11:43 +0000 (11:11 +0000)]
be_Call is now a fragile op (like Call). This allows ProjX from Call nodes to the End node even in backend.

17 years agoadded missing include
Michael Beck [Wed, 30 Aug 2006 09:24:35 +0000 (09:24 +0000)]
added missing include

17 years agoFixed a bug !?
Sebastian Hack [Wed, 30 Aug 2006 08:30:44 +0000 (08:30 +0000)]
Fixed a bug !?

17 years agofixed wrong position of #endif
Christian Würdig [Wed, 30 Aug 2006 08:25:12 +0000 (08:25 +0000)]
fixed wrong position of #endif

17 years agodo not invert pnc on cmp in finish, as cmp gets normalized on creation
Christian Würdig [Wed, 30 Aug 2006 08:23:42 +0000 (08:23 +0000)]
do not invert pnc on cmp in finish, as cmp gets normalized on creation

17 years agocompilerhang 4
Matthias Braun [Wed, 30 Aug 2006 07:45:12 +0000 (07:45 +0000)]
compilerhang 4

17 years agooops
Matthias Braun [Tue, 29 Aug 2006 16:37:28 +0000 (16:37 +0000)]
oops

17 years agofix immediate on left input of Cond
Matthias Braun [Tue, 29 Aug 2006 16:36:29 +0000 (16:36 +0000)]
fix immediate on left input of Cond

17 years agoremove debug message
Matthias Braun [Tue, 29 Aug 2006 14:11:40 +0000 (14:11 +0000)]
remove debug message

17 years agogcc emulating advanced edg wrapper script
Matthias Braun [Tue, 29 Aug 2006 13:46:01 +0000 (13:46 +0000)]
gcc emulating advanced edg wrapper script

17 years agofix fucompp emitter when no register is needed
Matthias Braun [Tue, 29 Aug 2006 13:05:32 +0000 (13:05 +0000)]
fix fucompp emitter when no register is needed

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

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

17 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

17 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

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

17 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

17 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

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

17 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

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

17 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

17 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

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

17 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

17 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

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

17 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

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

17 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

17 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

17 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

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

17 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)

17 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

17 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!)

17 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

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

17 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

17 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 :(

17 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 ...

17 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

17 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)

17 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)

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

17 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

17 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

17 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

17 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

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

17 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 ...

17 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

17 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

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

17 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

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

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

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

17 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

17 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

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